Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.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.DrydenContinuousTurbulence,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence",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.001566/0.001566, 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 2.045/2.045, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001172/0.001171, allocations: 93.23 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003943/0.0003944, allocations: 12 kB / 327.1 MB, free: 136 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3415, allocations: 47.57 MB / 374.6 MB, free: 45.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.133/0.4746, allocations: 78.4 MB / 453 MB, free: 2.375 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000327/0.475, allocations: 79.95 kB / 453.1 MB, free: 2.297 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03226/0.5073, allocations: 6.368 MB / 459.5 MB, free: 11.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5073, allocations: 3.938 kB / 459.5 MB, free: 11.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.105e-05/0.5074, allocations: 4 kB / 459.5 MB, free: 11.91 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.00171/0.5091, allocations: 0.5455 MB / 460 MB, free: 11.31 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.5092, allocations: 8.031 kB / 460 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.956e-05/0.5092, allocations: 38.56 kB / 460.1 MB, free: 11.26 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000287/0.5095, allocations: 31.8 kB / 460.1 MB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007814/0.5103, allocations: 267.7 kB / 460.4 MB, free: 10.92 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.804e-05/0.5104, allocations: 4 kB / 460.4 MB, free: 10.92 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.991e-05/0.5105, allocations: 11.95 kB / 460.4 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003457/0.5108, allocations: 105.6 kB / 460.5 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.5108, allocations: 0 / 460.5 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.5109, allocations: 4 kB / 460.5 MB, free: 10.79 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.5109, allocations: 4 kB / 460.5 MB, free: 10.79 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003253/0.5112, allocations: 79.94 kB / 460.6 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/0.5125, allocations: 456.4 kB / 461 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004475/0.513, allocations: 126.5 kB / 461.1 MB, free: 10.08 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.513, allocations: 0 / 461.1 MB, free: 10.08 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003454/0.5134, allocations: 119.3 kB / 461.3 MB, free: 9.953 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 2.215e-06/0.5134, allocations: 0 / 461.3 MB, free: 9.953 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008955/0.5143, allocations: 326.6 kB / 461.6 MB, free: 9.609 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.113e-05/0.5144, allocations: 55.41 kB / 461.6 MB, free: 9.543 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000668/0.5151, allocations: 226.9 kB / 461.8 MB, free: 9.316 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.932e-05/0.5152, allocations: 41.69 kB / 461.9 MB, free: 9.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.5153, allocations: 166.6 kB / 462.1 MB, free: 9.105 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.108e-05/0.5154, allocations: 43.59 kB / 462.1 MB, free: 9.062 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.32e-05/0.5154, allocations: 4 kB / 462.1 MB, free: 9.059 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.5156, allocations: 322.8 kB / 462.4 MB, free: 8.734 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002875/0.5159, allocations: 79.95 kB / 462.5 MB, free: 8.656 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003098/0.5162, allocations: 104.9 kB / 462.6 MB, free: 8.547 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003261/0.5166, allocations: 101.1 kB / 462.7 MB, free: 8.449 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.5166, allocations: 0 / 462.7 MB, free: 8.449 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007377/0.5173, allocations: 250.2 kB / 462.9 MB, free: 8.199 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.5174, allocations: 8 kB / 462.9 MB, free: 8.191 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/0.5174, allocations: 4.031 kB / 462.9 MB, free: 8.188 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.5174, allocations: 96 / 462.9 MB, free: 8.188 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003113/0.5178, allocations: 39.86 kB / 463 MB, free: 8.148 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.5178, allocations: 0 / 463 MB, free: 8.148 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000366/0.5182, allocations: 27.88 kB / 463 MB, free: 8.121 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.532e-05/0.5182, allocations: 8 kB / 463 MB, free: 8.113 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.whiteNoise.state[1],whiteNoise.state[1],$PRE.whiteNoise.state[2],whiteNoise.state[2],$PRE.whiteNoise.state[3],whiteNoise.state[3],$PRE.whiteNoise.state[4],whiteNoise.state[4],$PRE.whiteNoise.r,whiteNoise.r,$PRE.whiteNoise.r_raw,whiteNoise.r_raw,whiteNoise.localSeed,whiteNoise.actualGlobalSeed,globalSeed.seed,globalSeed.id_impure) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * 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.000222/0.5185, allocations: 153.6 kB / 463.2 MB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.648e-05/0.5185, allocations: 15.81 kB / 463.2 MB, free: 7.938 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.082e-05/0.5186, allocations: 25.52 kB / 463.2 MB, free: 7.918 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.5186, allocations: 0 / 463.2 MB, free: 7.918 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.5186, allocations: 0 / 463.2 MB, free: 7.918 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.5186, allocations: 0 / 463.2 MB, free: 7.918 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003584/0.519, allocations: 233.6 kB / 463.4 MB, free: 7.641 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.519, allocations: 3.953 kB / 463.4 MB, free: 7.637 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.5192, allocations: 19.92 kB / 463.5 MB, free: 7.617 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.418e-06/0.5193, allocations: 4 kB / 463.5 MB, free: 7.613 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.5193, allocations: 8 kB / 463.5 MB, free: 7.605 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.5193, allocations: 4 kB / 463.5 MB, free: 7.602 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.5193, allocations: 0 / 463.5 MB, free: 7.602 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008282/0.5202, allocations: 288.7 kB / 463.8 MB, free: 7.301 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/0.5203, allocations: 108.9 kB / 463.9 MB, free: 7.176 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.392e-05/0.5204, allocations: 8.062 kB / 463.9 MB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003237/0.5207, allocations: 23.97 kB / 463.9 MB, free: 7.145 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.892e-05/0.5208, allocations: 7.984 kB / 463.9 MB, free: 7.137 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/0.5209, allocations: 4 kB / 463.9 MB, free: 7.133 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005503/0.5214, allocations: 185.4 kB / 464.1 MB, free: 6.953 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5214, allocations: 0 / 464.1 MB, free: 6.953 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006709/0.5221, allocations: 123.8 kB / 464.2 MB, free: 6.832 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Hw.x_scaled[1],Hw.x_scaled[2]) * Number of discrete variables: 7 ($whenCondition1,whiteNoise.state[1],whiteNoise.state[2],whiteNoise.state[3],whiteNoise.state[4],whiteNoise.r,whiteNoise.r_raw) * Number of discrete states: 4 (whiteNoise.state[1],whiteNoise.state[2],whiteNoise.state[3],whiteNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.002263/0.5244, allocations: 1.027 MB / 465.2 MB, free: 5.805 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007172/0.5252, allocations: 202.5 kB / 465.4 MB, free: 5.602 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.5252, allocations: 3.938 kB / 465.4 MB, free: 5.598 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002217/0.5254, allocations: 71.91 kB / 465.5 MB, free: 5.527 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.5257, allocations: 19.33 kB / 465.5 MB, free: 5.512 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.5275, allocations: 0.854 MB / 466.4 MB, free: 4.602 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.5279, allocations: 0.7321 MB / 467.1 MB, free: 3.844 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.5281, allocations: 47.42 kB / 467.2 MB, free: 3.797 MB / 346.7 MB Notification: Performance of SimCode: time 1.653e-06/0.5281, allocations: 0 / 467.2 MB, free: 3.797 MB / 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_DrydenContinuousTurbulenceCalcHelperMain.o OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulenceCalcHelperMain.cpp In file included from OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulenceCalcHelperMain.cpp:31: ./OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulenceInitialize.cpp:235:3: error: use of undeclared identifier '$PRE_P_whiteNoise_P_state_'; did you mean '_whiteNoise_P_state_'? $PRE_P_whiteNoise_P_state_.assign(tmp58); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _whiteNoise_P_state_ ./OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence.h:199:33: note: '_whiteNoise_P_state_' declared here StatArrayDim1 _whiteNoise_P_state_; ^ In file included from OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulenceCalcHelperMain.cpp:35: In file included from ./OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulenceFMU.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_DrydenContinuousTurbulenceCalcHelperMain.o' failed make: *** [OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulenceCalcHelperMain.o] Error 1