Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00146/0.001459, allocations: 181.8 kB / 8.365 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.99/1.99, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00113/0.001129, allocations: 97.92 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.396e-05/2.386e-05, allocations: 4 kB / 314.9 MB, free: 9.059 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3436, allocations: 47.56 MB / 362.4 MB, free: 45.71 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1284/0.4721, allocations: 78.23 MB / 440.7 MB, free: 7.984 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003033/0.4724, allocations: 75.95 kB / 440.7 MB, free: 7.91 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03128/0.5037, allocations: 6.63 MB / 447.4 MB, free: 1.312 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5038, allocations: 0 / 447.4 MB, free: 1.312 MB / 331.1 MB Notification: Performance of Transformations before backend: time 2.128e-05/0.5038, allocations: 4 kB / 447.4 MB, free: 1.309 MB / 331.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.00142/0.5053, allocations: 0.5494 MB / 447.9 MB, free: 0.7109 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.5053, allocations: 8.031 kB / 447.9 MB, free: 0.7031 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002878/0.5056, allocations: 35.7 kB / 448 MB, free: 0.668 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003887/0.506, allocations: 235.6 kB / 448.2 MB, free: 408 kB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.751e-05/0.5061, allocations: 15.89 kB / 448.2 MB, free: 392 kB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.451e-05/0.5062, allocations: 12 kB / 448.2 MB, free: 380 kB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00033/0.5065, allocations: 97.19 kB / 448.3 MB, free: 284 kB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003821/0.5069, allocations: 138.7 kB / 448.4 MB, free: 140 kB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.5069, allocations: 3.938 kB / 448.4 MB, free: 136 kB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.757e-05/0.507, allocations: 0 / 448.4 MB, free: 136 kB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.507, allocations: 5.688 kB / 448.5 MB, free: 132 kB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001558/0.5086, allocations: 0.5401 MB / 449 MB, free: 15.55 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009659/0.5096, allocations: 219 kB / 449.2 MB, free: 15.32 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/0.5098, allocations: 78.16 kB / 449.3 MB, free: 15.25 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.28e-05/0.5098, allocations: 8.062 kB / 449.3 MB, free: 15.24 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003277/0.5102, allocations: 124.5 kB / 449.4 MB, free: 15.11 MB / 347.1 MB Notification: Performance of pre-optimization done (n=22): time 3.116e-06/0.5102, allocations: 0 / 449.4 MB, free: 15.11 MB / 347.1 MB Notification: Performance of matching and sorting (n=22): time 0.0006024/0.5108, allocations: 192 kB / 449.6 MB, free: 14.91 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.5109, allocations: 59.53 kB / 449.7 MB, free: 14.84 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002287/0.5111, allocations: 170 kB / 449.8 MB, free: 14.67 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 5.326e-05/0.5112, allocations: 33.69 kB / 449.9 MB, free: 14.63 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.5113, allocations: 195 kB / 450 MB, free: 14.44 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.839e-05/0.5114, allocations: 72.91 kB / 450.1 MB, free: 14.37 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.329e-05/0.5114, allocations: 0 / 450.1 MB, free: 14.37 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.5116, allocations: 326.8 kB / 450.4 MB, free: 14.04 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002509/0.5118, allocations: 87.98 kB / 450.5 MB, free: 13.95 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002789/0.5121, allocations: 109.7 kB / 450.6 MB, free: 13.84 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004297/0.5126, allocations: 93.27 kB / 450.7 MB, free: 13.75 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.5126, allocations: 0 / 450.7 MB, free: 13.75 MB / 347.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008193/0.5134, allocations: 271.1 kB / 451 MB, free: 13.48 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.5135, allocations: 4 kB / 451 MB, free: 13.48 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.543e-05/0.5135, allocations: 3.984 kB / 451 MB, free: 13.47 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.661e-05/0.5136, allocations: 7.953 kB / 451 MB, free: 13.46 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006159/0.5142, allocations: 75.92 kB / 451.1 MB, free: 13.39 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.515e-06/0.5142, allocations: 0 / 451.1 MB, free: 13.39 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00035/0.5146, allocations: 47.72 kB / 451.1 MB, free: 13.34 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.437e-05/0.5147, allocations: 12 kB / 451.1 MB, free: 13.33 MB / 347.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,$PRE.noise.state[1],noise.state[1],$PRE.noise.state[2],noise.state[2],$PRE.noise.state[3],noise.state[3],$PRE.noise.state[4],noise.state[4],$PRE.noise.r,noise.r,$PRE.noise.r_raw,noise.r_raw,globalSeed.id_impure,noise.localSeed,noise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 36 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001868/0.5149, allocations: 112.9 kB / 451.2 MB, free: 13.21 MB / 347.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005734/0.5154, allocations: 187.1 kB / 451.4 MB, free: 13.03 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.516e-05/0.5155, allocations: 24.62 kB / 451.5 MB, free: 13 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.494e-05/0.5156, allocations: 21.91 kB / 451.5 MB, free: 12.98 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.5156, allocations: 0 / 451.5 MB, free: 12.98 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.5156, allocations: 4 kB / 451.5 MB, free: 12.98 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.5157, allocations: 1.031 kB / 451.5 MB, free: 12.98 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.517, allocations: 0.536 MB / 452 MB, free: 12.4 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.517, allocations: 0 / 452 MB, free: 12.4 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005016/0.5175, allocations: 59.64 kB / 452.1 MB, free: 12.35 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-06/0.5176, allocations: 0 / 452.1 MB, free: 12.35 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.41e-05/0.5176, allocations: 4 kB / 452.1 MB, free: 12.34 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.5176, allocations: 0 / 452.1 MB, free: 12.34 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.5176, allocations: 0 / 452.1 MB, free: 12.34 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007809/0.5184, allocations: 375.6 kB / 452.4 MB, free: 11.96 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.197e-05/0.5185, allocations: 104.7 kB / 452.5 MB, free: 11.84 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.381e-05/0.5186, allocations: 8.062 kB / 452.6 MB, free: 11.83 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000334/0.5189, allocations: 28.91 kB / 452.6 MB, free: 11.8 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.298e-05/0.519, allocations: 7.984 kB / 452.6 MB, free: 11.79 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.303e-05/0.5191, allocations: 11.98 kB / 452.6 MB, free: 11.78 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0001719/0.5193, allocations: 131.2 kB / 452.7 MB, free: 11.65 MB / 347.1 MB Notification: Performance of sort global known variables: time 3.9e-07/0.5193, allocations: 0 / 452.7 MB, free: 11.65 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0007694/0.52, allocations: 119.8 kB / 452.8 MB, free: 11.54 MB / 347.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002158/0.5222, allocations: 1.125 MB / 454 MB, free: 10.43 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.0006168/0.5229, allocations: 225.6 kB / 454.2 MB, free: 10.2 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.5229, allocations: 0 / 454.2 MB, free: 10.2 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002087/0.5231, allocations: 79.83 kB / 454.3 MB, free: 10.12 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.5235, allocations: 15.98 kB / 454.3 MB, free: 10.11 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.5247, allocations: 450.5 kB / 454.7 MB, free: 9.629 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.5251, allocations: 0.7399 MB / 455.5 MB, free: 8.863 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/0.5253, allocations: 67.41 kB / 455.5 MB, free: 8.801 MB / 347.1 MB Notification: Performance of SimCode: time 7.82e-07/0.5253, allocations: 4 kB / 455.5 MB, free: 8.797 MB / 347.1 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=6 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c/sundials" -I"." -DUSE_LOGGER -c -o OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_NormalNoisePropertiesCalcHelperMain.o OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_NormalNoisePropertiesCalcHelperMain.cpp In file included from OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_NormalNoisePropertiesCalcHelperMain.cpp:31: ./OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_NormalNoisePropertiesInitialize.cpp:366:3: error: use of undeclared identifier '$PRE_P_noise_P_state_'; did you mean '_noise_P_state_'? $PRE_P_noise_P_state_.assign(tmp70); ^~~~~~~~~~~~~~~~~~~~~ _noise_P_state_ ./OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties.h:214:33: note: '_noise_P_state_' declared here StatArrayDim1 _noise_P_state_; ^ In file included from OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_NormalNoisePropertiesCalcHelperMain.cpp:35: In file included from ./OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_NormalNoisePropertiesFMU.cpp:11: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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_3_cpp_Modelica_Blocks_Examples_NoiseExamples_NormalNoisePropertiesCalcHelperMain.o' failed make: *** [OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_NormalNoisePropertiesCalcHelperMain.o] Error 1