Running command: translateModel(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Hw.x_scaled.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence") Notification: Performance of loadModel(Modelica): time 1.816/1.816, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.604e-05/2.626e-05, allocations: 3.344 kB / 255.4 MB, free: 3.176 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07584/0.07589, allocations: 44.5 MB / 299.9 MB, free: 6.609 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3407/0.4167, allocations: 74.1 MB / 374 MB, free: 22 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.4169, allocations: 71.39 kB / 374 MB, free: 22 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02664/0.4436, allocations: 6.286 MB / 380.3 MB, free: 21.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.426e-06/0.4436, allocations: 0 / 380.3 MB, free: 21.3 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.6e-05/0.4437, allocations: 3.594 kB / 380.3 MB, free: 21.3 MB / 314.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.0008162/0.4445, allocations: 499.4 kB / 380.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.4445, allocations: 8.719 kB / 380.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002469/0.4448, allocations: 28.19 kB / 380.8 MB, free: 20.87 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/0.4451, allocations: 241.2 kB / 381.1 MB, free: 20.66 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.4452, allocations: 15.11 kB / 381.1 MB, free: 20.65 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.297e-05/0.4452, allocations: 9.312 kB / 381.1 MB, free: 20.65 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.4455, allocations: 105.1 kB / 381.2 MB, free: 20.61 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.4455, allocations: 1.219 kB / 381.2 MB, free: 20.61 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.4455, allocations: 1.875 kB / 381.2 MB, free: 20.61 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.369e-06/0.4455, allocations: 1.188 kB / 381.2 MB, free: 20.61 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002038/0.4458, allocations: 68.53 kB / 381.3 MB, free: 20.61 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008227/0.4466, allocations: 443.7 kB / 381.7 MB, free: 20.34 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002746/0.4469, allocations: 109.3 kB / 381.8 MB, free: 20.31 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.447, allocations: 53 kB / 381.9 MB, free: 20.3 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.4471, allocations: 1.25 kB / 381.9 MB, free: 20.3 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002119/0.4473, allocations: 112 kB / 382 MB, free: 20.25 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 2.979e-06/0.4473, allocations: 4 kB / 382 MB, free: 20.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004037/0.4477, allocations: 173.7 kB / 382.2 MB, free: 20.2 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.4478, allocations: 61.86 kB / 382.2 MB, free: 20.13 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002526/0.448, allocations: 203.5 kB / 382.4 MB, free: 20.04 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.901e-05/0.4481, allocations: 44.44 kB / 382.5 MB, free: 20 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.459e-05/0.4482, allocations: 174.5 kB / 382.6 MB, free: 19.85 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.02e-05/0.4482, allocations: 39.8 kB / 382.7 MB, free: 19.83 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.669e-05/0.4483, allocations: 3.562 kB / 382.7 MB, free: 19.83 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.553e-05/0.4483, allocations: 325.6 kB / 383 MB, free: 19.51 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.4485, allocations: 78.3 kB / 383.1 MB, free: 19.51 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001828/0.4487, allocations: 90.28 kB / 383.2 MB, free: 19.49 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.4489, allocations: 92.25 kB / 383.2 MB, free: 19.48 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.068e-06/0.4489, allocations: 0 / 383.2 MB, free: 19.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004696/0.4494, allocations: 218.3 kB / 383.5 MB, free: 19.44 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.4494, allocations: 6.438 kB / 383.5 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.4495, allocations: 1.594 kB / 383.5 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.4495, allocations: 6.281 kB / 383.5 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.4497, allocations: 30.69 kB / 383.5 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.4498, allocations: 5.812 kB / 383.5 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002442/0.45, allocations: 32.16 kB / 383.5 MB, free: 19.42 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.126e-05/0.4501, allocations: 12.56 kB / 383.5 MB, free: 19.42 MB / 314.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 8.46e-05/0.4502, allocations: 114.5 kB / 383.7 MB, free: 19.31 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.009e-05/0.4502, allocations: 19.88 kB / 383.7 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.522e-05/0.4503, allocations: 25.81 kB / 383.7 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.036e-06/0.4503, allocations: 3.984 kB / 383.7 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.205e-06/0.4503, allocations: 0 / 383.7 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.214e-06/0.4503, allocations: 5.625 kB / 383.7 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.4506, allocations: 245.5 kB / 384 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.266e-06/0.4506, allocations: 1.469 kB / 384 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001711/0.4508, allocations: 19.62 kB / 384 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.4508, allocations: 1.625 kB / 384 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/0.4508, allocations: 6.922 kB / 384 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.862e-06/0.4509, allocations: 4 kB / 384 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.423e-06/0.4509, allocations: 1.344 kB / 384 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000501/0.4514, allocations: 256.5 kB / 384.2 MB, free: 19.02 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.754e-05/0.4515, allocations: 105.3 kB / 384.3 MB, free: 18.91 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.12e-05/0.4516, allocations: 8.172 kB / 384.3 MB, free: 18.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.4518, allocations: 17.23 kB / 384.4 MB, free: 18.91 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.616e-05/0.4519, allocations: 20.12 kB / 384.4 MB, free: 18.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.4519, allocations: 5.328 kB / 384.4 MB, free: 18.91 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001839/0.4521, allocations: 159.2 kB / 384.5 MB, free: 18.83 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.31e-07/0.4521, allocations: 192 / 384.5 MB, free: 18.83 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006409/0.4528, allocations: 123.2 kB / 384.7 MB, free: 18.79 MB / 314.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.0009628/0.4537, allocations: 327.4 kB / 385 MB, free: 18.62 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003949/0.4542, allocations: 188.8 kB / 385.2 MB, free: 18.58 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.58e-06/0.4542, allocations: 1.25 kB / 385.2 MB, free: 18.58 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.4543, allocations: 60.83 kB / 385.2 MB, free: 18.57 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.4546, allocations: 25.2 kB / 385.3 MB, free: 18.57 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006526/0.4552, allocations: 279.3 kB / 385.5 MB, free: 18.42 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001873/0.4554, allocations: 0.7371 MB / 386.3 MB, free: 17.72 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.305e-05/0.4555, allocations: 20.62 kB / 386.3 MB, free: 17.71 MB / 314.7 MB Notification: Performance of SimCode: time 1.587e-06/0.4556, allocations: 0 / 386.3 MB, free: 17.71 MB / 314.7 MB Notification: Performance of Templates: time 0.01249/0.4681, allocations: 3.837 MB / 390.1 MB, free: 17.33 MB / 314.7 MB make -j1 -f Modelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.makefile clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulenceCalcHelperMain.o OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulenceCalcHelperMain.cpp In file included from OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulenceCalcHelperMain.cpp:29: ./OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulenceInitialize.cpp:226: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.2_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.h:199:33: note: '_whiteNoise_P_state_' declared here StatArrayDim1 _whiteNoise_P_state_; ^ 1 error generated. : recipe for target 'OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulenceCalcHelperMain.o' failed make: *** [OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulenceCalcHelperMain.o] Error 1