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.91/1.91, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.52e-05/4.557e-05, allocations: 8 kB / 249.6 MB, free: 15.3 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2632, allocations: 44.5 MB / 294.1 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.114/0.3773, allocations: 73.44 MB / 367.5 MB, free: 8.559 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/0.3776, allocations: 79.73 kB / 367.6 MB, free: 8.484 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02765/0.4053, allocations: 6.245 MB / 373.9 MB, free: 2.227 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.782e-06/0.4053, allocations: 0 / 373.9 MB, free: 2.227 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.712e-05/0.4054, allocations: 4 kB / 373.9 MB, free: 2.223 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.0009204/0.4063, allocations: 494.2 kB / 374.4 MB, free: 1.695 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.4064, allocations: 12.03 kB / 374.4 MB, free: 1.684 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002735/0.4067, allocations: 23.8 kB / 374.4 MB, free: 1.66 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003996/0.4071, allocations: 251.6 kB / 374.6 MB, free: 1.371 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.4071, allocations: 4 kB / 374.6 MB, free: 1.367 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.536e-05/0.4072, allocations: 15.98 kB / 374.7 MB, free: 1.352 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001993/0.4074, allocations: 63.97 kB / 374.7 MB, free: 1.289 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.4076, allocations: 94.7 kB / 374.8 MB, free: 1.191 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.4076, allocations: 0 / 374.8 MB, free: 1.191 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.4077, allocations: 0 / 374.8 MB, free: 1.191 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.123e-06/0.4077, allocations: 0 / 374.8 MB, free: 1.191 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009231/0.4086, allocations: 421 kB / 375.2 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002692/0.4089, allocations: 106.5 kB / 375.3 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.409, allocations: 52.83 kB / 375.4 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.4091, allocations: 0 / 375.4 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002285/0.4093, allocations: 107.4 kB / 375.5 MB, free: 468 kB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 5.181e-06/0.4093, allocations: 96 / 375.5 MB, free: 468 kB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.000446/0.4098, allocations: 173.1 kB / 375.6 MB, free: 292 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.4098, allocations: 67.39 kB / 375.7 MB, free: 212 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002885/0.4101, allocations: 187.1 kB / 375.9 MB, free: 20 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.104e-05/0.4102, allocations: 37.69 kB / 375.9 MB, free: 15.98 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.4104, allocations: 170.6 kB / 376.1 MB, free: 15.81 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.332e-05/0.4105, allocations: 43.59 kB / 376.1 MB, free: 15.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.492e-05/0.4105, allocations: 0 / 376.1 MB, free: 15.77 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.4107, allocations: 330.8 kB / 376.5 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.4109, allocations: 67.97 kB / 376.5 MB, free: 15.37 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/0.4111, allocations: 85.97 kB / 376.6 MB, free: 15.27 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003629/0.4114, allocations: 88.06 kB / 376.7 MB, free: 15.19 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.024e-06/0.4115, allocations: 7.938 kB / 376.7 MB, free: 15.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006187/0.4121, allocations: 222.5 kB / 376.9 MB, free: 14.96 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.4121, allocations: 6.031 kB / 376.9 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/0.4122, allocations: 8.031 kB / 376.9 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.4122, allocations: 0 / 376.9 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002387/0.4124, allocations: 31.92 kB / 377 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.4125, allocations: 3.984 kB / 377 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002605/0.4127, allocations: 23.83 kB / 377 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.296e-05/0.4128, allocations: 12 kB / 377 MB, free: 14.88 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.0001403/0.4129, allocations: 123.6 kB / 377.1 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.427e-05/0.413, allocations: 15.81 kB / 377.1 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.393e-05/0.4131, allocations: 17.97 kB / 377.2 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.138e-06/0.4131, allocations: 7.984 kB / 377.2 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.069e-06/0.4131, allocations: 0 / 377.2 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.4131, allocations: 3.938 kB / 377.2 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003067/0.4134, allocations: 214 kB / 377.4 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.563e-06/0.4135, allocations: 3.938 kB / 377.4 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.4136, allocations: 15.98 kB / 377.4 MB, free: 14.44 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.659e-06/0.4137, allocations: 0 / 377.4 MB, free: 14.44 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.505e-05/0.4137, allocations: 11.98 kB / 377.4 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.4137, allocations: 0 / 377.4 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.572e-06/0.4137, allocations: 0 / 377.4 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005549/0.4143, allocations: 252.8 kB / 377.7 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.4144, allocations: 112.9 kB / 377.8 MB, free: 14.03 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.2e-05/0.4145, allocations: 7.984 kB / 377.8 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/0.4148, allocations: 20.05 kB / 377.8 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.513e-05/0.4148, allocations: 7.984 kB / 377.8 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/0.4149, allocations: 7.984 kB / 377.8 MB, free: 13.99 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002003/0.4151, allocations: 157.5 kB / 378 MB, free: 13.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.07e-07/0.4151, allocations: 0 / 378 MB, free: 13.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005887/0.4157, allocations: 119.7 kB / 378.1 MB, free: 13.72 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.001029/0.4167, allocations: 324.2 kB / 378.4 MB, free: 13.42 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004348/0.4172, allocations: 173.8 kB / 378.6 MB, free: 13.25 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.343e-06/0.4172, allocations: 1.062 kB / 378.6 MB, free: 13.25 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.4174, allocations: 59.92 kB / 378.6 MB, free: 13.19 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.4176, allocations: 19.84 kB / 378.7 MB, free: 13.17 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007839/0.4184, allocations: 284.8 kB / 378.9 MB, free: 12.86 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004364/0.4189, allocations: 0.728 MB / 379.7 MB, free: 12.1 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.697e-05/0.419, allocations: 15.44 kB / 379.7 MB, free: 12.09 MB / 330.7 MB Notification: Performance of SimCode: time 1.977e-06/0.419, allocations: 0 / 379.7 MB, free: 12.09 MB / 330.7 MB Notification: Performance of Templates: time 0.008943/0.428, allocations: 3.868 MB / 383.5 MB, free: 8.211 MB / 330.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=5 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/cpp/" -I. -I"." -I"." -I"." -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