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.001469/0.00147, allocations: 178.3 kB / 8.359 MB, free: 0.7148 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.927/1.927, allocations: 205.3 MB / 214.1 MB, free: 14.16 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.001098/0.001097, allocations: 86.09 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.338e-05/2.344e-05, allocations: 4 kB / 314.9 MB, free: 9.066 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3395, allocations: 47.56 MB / 362.4 MB, free: 45.73 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1291/0.4687, allocations: 77.64 MB / 440.1 MB, free: 8.586 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003163/0.4691, allocations: 75.95 kB / 440.1 MB, free: 8.512 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03441/0.5035, allocations: 6.283 MB / 446.4 MB, free: 2.266 MB / 331.1 MB Notification: Performance of FrontEnd: time 4.068e-06/0.5035, allocations: 0 / 446.4 MB, free: 2.266 MB / 331.1 MB Notification: Performance of Transformations before backend: time 2.083e-05/0.5036, allocations: 7.938 kB / 446.4 MB, free: 2.258 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001143/0.5047, allocations: 497.2 kB / 446.9 MB, free: 1.73 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.5048, allocations: 8.031 kB / 446.9 MB, free: 1.723 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002878/0.5051, allocations: 31.7 kB / 447 MB, free: 1.691 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004785/0.5056, allocations: 251.7 kB / 447.2 MB, free: 1.402 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.5056, allocations: 0.8438 kB / 447.2 MB, free: 1.402 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.759e-05/0.5057, allocations: 11.95 kB / 447.2 MB, free: 1.391 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002659/0.506, allocations: 71.89 kB / 447.3 MB, free: 1.32 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.5062, allocations: 89.64 kB / 447.4 MB, free: 1.227 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.5063, allocations: 0 / 447.4 MB, free: 1.227 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.943e-05/0.5063, allocations: 0 / 447.4 MB, free: 1.227 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.5063, allocations: 8 kB / 447.4 MB, free: 1.219 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.5075, allocations: 417 kB / 447.8 MB, free: 0.7734 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003596/0.5079, allocations: 109.5 kB / 447.9 MB, free: 0.6602 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.5081, allocations: 48.84 kB / 447.9 MB, free: 0.6094 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.5081, allocations: 0 / 447.9 MB, free: 0.6094 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000295/0.5084, allocations: 111.5 kB / 448.1 MB, free: 500 kB / 331.1 MB Notification: Performance of pre-optimization done (n=14): time 2.264e-06/0.5084, allocations: 3.938 kB / 448.1 MB, free: 496 kB / 331.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005475/0.509, allocations: 165.4 kB / 448.2 MB, free: 324 kB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/0.5091, allocations: 59.39 kB / 448.3 MB, free: 252 kB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000326/0.5094, allocations: 199.1 kB / 448.5 MB, free: 40 kB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 6.874e-05/0.5095, allocations: 33.7 kB / 448.5 MB, free: 0 / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.5097, allocations: 174.5 kB / 448.7 MB, free: 15.83 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.608e-05/0.5097, allocations: 39.59 kB / 448.7 MB, free: 15.79 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.624e-05/0.5098, allocations: 0 / 448.7 MB, free: 15.79 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.5099, allocations: 318.8 kB / 449 MB, free: 15.47 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000206/0.5101, allocations: 67.97 kB / 449.1 MB, free: 15.4 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002358/0.5104, allocations: 92.3 kB / 449.2 MB, free: 15.3 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004022/0.5109, allocations: 96.06 kB / 449.3 MB, free: 15.21 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.5109, allocations: 0 / 449.3 MB, free: 15.21 MB / 347.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006738/0.5116, allocations: 215.9 kB / 449.5 MB, free: 15 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.5116, allocations: 4 kB / 449.5 MB, free: 14.99 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.129e-05/0.5116, allocations: 2.438 kB / 449.5 MB, free: 14.99 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.5117, allocations: 4 kB / 449.5 MB, free: 14.99 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/0.512, allocations: 31.91 kB / 449.5 MB, free: 14.96 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.719e-06/0.512, allocations: 4 kB / 449.5 MB, free: 14.95 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003711/0.5124, allocations: 38.58 kB / 449.6 MB, free: 14.92 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.54e-05/0.5125, allocations: 7.984 kB / 449.6 MB, free: 14.91 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.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 () * 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.0001507/0.5126, allocations: 116.7 kB / 449.7 MB, free: 14.79 MB / 347.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004701/0.5131, allocations: 169.3 kB / 449.9 MB, free: 14.62 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.24e-05/0.5132, allocations: 15.81 kB / 449.9 MB, free: 14.6 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.529e-05/0.5133, allocations: 21.95 kB / 449.9 MB, free: 14.58 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.5133, allocations: 0 / 449.9 MB, free: 14.58 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.5133, allocations: 4 kB / 449.9 MB, free: 14.57 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.5133, allocations: 0 / 449.9 MB, free: 14.57 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003352/0.5137, allocations: 214.1 kB / 450.1 MB, free: 14.33 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.5137, allocations: 3.953 kB / 450.1 MB, free: 14.32 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/0.5139, allocations: 12 kB / 450.1 MB, free: 14.31 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.596e-05/0.514, allocations: 3.984 kB / 450.1 MB, free: 14.31 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.83e-05/0.514, allocations: 8 kB / 450.1 MB, free: 14.3 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.514, allocations: 0 / 450.1 MB, free: 14.3 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.514, allocations: 3.938 kB / 450.1 MB, free: 14.3 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00068/0.5147, allocations: 253.2 kB / 450.4 MB, free: 14.03 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001634/0.5149, allocations: 116.8 kB / 450.5 MB, free: 13.9 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.798e-05/0.515, allocations: 7.984 kB / 450.5 MB, free: 13.89 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000333/0.5153, allocations: 15.97 kB / 450.5 MB, free: 13.88 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.343e-05/0.5154, allocations: 14.98 kB / 450.5 MB, free: 13.86 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/0.5154, allocations: 0 / 450.5 MB, free: 13.86 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0002363/0.5157, allocations: 157.5 kB / 450.7 MB, free: 13.71 MB / 347.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5157, allocations: 4.062 kB / 450.7 MB, free: 13.71 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0007146/0.5164, allocations: 107.9 kB / 450.8 MB, free: 13.6 MB / 347.1 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]) * 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.002228/0.5187, allocations: 1.002 MB / 451.8 MB, free: 12.61 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.0005645/0.5193, allocations: 177.8 kB / 452 MB, free: 12.43 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.5193, allocations: 1.031 kB / 452 MB, free: 12.43 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.5195, allocations: 59.97 kB / 452 MB, free: 12.37 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.5198, allocations: 15.78 kB / 452.1 MB, free: 12.36 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.5212, allocations: 385.7 kB / 452.4 MB, free: 11.94 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004204/0.5217, allocations: 0.7358 MB / 453.2 MB, free: 11.18 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001731/0.5219, allocations: 47.98 kB / 453.2 MB, free: 11.13 MB / 347.1 MB Notification: Performance of SimCode: time 1.613e-06/0.5219, allocations: 0 / 453.2 MB, free: 11.13 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_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:237: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/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_DrydenContinuousTurbulenceCalcHelperMain.o' failed make: *** [OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulenceCalcHelperMain.o] Error 1