I have a model in which I'm testing my new white noise block. After building the model I successfully validated the model. I then clicked the simulate button and got what looks like a host of compile errors. I don't remember ever getting these before. They are below. The errors are talking about fmax and fmin. I don't even have anything labeled fmax or fmin in any part of the model. So, I'm wondering if anyone has seen anything like this before.
The errors are as follows:
Building "MyModels.MyComponents.Test" as experiment "Test 1" started at 16:18:08 Error: [:0:0-0:0]Error: Error building simulator. Build log:
Microsoft (R) Program Maintenance Utility Version 11.00.50727.1 Copyright (C) Microsoft Corporation. All rights reserved.
"cl" /MT /EHa /c /I"C:\Program Files\Wolfram Research\SystemModeler 4.2\include" /I"C:\Program Files\Wolfram Research\SystemModeler 4.2\include\platform\win32\VS2012" /I"C:\Program Files\Wolfram Research\SystemModeler 4.2\include\fmil" /IC:\BackhusR\Work\PICSPEC\Models\SystemModeller\SSD_PeakDetector sme.4.2.0_1485465488_28704_main.cpp /Fo"sme.4.2.0_1485465488_28704_main.obj"
Microsoft (R) C/C++ Optimizing Compiler Version 17.00.50727.1 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
sme.4.2.0_1485465488_28704_main.cpp
C:\Program Files\Wolfram Research\SystemModeler 4.2\include\simulation_runtime.h(106) : warning C4005: 'fmax' : macro redefinition
c:\program files\wolfram research\systemmodeler 4.2\include\simulation_events.h(73) : see previous definition of 'fmax'
C:\Program Files\Wolfram Research\SystemModeler 4.2\include\simulation_runtime.h(111) : warning C4005: 'fmin' : macro redefinition
c:\program files\wolfram research\systemmodeler 4.2\include\simulation_events.h(77) : see previous definition of 'fmin'
sme.4.2.0_1485465488_28704_main.cpp(873) : error C2065: '$tmp1' : undeclared identifier
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\cl.EXE"' : return code '0x2'
Stop.
Internal error: [:0:0-0:0]Internal error: Failed to build model MyModels.MyComponents.Test.