Notification: Performance of loadModel(Modelica): time 1.508/1.508, allocations: 194.8 MB / 201.1 MB, free: 4.832 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 0.1707/1.679, allocations: 46.45 MB / 247.6 MB, free: 4.699 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06809/1.747, allocations: 44.5 MB / 292.1 MB, free: 8.914 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2634/2.011, allocations: 71.15 MB / 363.2 MB, free: 11 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001969/2.011, allocations: 71.41 kB / 363.3 MB, free: 10.99 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.0152/2.026, allocations: 4.232 MB / 367.5 MB, free: 10.35 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/2.026, allocations: 11.12 kB / 367.5 MB, free: 10.35 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004408/2.027, allocations: 38.64 kB / 367.6 MB, free: 10.34 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/2.027, allocations: 191.5 kB / 367.8 MB, free: 10.14 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/2.027, allocations: 0 / 367.8 MB, free: 10.14 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.145e-05/2.027, allocations: 15.62 kB / 367.8 MB, free: 10.13 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001046/2.027, allocations: 34 kB / 367.8 MB, free: 10.13 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/2.027, allocations: 104.8 kB / 367.9 MB, free: 10.08 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.034e-06/2.027, allocations: 3.938 kB / 367.9 MB, free: 10.07 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/2.027, allocations: 0 / 367.9 MB, free: 10.07 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.341e-06/2.027, allocations: 0 / 367.9 MB, free: 10.07 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000641/2.028, allocations: 365 kB / 368.3 MB, free: 9.824 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/2.028, allocations: 97.5 kB / 368.4 MB, free: 9.773 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.263e-05/2.028, allocations: 46.42 kB / 368.4 MB, free: 9.754 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/2.028, allocations: 3.875 kB / 368.4 MB, free: 9.754 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001641/2.029, allocations: 123.3 kB / 368.5 MB, free: 9.684 MB / 296.6 MB Notification: Performance of pre-optimization done (n=16): time 2.225e-06/2.029, allocations: 4 kB / 368.6 MB, free: 9.68 MB / 296.6 MB Notification: Performance of matching and sorting (n=16): time 0.0002891/2.029, allocations: 125 kB / 368.7 MB, free: 9.637 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/2.029, allocations: 91.38 kB / 368.8 MB, free: 9.539 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/2.029, allocations: 153.1 kB / 368.9 MB, free: 9.445 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 5.113e-05/2.029, allocations: 40.97 kB / 369 MB, free: 9.414 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 6.388e-05/2.029, allocations: 174.5 kB / 369.1 MB, free: 9.262 MB / 296.6 MB Notification: Performance of collectInitialBindings (initialization): time 4.264e-05/2.029, allocations: 41.69 kB / 369.2 MB, free: 9.242 MB / 296.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.541e-05/2.029, allocations: 0 / 369.2 MB, free: 9.242 MB / 296.6 MB Notification: Performance of setup shared object (initialization): time 0.0001164/2.029, allocations: 325.7 kB / 369.5 MB, free: 24.93 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/2.03, allocations: 77.28 kB / 369.6 MB, free: 24.92 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/2.03, allocations: 105 kB / 369.7 MB, free: 24.89 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004009/2.03, allocations: 104.8 kB / 369.8 MB, free: 24.89 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/2.03, allocations: 0 / 369.8 MB, free: 24.89 MB / 312.6 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006367/2.031, allocations: 241.3 kB / 370 MB, free: 24.84 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/2.031, allocations: 11.94 kB / 370 MB, free: 24.84 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.979e-05/2.031, allocations: 0 / 370 MB, free: 24.84 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/2.031, allocations: 3.906 kB / 370 MB, free: 24.84 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/2.031, allocations: 32.19 kB / 370 MB, free: 24.84 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.887e-06/2.031, allocations: 0 / 370 MB, free: 24.84 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/2.031, allocations: 24.59 kB / 370.1 MB, free: 24.82 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.673e-05/2.031, allocations: 13.27 kB / 370.1 MB, free: 24.82 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 6.389e-05/2.031, allocations: 79.28 kB / 370.2 MB, free: 24.74 MB / 312.6 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002268/2.032, allocations: 131.4 kB / 370.3 MB, free: 24.69 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/2.032, allocations: 15.59 kB / 370.3 MB, free: 24.68 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.684e-05/2.032, allocations: 11 kB / 370.3 MB, free: 24.68 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.985e-06/2.032, allocations: 7.891 kB / 370.3 MB, free: 24.68 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/2.032, allocations: 0 / 370.3 MB, free: 24.68 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.068e-06/2.032, allocations: 2.203 kB / 370.3 MB, free: 24.68 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000207/2.032, allocations: 183 kB / 370.5 MB, free: 24.52 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.348e-06/2.032, allocations: 0 / 370.5 MB, free: 24.52 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.108e-05/2.032, allocations: 17.89 kB / 370.5 MB, free: 24.51 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.953e-06/2.032, allocations: 3.875 kB / 370.5 MB, free: 24.51 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/2.032, allocations: 5.109 kB / 370.5 MB, free: 24.51 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.758e-06/2.032, allocations: 3.656 kB / 370.5 MB, free: 24.51 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.161e-06/2.032, allocations: 0 / 370.5 MB, free: 24.51 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002533/2.032, allocations: 170.6 kB / 370.7 MB, free: 24.41 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 5.937e-05/2.032, allocations: 96.7 kB / 370.8 MB, free: 24.3 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.601e-05/2.033, allocations: 10.91 kB / 370.8 MB, free: 24.3 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.616e-05/2.033, allocations: 9.562 kB / 370.8 MB, free: 24.3 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.689e-05/2.033, allocations: 12.36 kB / 370.8 MB, free: 24.3 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/2.033, allocations: 5.891 kB / 370.8 MB, free: 24.3 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0001101/2.033, allocations: 117.6 kB / 370.9 MB, free: 24.23 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0004196/2.033, allocations: 68.42 kB / 371 MB, free: 24.21 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.001027/2.034, allocations: 0.9027 MB / 371.9 MB, free: 23.5 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.0004305/2.035, allocations: 220.8 kB / 372.1 MB, free: 23.44 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 3.393e-06/2.035, allocations: 4.125 kB / 372.1 MB, free: 23.43 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 9.852e-05/2.035, allocations: 51.61 kB / 372.2 MB, free: 23.43 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001439/2.035, allocations: 8.156 kB / 372.2 MB, free: 23.43 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004607/2.036, allocations: 252.9 kB / 372.4 MB, free: 23.24 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004004/2.036, allocations: 0.7563 MB / 373.2 MB, free: 22.54 MB / 312.6 MB Notification: Performance of SimCode: time 8.16e-07/2.036, allocations: 4 kB / 373.2 MB, free: 22.53 MB / 312.6 MB Notification: Performance of translateModelFMU complete: time 0.00718/2.043, allocations: 3.276 MB / 376.5 MB, free: 22.03 MB / 312.6 MB Error: Error building simulator. Build log: clang++ -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=5 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/cpp" -I"." -I"." -I"." -DUSE_LOGGER -c -o OMCppModelica_3_2_2_fmi_cpp_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseCalcHelperMain.o OMCppModelica_3_2_2_fmi_cpp_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseCalcHelperMain.cpp In file included from OMCppModelica_3_2_2_fmi_cpp_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseCalcHelperMain.cpp:31: ./OMCppModelica_3_2_2_fmi_cpp_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseInitialize.cpp:266:3: error: use of undeclared identifier '$PRE_P_uniformNoise2_P_state_'; did you mean '_uniformNoise2_P_state_'? $PRE_P_uniformNoise2_P_state_=tmp41; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _uniformNoise2_P_state_ ./OMCppModelica_3_2_2_fmi_cpp_Modelica_Blocks_Examples_NoiseExamples_UniformNoise.h:245:34: note: '_uniformNoise2_P_state_' declared here StatArrayDim1 _uniformNoise2_P_state_; ^ In file included from OMCppModelica_3_2_2_fmi_cpp_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseCalcHelperMain.cpp:31: ./OMCppModelica_3_2_2_fmi_cpp_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseInitialize.cpp:395:3: error: use of undeclared identifier '$PRE_P_uniformNoise1_P_state_'; did you mean '_uniformNoise1_P_state_'? $PRE_P_uniformNoise1_P_state_=tmp45; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _uniformNoise1_P_state_ ./OMCppModelica_3_2_2_fmi_cpp_Modelica_Blocks_Examples_NoiseExamples_UniformNoise.h:244:34: note: '_uniformNoise1_P_state_' declared here StatArrayDim1 _uniformNoise1_P_state_; ^ In file included from OMCppModelica_3_2_2_fmi_cpp_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseCalcHelperMain.cpp:35: In file included from ./OMCppModelica_3_2_2_fmi_cpp_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseFMU.cpp:11: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ 1 warning and 2 errors generated. : recipe for target 'OMCppModelica_3_2_2_fmi_cpp_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseCalcHelperMain.o' failed make: *** [OMCppModelica_3_2_2_fmi_cpp_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseCalcHelperMain.o] Error 1