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.001584/0.001584, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.965/1.965, allocations: 205.4 MB / 222.5 MB, free: 9.145 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.001176/0.001176, allocations: 100.3 kB / 270.9 MB, free: 8.395 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003947/0.0003948, allocations: 8 kB / 327.1 MB, free: 140 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3566, allocations: 47.57 MB / 374.6 MB, free: 45.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1288/0.4854, allocations: 78.97 MB / 453.6 MB, free: 1.691 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/0.4857, allocations: 79.95 kB / 453.7 MB, free: 1.613 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03213/0.5179, allocations: 6.704 MB / 460.4 MB, free: 10.9 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.278e-06/0.5179, allocations: 0 / 460.4 MB, free: 10.9 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.818e-05/0.518, allocations: 7.938 kB / 460.4 MB, free: 10.89 MB / 346.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.001498/0.5195, allocations: 0.5714 MB / 461 MB, free: 10.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.5195, allocations: 8.031 kB / 461 MB, free: 10.26 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001172/0.5197, allocations: 62.53 kB / 461 MB, free: 10.19 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002914/0.52, allocations: 35.7 kB / 461.1 MB, free: 10.15 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003823/0.5204, allocations: 239.5 kB / 461.3 MB, free: 9.879 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.896e-05/0.5204, allocations: 19.95 kB / 461.3 MB, free: 9.859 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.366e-05/0.5205, allocations: 20 kB / 461.3 MB, free: 9.84 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000836/0.5214, allocations: 214.4 kB / 461.6 MB, free: 9.621 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.5214, allocations: 0 / 461.6 MB, free: 9.621 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.941e-05/0.5215, allocations: 15.98 kB / 461.6 MB, free: 9.605 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.5215, allocations: 4 kB / 461.6 MB, free: 9.602 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008571/0.5223, allocations: 180.1 kB / 461.8 MB, free: 9.426 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001714/0.5241, allocations: 0.6059 MB / 462.4 MB, free: 8.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001979/0.5261, allocations: 370.8 kB / 462.7 MB, free: 8.395 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.756e-05/0.5262, allocations: 8 kB / 462.7 MB, free: 8.387 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007341/0.5269, allocations: 181.4 kB / 462.9 MB, free: 8.199 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 3.717e-06/0.5269, allocations: 0 / 462.9 MB, free: 8.199 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.002002/0.5289, allocations: 496.9 kB / 463.4 MB, free: 7.695 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.215e-05/0.529, allocations: 63.78 kB / 463.5 MB, free: 7.621 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003158/0.5294, allocations: 186.9 kB / 463.6 MB, free: 7.43 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.959e-05/0.5295, allocations: 45.69 kB / 463.7 MB, free: 7.379 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.5296, allocations: 191 kB / 463.9 MB, free: 7.191 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.56e-05/0.5297, allocations: 74.95 kB / 463.9 MB, free: 7.117 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/0.5298, allocations: 4 kB / 463.9 MB, free: 7.113 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.5299, allocations: 326.8 kB / 464.3 MB, free: 6.785 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006593/0.5306, allocations: 151.7 kB / 464.4 MB, free: 6.637 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007055/0.5313, allocations: 169.4 kB / 464.6 MB, free: 6.465 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006785/0.532, allocations: 154.6 kB / 464.7 MB, free: 6.316 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.532, allocations: 0 / 464.7 MB, free: 6.316 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001585/0.5336, allocations: 401.1 kB / 465.1 MB, free: 5.918 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.5337, allocations: 4 kB / 465.1 MB, free: 5.914 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/0.5337, allocations: 0 / 465.1 MB, free: 5.914 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.5338, allocations: 4 kB / 465.1 MB, free: 5.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005956/0.5344, allocations: 83.88 kB / 465.2 MB, free: 5.828 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.5344, allocations: 0 / 465.2 MB, free: 5.828 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003493/0.5347, allocations: 51.67 kB / 465.3 MB, free: 5.777 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.13e-05/0.5348, allocations: 15.98 kB / 465.3 MB, free: 5.762 MB / 346.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 () * Number of clocked 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.0002444/0.5351, allocations: 138.1 kB / 465.4 MB, free: 5.617 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.621e-05/0.5352, allocations: 19.77 kB / 465.4 MB, free: 5.598 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.669e-05/0.5353, allocations: 25.86 kB / 465.5 MB, free: 5.574 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.5353, allocations: 11.92 kB / 465.5 MB, free: 5.562 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.5353, allocations: 4 kB / 465.5 MB, free: 5.559 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.5353, allocations: 0 / 465.5 MB, free: 5.559 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002044/0.5374, allocations: 0.6854 MB / 466.2 MB, free: 4.816 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.5374, allocations: 0 / 466.2 MB, free: 4.816 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004933/0.5379, allocations: 55.97 kB / 466.2 MB, free: 4.762 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.338e-06/0.5379, allocations: 3.984 kB / 466.2 MB, free: 4.758 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.588e-05/0.538, allocations: 4 kB / 466.2 MB, free: 4.754 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.103e-06/0.538, allocations: 0 / 466.2 MB, free: 4.754 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.538, allocations: 3.938 kB / 466.2 MB, free: 4.75 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001955/0.54, allocations: 0.5346 MB / 466.8 MB, free: 4.195 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.335e-05/0.5401, allocations: 96.86 kB / 466.8 MB, free: 4.082 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.269e-05/0.5402, allocations: 16.17 kB / 466.9 MB, free: 4.066 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003221/0.5405, allocations: 27.98 kB / 466.9 MB, free: 4.039 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.736e-05/0.5406, allocations: 19.88 kB / 466.9 MB, free: 4.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.292e-05/0.5407, allocations: 4 kB / 466.9 MB, free: 4.016 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002254/0.5409, allocations: 151.2 kB / 467.1 MB, free: 3.867 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5409, allocations: 0 / 467.1 MB, free: 3.867 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007268/0.5416, allocations: 139.8 kB / 467.2 MB, free: 3.73 MB / 346.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]) * Number of clocked states: 0 () * 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.003487/0.5451, allocations: 1.287 MB / 468.5 MB, free: 2.445 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001457/0.5466, allocations: 350.5 kB / 468.8 MB, free: 2.098 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.5467, allocations: 0 / 468.8 MB, free: 2.098 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006196/0.5473, allocations: 135.9 kB / 469 MB, free: 1.965 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.5477, allocations: 19.98 kB / 469 MB, free: 1.945 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002174/0.5499, allocations: 1.019 MB / 470 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004168/0.5504, allocations: 0.7518 MB / 470.8 MB, free: 92 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002398/0.5506, allocations: 71.41 kB / 470.8 MB, free: 20 kB / 346.7 MB Notification: Performance of SimCode: time 1.323e-06/0.5506, allocations: 0 / 470.8 MB, free: 20 kB / 346.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