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.002429/0.002429, allocations: 181.6 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.182/2.182, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001108/0.001108, allocations: 86.66 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.209e-05/3.222e-05, allocations: 4 kB / 321.6 MB, free: 17.74 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09518/0.09525, allocations: 47.57 MB / 369.2 MB, free: 2.105 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4153/0.5106, allocations: 78.3 MB / 447.5 MB, free: 14.61 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/0.5109, allocations: 71.66 kB / 447.5 MB, free: 14.57 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03176/0.5427, allocations: 6.325 MB / 453.9 MB, free: 9.102 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5428, allocations: 0 / 453.9 MB, free: 9.102 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.052e-05/0.5428, allocations: 4 kB / 453.9 MB, free: 9.098 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001115/0.5439, allocations: 0.49 MB / 454.4 MB, free: 8.578 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.544, allocations: 8.031 kB / 454.4 MB, free: 8.57 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.92e-05/0.5441, allocations: 38.55 kB / 454.4 MB, free: 8.523 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002921/0.5444, allocations: 35.52 kB / 454.4 MB, free: 8.492 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000469/0.5449, allocations: 239 kB / 454.7 MB, free: 8.23 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.5449, allocations: 3.688 kB / 454.7 MB, free: 8.23 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.809e-05/0.545, allocations: 15.94 kB / 454.7 MB, free: 8.215 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.5453, allocations: 100.5 kB / 454.8 MB, free: 8.129 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.5453, allocations: 4 kB / 454.8 MB, free: 8.125 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.5453, allocations: 3.938 kB / 454.8 MB, free: 8.125 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.5453, allocations: 4 kB / 454.8 MB, free: 8.121 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000252/0.5456, allocations: 63.41 kB / 454.9 MB, free: 8.074 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.5468, allocations: 458.3 kB / 455.3 MB, free: 7.633 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/0.5472, allocations: 116.8 kB / 455.4 MB, free: 7.535 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/0.5473, allocations: 51.84 kB / 455.5 MB, free: 7.496 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.5473, allocations: 0 / 455.5 MB, free: 7.496 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002703/0.5476, allocations: 109.7 kB / 455.6 MB, free: 7.398 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 2.385e-06/0.5476, allocations: 0 / 455.6 MB, free: 7.398 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005278/0.5482, allocations: 175.6 kB / 455.8 MB, free: 7.25 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.05e-05/0.5483, allocations: 63.39 kB / 455.8 MB, free: 7.176 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003369/0.5486, allocations: 197.7 kB / 456 MB, free: 7.004 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.681e-05/0.5487, allocations: 37.33 kB / 456.1 MB, free: 6.969 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.5488, allocations: 173.7 kB / 456.2 MB, free: 6.812 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.269e-05/0.5489, allocations: 47.39 kB / 456.3 MB, free: 6.773 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.763e-05/0.5489, allocations: 3.75 kB / 456.3 MB, free: 6.773 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.5491, allocations: 322.7 kB / 456.6 MB, free: 6.453 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/0.5493, allocations: 70.78 kB / 456.7 MB, free: 6.406 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002608/0.5496, allocations: 101.7 kB / 456.8 MB, free: 6.324 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002389/0.5498, allocations: 86.92 kB / 456.8 MB, free: 6.266 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.5498, allocations: 0 / 456.8 MB, free: 6.266 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005871/0.5504, allocations: 224.1 kB / 457.1 MB, free: 6.094 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.5505, allocations: 4 kB / 457.1 MB, free: 6.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.02e-05/0.5505, allocations: 4 kB / 457.1 MB, free: 6.086 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.5505, allocations: 3.938 kB / 457.1 MB, free: 6.082 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003109/0.5509, allocations: 39.91 kB / 457.1 MB, free: 6.043 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.5509, allocations: 4.031 kB / 457.1 MB, free: 6.039 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003597/0.5513, allocations: 32.7 kB / 457.1 MB, free: 6.012 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.723e-05/0.5513, allocations: 11.98 kB / 457.2 MB, free: 6 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.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.0001425/0.5515, allocations: 124.1 kB / 457.3 MB, free: 5.879 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.723e-05/0.5515, allocations: 15.75 kB / 457.3 MB, free: 5.863 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.861e-05/0.5516, allocations: 25.45 kB / 457.3 MB, free: 5.852 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.5516, allocations: 4 kB / 457.3 MB, free: 5.848 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.5516, allocations: 0 / 457.3 MB, free: 5.848 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.5517, allocations: 0 / 457.3 MB, free: 5.848 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003379/0.552, allocations: 240.4 kB / 457.6 MB, free: 5.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.552, allocations: 0 / 457.6 MB, free: 5.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002243/0.5523, allocations: 15.98 kB / 457.6 MB, free: 5.574 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.01e-05/0.5523, allocations: 4 kB / 457.6 MB, free: 5.57 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/0.5523, allocations: 96 / 457.6 MB, free: 5.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.5523, allocations: 3.938 kB / 457.6 MB, free: 5.566 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.5523, allocations: 0 / 457.6 MB, free: 5.566 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006503/0.553, allocations: 278.8 kB / 457.9 MB, free: 5.332 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/0.5532, allocations: 116.6 kB / 458 MB, free: 5.207 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.241e-05/0.5532, allocations: 4 kB / 458 MB, free: 5.203 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003265/0.5536, allocations: 19.78 kB / 458 MB, free: 5.188 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.56e-05/0.5537, allocations: 7.984 kB / 458 MB, free: 5.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/0.5537, allocations: 4 kB / 458 MB, free: 5.176 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002509/0.554, allocations: 164.4 kB / 458.2 MB, free: 5.043 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.554, allocations: 4 kB / 458.2 MB, free: 5.039 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006391/0.5546, allocations: 119.5 kB / 458.3 MB, free: 4.93 MB / 330.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]) * 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.002026/0.5567, allocations: 1.004 MB / 459.3 MB, free: 3.969 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005414/0.5572, allocations: 188.1 kB / 459.5 MB, free: 3.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.5573, allocations: 4.062 kB / 459.5 MB, free: 3.816 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.5575, allocations: 63.03 kB / 459.5 MB, free: 3.77 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.5578, allocations: 23.27 kB / 459.6 MB, free: 3.754 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.5591, allocations: 403.8 kB / 460 MB, free: 3.348 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.5596, allocations: 0.736 MB / 460.7 MB, free: 2.59 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.5597, allocations: 50.23 kB / 460.7 MB, free: 2.57 MB / 330.7 MB Notification: Performance of SimCode: time 1.373e-06/0.5597, allocations: 0 / 460.7 MB, free: 2.57 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_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/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