Notification: Performance of loadModel(Modelica): time 1.55/1.55, allocations: 194.8 MB / 201.1 MB, free: 4.832 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 0.1841/1.734, allocations: 46.46 MB / 247.6 MB, free: 4.723 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07246/1.807, allocations: 44.51 MB / 292.1 MB, free: 8.914 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2318/2.039, allocations: 73.23 MB / 365.3 MB, free: 10.91 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001992/2.039, allocations: 74.7 kB / 365.4 MB, free: 10.9 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.03055/2.069, allocations: 7.632 MB / 373 MB, free: 9.977 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/2.069, allocations: 7.938 kB / 373 MB, free: 9.977 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003126/2.07, allocations: 35.27 kB / 373.1 MB, free: 9.961 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/2.07, allocations: 198.6 kB / 373.3 MB, free: 9.746 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/2.07, allocations: 0 / 373.3 MB, free: 9.746 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.138e-05/2.07, allocations: 7.656 kB / 373.3 MB, free: 9.746 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001126/2.07, allocations: 42.7 kB / 373.3 MB, free: 9.738 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/2.07, allocations: 114.9 kB / 373.4 MB, free: 9.66 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.31e-06/2.07, allocations: 0 / 373.4 MB, free: 9.66 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/2.07, allocations: 0 / 373.4 MB, free: 9.66 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.691e-06/2.07, allocations: 0 / 373.4 MB, free: 9.66 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007124/2.071, allocations: 0.5365 MB / 374 MB, free: 9.188 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/2.071, allocations: 129.1 kB / 374.1 MB, free: 9.098 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.715e-05/2.071, allocations: 49.52 kB / 374.1 MB, free: 9.074 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/2.072, allocations: 3.938 kB / 374.1 MB, free: 9.07 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001596/2.072, allocations: 139.6 kB / 374.3 MB, free: 8.973 MB / 296.6 MB Notification: Performance of pre-optimization done (n=17): time 1.828e-06/2.072, allocations: 0 / 374.3 MB, free: 8.973 MB / 296.6 MB Notification: Performance of matching and sorting (n=17): time 0.0008031/2.073, allocations: 158.2 kB / 374.4 MB, free: 8.914 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/2.073, allocations: 118.5 kB / 374.5 MB, free: 8.781 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/2.073, allocations: 179.7 kB / 374.7 MB, free: 8.668 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 5.036e-05/2.073, allocations: 45.12 kB / 374.8 MB, free: 8.633 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 6.206e-05/2.073, allocations: 170.3 kB / 374.9 MB, free: 8.48 MB / 296.6 MB Notification: Performance of collectInitialBindings (initialization): time 4.272e-05/2.073, allocations: 43.05 kB / 375 MB, free: 8.453 MB / 296.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.54e-05/2.073, allocations: 0 / 375 MB, free: 8.453 MB / 296.6 MB Notification: Performance of setup shared object (initialization): time 0.0001517/2.073, allocations: 326.5 kB / 375.3 MB, free: 24.14 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/2.073, allocations: 69.05 kB / 375.4 MB, free: 24.13 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/2.073, allocations: 124.4 kB / 375.5 MB, free: 24.08 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008406/2.074, allocations: 136.4 kB / 375.6 MB, free: 24.05 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.456e-06/2.074, allocations: 0 / 375.6 MB, free: 24.05 MB / 312.6 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001152/2.076, allocations: 286.4 kB / 375.9 MB, free: 23.96 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/2.076, allocations: 14.88 kB / 375.9 MB, free: 23.95 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.92e-05/2.076, allocations: 0 / 375.9 MB, free: 23.95 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/2.076, allocations: 3.875 kB / 375.9 MB, free: 23.95 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/2.076, allocations: 31.36 kB / 375.9 MB, free: 23.95 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/2.076, allocations: 0 / 375.9 MB, free: 23.95 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/2.076, allocations: 19.58 kB / 376 MB, free: 23.93 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.746e-05/2.076, allocations: 23.44 kB / 376 MB, free: 23.93 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 6.069e-05/2.076, allocations: 75.28 kB / 376.1 MB, free: 23.85 MB / 312.6 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007327/2.077, allocations: 165.4 kB / 376.2 MB, free: 23.79 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.36e-05/2.077, allocations: 15.56 kB / 376.2 MB, free: 23.78 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.62e-05/2.077, allocations: 16.77 kB / 376.2 MB, free: 23.77 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.142e-06/2.077, allocations: 0 / 376.2 MB, free: 23.77 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/2.077, allocations: 7.781 kB / 376.3 MB, free: 23.77 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.902e-06/2.077, allocations: 0 / 376.3 MB, free: 23.77 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002233/2.077, allocations: 191 kB / 376.4 MB, free: 23.58 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/2.077, allocations: 7.844 kB / 376.5 MB, free: 23.57 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.102e-05/2.077, allocations: 15.05 kB / 376.5 MB, free: 23.57 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.198e-06/2.077, allocations: 7.875 kB / 376.5 MB, free: 23.57 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/2.077, allocations: 0 / 376.5 MB, free: 23.57 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/2.077, allocations: 3.875 kB / 376.5 MB, free: 23.57 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.211e-06/2.077, allocations: 0 / 376.5 MB, free: 23.57 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007759/2.078, allocations: 226.9 kB / 376.7 MB, free: 23.41 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 6.688e-05/2.078, allocations: 92.7 kB / 376.8 MB, free: 23.31 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.08e-05/2.078, allocations: 15.23 kB / 376.8 MB, free: 23.3 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/2.078, allocations: 19.77 kB / 376.8 MB, free: 23.29 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.107e-05/2.079, allocations: 19.11 kB / 376.8 MB, free: 23.28 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/2.079, allocations: 7.891 kB / 376.8 MB, free: 23.28 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0001284/2.079, allocations: 128 kB / 377 MB, free: 23.2 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0007303/2.079, allocations: 152 kB / 377.1 MB, free: 23.15 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.002455/2.082, allocations: 1.233 MB / 378.4 MB, free: 22.22 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.0005027/2.082, allocations: 222 kB / 378.6 MB, free: 22.14 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 2.847e-06/2.082, allocations: 0 / 378.6 MB, free: 22.14 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0001161/2.083, allocations: 57.05 kB / 378.6 MB, free: 22.14 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001799/2.083, allocations: 11.62 kB / 378.6 MB, free: 22.13 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005091/2.083, allocations: 273 kB / 378.9 MB, free: 21.92 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003905/2.084, allocations: 0.762 MB / 379.7 MB, free: 21.19 MB / 312.6 MB Notification: Performance of SimCode: time 1.17e-06/2.084, allocations: 3.938 kB / 379.7 MB, free: 21.19 MB / 312.6 MB Notification: Performance of translateModelFMU complete: time 0.008641/2.092, allocations: 4.92 MB / 384.6 MB, free: 18.71 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_DistributionsCalcHelperMain.o OMCppModelica_3_2_2_fmi_cpp_Modelica_Blocks_Examples_NoiseExamples_DistributionsCalcHelperMain.cpp In file included from OMCppModelica_3_2_2_fmi_cpp_Modelica_Blocks_Examples_NoiseExamples_DistributionsCalcHelperMain.cpp:31: ./OMCppModelica_3_2_2_fmi_cpp_Modelica_Blocks_Examples_NoiseExamples_DistributionsInitialize.cpp:267:3: error: use of undeclared identifier '$PRE_P_truncatedNormalNoise_P_state_'; did you mean '_truncatedNormalNoise_P_state_'? $PRE_P_truncatedNormalNoise_P_state_=tmp82; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _truncatedNormalNoise_P_state_ ./OMCppModelica_3_2_2_fmi_cpp_Modelica_Blocks_Examples_NoiseExamples_Distributions.h:251:34: note: '_truncatedNormalNoise_P_state_' declared here StatArrayDim1 _truncatedNormalNoise_P_state_; ^ In file included from OMCppModelica_3_2_2_fmi_cpp_Modelica_Blocks_Examples_NoiseExamples_DistributionsCalcHelperMain.cpp:31: ./OMCppModelica_3_2_2_fmi_cpp_Modelica_Blocks_Examples_NoiseExamples_DistributionsInitialize.cpp:398:3: error: use of undeclared identifier '$PRE_P_uniformNoise_P_state_'; did you mean '_uniformNoise_P_state_'? $PRE_P_uniformNoise_P_state_=tmp87; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ _uniformNoise_P_state_ ./OMCppModelica_3_2_2_fmi_cpp_Modelica_Blocks_Examples_NoiseExamples_Distributions.h:252:34: note: '_uniformNoise_P_state_' declared here StatArrayDim1 _uniformNoise_P_state_; ^ In file included from OMCppModelica_3_2_2_fmi_cpp_Modelica_Blocks_Examples_NoiseExamples_DistributionsCalcHelperMain.cpp:35: In file included from ./OMCppModelica_3_2_2_fmi_cpp_Modelica_Blocks_Examples_NoiseExamples_DistributionsFMU.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_DistributionsCalcHelperMain.o' failed make: *** [OMCppModelica_3_2_2_fmi_cpp_Modelica_Blocks_Examples_NoiseExamples_DistributionsCalcHelperMain.o] Error 1