Search found 98 matches

by aliakhavan89
Mon Oct 02, 2023 2:34 pm
Forum: Vensim
Topic: Compile Errors on macOS
Replies: 26
Views: 20409

Re: Compile Errors on macOS

It worked for me after deleting the old mdl.c and dylib I had in that folder.
by aliakhavan89
Fri Sep 29, 2023 3:20 pm
Forum: Vensim
Topic: Compile Errors on macOS
Replies: 26
Views: 20409

Re: Compile Errors on macOS

I thought I was clear before. After creating the dylib, I return to Vensim, and the simulation or optimization goes through much faster without any errors. Can you help me understand why this is the case?
by aliakhavan89
Fri Sep 29, 2023 1:43 pm
Forum: Vensim
Topic: Compile Errors on macOS
Replies: 26
Views: 20409

Re: Compile Errors on macOS

Could it be that I am running a dylib that I compiled myself (on the same machine that I have the Vensim)? It seems that we cannot distribute dylib files at all (like the issues with Vensim DLL), but we can run the ones we compiled ourselves.
by aliakhavan89
Fri Sep 29, 2023 1:25 pm
Forum: Vensim
Topic: Compile Errors on macOS
Replies: 26
Views: 20409

Re: Compile Errors on macOS

Thank you very much, Travis! The dylib file that I have in the comp folder is named lib_simdp_x64.  Let me share the steps I take: 1. Move the Vensim model (model.mdl) to the comp folder. 2. Run (with the compile option turned on) the model in Vensim until you get the error that says 'Failed to Comp...
by aliakhavan89
Fri Sep 29, 2023 2:44 am
Forum: Vensim
Topic: Compile Errors on macOS
Replies: 26
Views: 20409

Re: Compile Errors on macOS

Would you please clarify what you mean by "Getting it to work in Vensim without a valid Ventana digital signature is the problem?" When I compile a model through Terminal, I can run it and optimize it without errors on Vensim (the Compile settings are on). Do you mean the runs I get are ju...
by aliakhavan89
Wed Sep 27, 2023 6:21 pm
Forum: Vensim
Topic: Compile Errors on macOS
Replies: 26
Views: 20409

Re: Compile Errors on macOS

Has anything changed with Vensim 10 or macOS? After a year of posting this, I can compile models on Mac without going through the digital signature. I have installed several applications for other projects, such as Xcode and Command Line Tool, and I am on macOS Sonoma. Also, I have run the mdldp.mac...
by aliakhavan89
Mon Jul 17, 2023 10:00 am
Forum: Vensim
Topic: Vensim 10 Compile Error on Windows
Replies: 8
Views: 601

Re: Vensim 10 Compile Error on Windows

To clarify, the (potential) problematic path was: \\Mac\Home\Desktop\Model (without any permission issues). I have never put the model in C:\windows.

There might be a problem with how the first path is handled by Vensim or the complier since it is not a Windows-friendly path.
by aliakhavan89
Mon Jul 17, 2023 9:44 am
Forum: Vensim
Topic: Vensim 10 Compile Error on Windows
Replies: 8
Views: 601

Re: Vensim 10 Compile Error on Windows

Ah. I am using a virtual machine, and apparently I had a problem with the model stored on my macOS desktop. When I moved it to the local windows drive, it worked.

This was the original path: \\Mac\Home\Desktop\Model

This is the new path: C:\Users\[folder]\Model

It was unusual, but thank you.
by aliakhavan89
Mon Jul 17, 2023 9:19 am
Forum: Vensim
Topic: Vensim 10 Compile Error on Windows
Replies: 8
Views: 601

Re: Vensim 10 Compile Error on Windows

Also, mdl.c is fully generated and replaced each time I compile. In addition, I tried deleting mdl.c and mdl.obj but it didn't help. I haven't tried putting everything (the vensim model, mdl.c, etc.) in the COMP folder thou.
by aliakhavan89
Mon Jul 17, 2023 9:17 am
Forum: Vensim
Topic: Vensim 10 Compile Error on Windows
Replies: 8
Views: 601

Re: Vensim 10 Compile Error on Windows

Same error I wrote here. I mentioned I used the new COMP files. The path to Visual Studio is also correct.
by aliakhavan89
Mon Jul 17, 2023 8:37 am
Forum: Vensim
Topic: Vensim 10 Compile Error on Windows
Replies: 8
Views: 601

Vensim 10 Compile Error on Windows

After installing Vensim 10, I get errors (c1: fatal error c1083: Cannot open source file: 'mdl.c': No such file or directory || Unable to compile - failed to set paths. Check the paths in mdldp.bat in vensim\comp) when I want to compile. I replaced the settings according to the installation instruct...
by aliakhavan89
Tue May 16, 2023 8:13 am
Forum: Vensim
Topic: Convert .mdl to an image file (Mac)
Replies: 8
Views: 1739

Re: Convert .mdl to an image file (Mac)

I'm not sure how much it would be different, but I use Print PDF in Vensim (mac) and import the pdf file into PowerPoint or Word. This way, the variables' names are selectable in the final product after converting the Word file into a pdf.
by aliakhavan89
Wed Mar 29, 2023 10:06 pm
Forum: Vensim
Topic: Fractional error?
Replies: 10
Views: 2600

Re: Fractional error?

Yes, it can be a sensitive formulation (unfortunately, I am unsure if I can share the model, as it is part of a larger project). I wanted to use a shortcut to calculate the percentage change from the baseline. That is how I realized the imported baseline dataset (captured from exporting the simulati...
by aliakhavan89
Wed Mar 29, 2023 7:45 am
Forum: Vensim
Topic: Fractional error?
Replies: 10
Views: 2600

Re: Fractional error?

Right. I have attached the zip to this post and already posted instructions to replicate the issue.
by aliakhavan89
Tue Mar 28, 2023 6:46 pm
Forum: Vensim
Topic: Fractional error?
Replies: 10
Views: 2600

Re: Fractional error?

Could you please test it with the structure I posted here? A test excel file and a test Vensim model would work. I used 313.33060002299600 as data input. Please let me know if it does not work, so I will send the exact files I have used to make this example.
1.jpg
1.jpg (718.12 KiB) Viewed 1901 times
2.jpg
2.jpg (719.07 KiB) Viewed 1901 times
by aliakhavan89
Thu Mar 16, 2023 12:23 pm
Forum: Vensim
Topic: Fractional error?
Replies: 10
Views: 2600

Re: Fractional error?

I have the same issue on Vensim DSS 9.3.5. I want to compare the impact of different strategies with the baseline values. I exported the simulated values into xlsx and imported them again as data values, but it slightly changed the imported values. Then, I exported the new results for both original ...
by aliakhavan89
Sat Nov 05, 2022 5:23 pm
Forum: Vensim
Topic: File Type/Kind on macOS
Replies: 1
Views: 364

File Type/Kind on macOS

Since the compile process no longer works on macOS, I work on Windows and macOS simultaneously (using Parallels/VMware). I have noticed this before, but it has become more significant recently, perhaps because of my workload: One can quickly sort various Vensim related files, such as CIN, OUT, REP, ...
by aliakhavan89
Tue Sep 27, 2022 12:53 pm
Forum: Vensim
Topic: Stop from Vensim
Replies: 2
Views: 438

Re: Stop from Vensim

It happens when double-clicking in Finder (I do not use File->Open, so I do not know if there is also an issue there). I also checked the disk, and it did not have any errors.
by aliakhavan89
Mon Sep 26, 2022 7:09 pm
Forum: Vensim
Topic: Stop from Vensim
Replies: 2
Views: 438

Stop from Vensim

I receive this error message from time to time when I try to open a model (it does not depend on the model's content), and Vensim does not open and crashes. I am on macOS 12.6 and Vensim DSS Version 9.3.4 x64 (Intel). Can you please help me? The error: Stop from Vensim Unable to open /Users/Ali/.ven...
by aliakhavan89
Tue Sep 20, 2022 10:14 pm
Forum: Vensim
Topic: Compile Errors on macOS
Replies: 26
Views: 20409

Re: Compile Errors on macOS

I could compile the mdl.c manually on Xcode (signing the c file locally might have helped, though I did not test it systematically). Still, Vensim does not automate the process. I would imagine by signing the dylib you meant something like this (I am not asking you to recommend. Just want to know if...
by aliakhavan89
Tue Sep 20, 2022 1:58 pm
Forum: Vensim
Topic: Compile Errors on macOS
Replies: 26
Views: 20409

Compile Errors on macOS

Hello, I have been trying to compile a (test) model, but I face an error despite following the steps provided on the tutorial/help page. I will explain the details below, and I have provided the files I have. The error is: Failed to compile the model (does not exist). 1. OS: macOS Monterey Version 1...
by aliakhavan89
Wed Sep 14, 2022 6:17 pm
Forum: Vensim
Topic: Vensim 9.3.3 Shortcuts on macOS
Replies: 4
Views: 605

Re: Vensim 9.3.3 Shortcuts on macOS

Thank you very much. I will send the email.

By the way, for some reasons, which I am sure are not from my side, my emails cannot be delivered to vensim@vensim.com from the account associated to the DSS license. I already reported this using my other email accounts.
by aliakhavan89
Tue Sep 13, 2022 10:01 pm
Forum: Vensim
Topic: Vensim 9.3.3 Shortcuts on macOS
Replies: 4
Views: 605

Re: Vensim 9.3.3 Shortcuts on macOS

By copy/paste I mean when I try to do so when I am editing a variable name. When I want to edit/enter a variable, I cannot either paste into or copy from the text (input) box using the Command + C/V. Even doing so (for example the paste option) from the Edit menu results in another box trying to rep...
by aliakhavan89
Tue Sep 13, 2022 4:37 pm
Forum: Vensim
Topic: Vensim 9.3.3 Shortcuts on macOS
Replies: 4
Views: 605

Vensim 9.3.3 Shortcuts on macOS

It seems that some shortcuts do not work in the recent version on macOS. Examples are Command + R (simulate the model) and Command + C (and V, for copy/paste). I have a MacBook with TouchBar and I am not sure if it is only my case. Specially, I cannot use the escape key to cancel actions. For exampl...
by aliakhavan89
Tue Sep 13, 2022 3:17 pm
Forum: Vensim
Topic: BUG: Vensim 9.3.3 macOS 12.6 Intel 15.4 Inch
Replies: 6
Views: 779

Re: BUG: Vensim 9.3.3 macOS 12.6 Intel 15.4 Inch

Administrator wrote: Tue Sep 13, 2022 3:01 pm You've got the window locked. Just under the red close button, there is a padlock. Click this and then the window should close.
I did not know about that. My mistake. But I still cannot suppress this window. Is there any way to do that?