Notification: Performance of loadModel(Modelica): time 1.516/1.516, allocations: 194.8 MB / 201.1 MB, free: 4.848 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 0.217/1.733, allocations: 46.46 MB / 247.6 MB, free: 4.723 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07097/1.804, allocations: 44.5 MB / 292.1 MB, free: 8.934 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2778/2.082, allocations: 118.3 MB / 410.4 MB, free: 2.684 MB / 312.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/2.082, allocations: 85.08 kB / 410.5 MB, free: 2.641 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.2911/2.373, allocations: 81.32 MB / 491.8 MB, free: 8.77 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/2.373, allocations: 12 kB / 491.8 MB, free: 8.758 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002952/2.376, allocations: 455.1 kB / 492.2 MB, free: 8.309 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00742/2.384, allocations: 2.542 MB / 494.8 MB, free: 5.715 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005798/2.384, allocations: 263.2 kB / 495 MB, free: 5.438 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001119/2.386, allocations: 187.9 kB / 495.2 MB, free: 5.254 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00944/2.395, allocations: 3.332 MB / 498.6 MB, free: 1.914 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1267/2.522, allocations: 3.664 MB / 0.4905 GB, free: 117.1 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001261/2.522, allocations: 9.625 kB / 0.4905 GB, free: 117.1 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003903/2.522, allocations: 7.312 kB / 0.4905 GB, free: 117.1 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001273/2.522, allocations: 143.8 kB / 0.4906 GB, free: 117 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02804/2.551, allocations: 13.45 MB / 0.5037 GB, free: 114.4 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002881/2.553, allocations: 1.322 MB / 0.505 GB, free: 114.3 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002566/2.556, allocations: 1.214 MB / 0.5062 GB, free: 114.3 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000429/2.557, allocations: 237.1 kB / 0.5064 GB, free: 114.1 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002913/2.559, allocations: 1.203 MB / 0.5076 GB, free: 114 MB / 392.6 MB Notification: Performance of pre-optimization done (n=196): time 7.761e-06/2.56, allocations: 2.25 kB / 0.5076 GB, free: 114 MB / 392.6 MB Notification: Performance of matching and sorting (n=249): time 0.02537/2.585, allocations: 9.421 MB / 0.5168 GB, free: 112.8 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.722e-05/2.585, allocations: 191.3 kB / 0.517 GB, free: 112.6 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00343/2.588, allocations: 1.641 MB / 0.5186 GB, free: 112.4 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0005284/2.589, allocations: 42.64 kB / 0.5187 GB, free: 112.4 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.001404/2.59, allocations: 1.4 MB / 0.52 GB, free: 111.8 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.001042/2.592, allocations: 0.8056 MB / 0.5208 GB, free: 111.3 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002686/2.592, allocations: 0 / 0.5208 GB, free: 111.3 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0002081/2.592, allocations: 422.5 kB / 0.5212 GB, free: 110.9 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002665/2.595, allocations: 1.247 MB / 0.5224 GB, free: 110.9 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003062/2.598, allocations: 1.858 MB / 0.5242 GB, free: 110.3 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003562/2.601, allocations: 1.538 MB / 0.5257 GB, free: 110.1 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.518e-05/2.601, allocations: 3.906 kB / 0.5257 GB, free: 110.1 MB / 392.6 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.007942/2.609, allocations: 3.414 MB / 0.5291 GB, free: 108.8 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/2.609, allocations: 9.875 kB / 0.5291 GB, free: 108.8 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.723e-05/2.61, allocations: 20.69 kB / 0.5291 GB, free: 108.8 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001516/2.611, allocations: 497.3 kB / 0.5296 GB, free: 108.6 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003781/2.615, allocations: 0.7037 MB / 0.5303 GB, free: 108.6 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005919/2.621, allocations: 4.389 MB / 0.5346 GB, free: 105.3 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002893/2.624, allocations: 147 kB / 0.5347 GB, free: 105.3 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005815/2.624, allocations: 116.9 kB / 0.5348 GB, free: 105.2 MB / 392.6 MB Warning: There are iteration variables with default zero start attribute. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->OMCFlags, in OMNotebook call setCommandLineOptions("-d=initialization"). Notification: Performance of prepare postOptimizeDAE: time 0.0003082/2.625, allocations: 88.11 kB / 0.5349 GB, free: 105.2 MB / 392.6 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007297/2.632, allocations: 3.101 MB / 0.5379 GB, free: 103.9 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000867/2.633, allocations: 243 kB / 0.5382 GB, free: 103.8 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008274/2.641, allocations: 3.329 MB / 0.5414 GB, free: 102.5 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.111e-05/2.641, allocations: 22.41 kB / 0.5414 GB, free: 102.5 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/2.641, allocations: 3.906 kB / 0.5414 GB, free: 102.5 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-05/2.641, allocations: 14.02 kB / 0.5414 GB, free: 102.5 MB / 392.6 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02077/2.662, allocations: 8.832 MB / 0.5501 GB, free: 98.66 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-05/2.662, allocations: 3.906 kB / 0.5501 GB, free: 98.66 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002886/2.665, allocations: 0.4892 MB / 0.5505 GB, free: 98.64 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002448/2.668, allocations: 0.6467 MB / 0.5512 GB, free: 98.45 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004354/2.668, allocations: 29.66 kB / 0.5512 GB, free: 98.44 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01046/2.678, allocations: 7.373 MB / 0.5584 GB, free: 93.21 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004718/2.683, allocations: 3.225 MB / 0.5616 GB, free: 91.13 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01114/2.694, allocations: 5.267 MB / 0.5667 GB, free: 88.72 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001907/2.696, allocations: 0.6272 MB / 0.5673 GB, free: 88.32 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007681/2.697, allocations: 14.25 kB / 0.5673 GB, free: 88.31 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002146/2.699, allocations: 139 kB / 0.5675 GB, free: 88.3 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004209/2.7, allocations: 153.3 kB / 0.5676 GB, free: 88.22 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002213/2.7, allocations: 74.39 kB / 0.5677 GB, free: 88.16 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.002354/2.702, allocations: 1.217 MB / 0.5689 GB, free: 87.04 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.00373/2.706, allocations: 0.7366 MB / 0.5696 GB, free: 86.33 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.01077/2.717, allocations: 6.593 MB / 0.576 GB, free: 80.36 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.006809/2.724, allocations: 3.548 MB / 0.5795 GB, free: 77.07 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 8.802e-06/2.724, allocations: 7.844 kB / 0.5795 GB, free: 77.06 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.004389/2.728, allocations: 2.156 MB / 0.5816 GB, free: 75.07 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003349/2.732, allocations: 478.7 kB / 0.5821 GB, free: 74.72 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01559/2.747, allocations: 6.8 MB / 0.5887 GB, free: 68.79 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005143/2.752, allocations: 3.794 MB / 0.5924 GB, free: 65.63 MB / 392.6 MB Notification: Performance of SimCode: time 1.23e-06/2.753, allocations: 0 / 0.5924 GB, free: 65.63 MB / 392.6 MB Notification: Performance of translateModelFMU complete: time 0.2744/3.027, allocations: 124.4 MB / 0.7139 GB, free: 105.7 MB / 392.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_ActuatorWithNoiseCalcHelperMain.o OMCppModelica_3_2_2_fmi_cpp_Modelica_Blocks_Examples_NoiseExamples_ActuatorWithNoiseCalcHelperMain.cpp In file included from OMCppModelica_3_2_2_fmi_cpp_Modelica_Blocks_Examples_NoiseExamples_ActuatorWithNoiseCalcHelperMain.cpp:31: ./OMCppModelica_3_2_2_fmi_cpp_Modelica_Blocks_Examples_NoiseExamples_ActuatorWithNoiseInitialize.cpp:3198:3: error: use of undeclared identifier '$PRE_P_motor_P_uniformNoise_P_state_'; did you mean '_motor_P_uniformNoise_P_state_'? $PRE_P_motor_P_uniformNoise_P_state_=tmp178; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _motor_P_uniformNoise_P_state_ ./OMCppModelica_3_2_2_fmi_cpp_Modelica_Blocks_Examples_NoiseExamples_ActuatorWithNoise.h:1376:34: note: '_motor_P_uniformNoise_P_state_' declared here StatArrayDim1 _motor_P_uniformNoise_P_state_; ^ In file included from OMCppModelica_3_2_2_fmi_cpp_Modelica_Blocks_Examples_NoiseExamples_ActuatorWithNoiseCalcHelperMain.cpp:35: In file included from ./OMCppModelica_3_2_2_fmi_cpp_Modelica_Blocks_Examples_NoiseExamples_ActuatorWithNoiseFMU.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 1 error generated. : recipe for target 'OMCppModelica_3_2_2_fmi_cpp_Modelica_Blocks_Examples_NoiseExamples_ActuatorWithNoiseCalcHelperMain.o' failed make: *** [OMCppModelica_3_2_2_fmi_cpp_Modelica_Blocks_Examples_NoiseExamples_ActuatorWithNoiseCalcHelperMain.o] Error 1