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.002621/0.002621, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.302/2.302, allocations: 205.2 MB / 219.4 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 86.66 kB / 267.5 MB, free: 14.03 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.251e-05/3.268e-05, allocations: 7.938 kB / 321.6 MB, free: 17.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09999/0.1001, allocations: 47.57 MB / 369.2 MB, free: 2.117 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.403/0.5031, allocations: 78.89 MB / 448.1 MB, free: 14.36 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/0.5035, allocations: 77.2 kB / 448.1 MB, free: 14.32 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03293/0.5364, allocations: 6.658 MB / 454.8 MB, free: 8.559 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5365, allocations: 4 kB / 454.8 MB, free: 8.555 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.181e-05/0.5365, allocations: 4 kB / 454.8 MB, free: 8.551 MB / 330.7 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.001486/0.538, allocations: 0.5395 MB / 455.4 MB, free: 7.977 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.277e-05/0.5381, allocations: 12.03 kB / 455.4 MB, free: 7.965 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001193/0.5382, allocations: 54.08 kB / 455.4 MB, free: 7.914 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000301/0.5385, allocations: 35.7 kB / 455.5 MB, free: 7.879 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004112/0.539, allocations: 242.5 kB / 455.7 MB, free: 7.617 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.97e-05/0.539, allocations: 19.33 kB / 455.7 MB, free: 7.605 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.126e-05/0.5391, allocations: 19.88 kB / 455.7 MB, free: 7.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004734/0.5396, allocations: 168.2 kB / 455.9 MB, free: 7.457 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.5396, allocations: 0 / 455.9 MB, free: 7.457 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.504e-05/0.5397, allocations: 14.81 kB / 455.9 MB, free: 7.449 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.5397, allocations: 0 / 455.9 MB, free: 7.449 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003401/0.54, allocations: 106.3 kB / 456 MB, free: 7.375 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001643/0.5417, allocations: 0.6054 MB / 456.6 MB, free: 6.816 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.5429, allocations: 232.1 kB / 456.8 MB, free: 6.625 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002255/0.5431, allocations: 79.72 kB / 456.9 MB, free: 6.57 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.5432, allocations: 3.625 kB / 456.9 MB, free: 6.57 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003533/0.5435, allocations: 134.9 kB / 457.1 MB, free: 6.453 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 2.965e-06/0.5435, allocations: 0 / 457.1 MB, free: 6.453 MB / 330.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006344/0.5442, allocations: 205.3 kB / 457.3 MB, free: 6.289 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.507e-05/0.5443, allocations: 55.59 kB / 457.3 MB, free: 6.223 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002836/0.5446, allocations: 194.2 kB / 457.5 MB, free: 6.055 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.205e-05/0.5446, allocations: 37.02 kB / 457.5 MB, free: 6.02 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.5448, allocations: 190.5 kB / 457.7 MB, free: 5.848 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.322e-05/0.5449, allocations: 78.31 kB / 457.8 MB, free: 5.781 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.74e-05/0.5449, allocations: 11.56 kB / 457.8 MB, free: 5.777 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.5451, allocations: 318.5 kB / 458.1 MB, free: 5.461 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002849/0.5454, allocations: 98.7 kB / 458.2 MB, free: 5.398 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003178/0.5457, allocations: 123.8 kB / 458.3 MB, free: 5.309 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003463/0.5461, allocations: 98.08 kB / 458.4 MB, free: 5.246 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.5461, allocations: 0 / 458.4 MB, free: 5.246 MB / 330.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007804/0.5469, allocations: 289.7 kB / 458.7 MB, free: 5.027 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.5469, allocations: 4 kB / 458.7 MB, free: 5.023 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.547, allocations: 0 / 458.7 MB, free: 5.023 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/0.547, allocations: 4 kB / 458.7 MB, free: 5.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006319/0.5476, allocations: 75.92 kB / 458.8 MB, free: 4.945 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.5477, allocations: 0 / 458.8 MB, free: 4.945 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000344/0.548, allocations: 55.47 kB / 458.9 MB, free: 4.898 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-05/0.5481, allocations: 8 kB / 458.9 MB, free: 4.891 MB / 330.7 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.0001677/0.5483, allocations: 129 kB / 459 MB, free: 4.766 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.297e-05/0.5483, allocations: 23.67 kB / 459 MB, free: 4.742 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.779e-05/0.5484, allocations: 25.03 kB / 459 MB, free: 4.723 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.5485, allocations: 4 kB / 459 MB, free: 4.719 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.5485, allocations: 0 / 459 MB, free: 4.719 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.5485, allocations: 3.984 kB / 459 MB, free: 4.715 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/0.5498, allocations: 0.5772 MB / 459.6 MB, free: 4.168 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.5499, allocations: 0 / 459.6 MB, free: 4.168 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005563/0.5504, allocations: 51.97 kB / 459.7 MB, free: 4.117 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.5505, allocations: 0 / 459.7 MB, free: 4.117 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.976e-05/0.5505, allocations: 10.8 kB / 459.7 MB, free: 4.109 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.5505, allocations: 0 / 459.7 MB, free: 4.109 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.5505, allocations: 0 / 459.7 MB, free: 4.109 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008743/0.5514, allocations: 393.1 kB / 460.1 MB, free: 3.781 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.444e-05/0.5515, allocations: 100.3 kB / 460.2 MB, free: 3.668 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.799e-05/0.5516, allocations: 6.875 kB / 460.2 MB, free: 3.664 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003466/0.552, allocations: 34.47 kB / 460.2 MB, free: 3.633 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.666e-05/0.5521, allocations: 11.97 kB / 460.2 MB, free: 3.621 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.872e-05/0.5521, allocations: 15.36 kB / 460.2 MB, free: 3.609 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002027/0.5523, allocations: 144.8 kB / 460.4 MB, free: 3.484 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.5523, allocations: 0 / 460.4 MB, free: 3.484 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007547/0.5531, allocations: 145.8 kB / 460.5 MB, free: 3.355 MB / 330.7 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.002366/0.5555, allocations: 1.128 MB / 461.6 MB, free: 2.293 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007148/0.5562, allocations: 238.1 kB / 461.9 MB, free: 2.113 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5563, allocations: 64 / 461.9 MB, free: 2.113 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002451/0.5565, allocations: 85.55 kB / 462 MB, free: 2.039 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.5569, allocations: 19.98 kB / 462 MB, free: 2.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.5584, allocations: 483.3 kB / 462.4 MB, free: 1.504 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.5589, allocations: 0.7441 MB / 463.2 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002497/0.5591, allocations: 75.39 kB / 463.3 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of SimCode: time 1.764e-06/0.5592, allocations: 0 / 463.3 MB, free: 0.6562 MB / 330.7 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/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/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/OpenModelica/OMCompiler/build/bin/../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