Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 187.2 kB / 8.138 MB, free: 2.137 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.214/1.214, allocations: 221.4 MB / 229.9 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009652/0.0009649, allocations: 107.4 kB / 280.8 MB, free: 1.277 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1014/0.1024, allocations: 55.81 MB / 336.6 MB, free: 9.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.334, allocations: 50.39 MB / 387 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09021/0.4242, allocations: 78.49 MB / 465.5 MB, free: 8.281 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/0.4246, allocations: 79.89 kB / 465.6 MB, free: 8.203 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.0205/0.4451, allocations: 6.474 MB / 472 MB, free: 1.711 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.4451, allocations: 8 kB / 472.1 MB, free: 1.703 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002256/0.4454, allocations: 35.7 kB / 472.1 MB, free: 1.668 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003249/0.4457, allocations: 251.6 kB / 472.3 MB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.4457, allocations: 4 kB / 472.3 MB, free: 1.375 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.402e-05/0.4458, allocations: 4 kB / 472.3 MB, free: 1.371 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000165/0.446, allocations: 73.52 kB / 472.4 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.4462, allocations: 93.23 kB / 472.5 MB, free: 1.207 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.4462, allocations: 8 kB / 472.5 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.4462, allocations: 0 / 472.5 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.4462, allocations: 1.031 kB / 472.5 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000627/0.4469, allocations: 401 kB / 472.9 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.447, allocations: 97.62 kB / 473 MB, free: 0.668 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.116e-05/0.4471, allocations: 48.84 kB / 473 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.4472, allocations: 8 kB / 473.1 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002012/0.4474, allocations: 103.4 kB / 473.2 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 2.715e-06/0.4474, allocations: 0 / 473.2 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003442/0.4477, allocations: 156.3 kB / 473.3 MB, free: 348 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.4478, allocations: 55.41 kB / 473.4 MB, free: 280 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002924/0.4481, allocations: 194.9 kB / 473.6 MB, free: 80 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.936e-05/0.4482, allocations: 37.69 kB / 473.6 MB, free: 36 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.379e-05/0.4482, allocations: 100.1 kB / 473.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.174e-05/0.4483, allocations: 47.53 kB / 473.7 MB, free: 15.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.141e-05/0.4483, allocations: 0 / 473.7 MB, free: 15.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.4485, allocations: 334.7 kB / 474.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.4486, allocations: 71.97 kB / 474.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.4487, allocations: 92.11 kB / 474.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002178/0.449, allocations: 84.3 kB / 474.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.449, allocations: 0 / 474.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004509/0.4494, allocations: 237.8 kB / 474.5 MB, free: 15.06 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.4495, allocations: 4 kB / 474.5 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.4495, allocations: 4 kB / 474.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.4495, allocations: 0 / 474.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.4497, allocations: 27.89 kB / 474.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.4497, allocations: 5.688 kB / 474.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002359/0.4499, allocations: 24.42 kB / 474.6 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.073e-05/0.45, allocations: 11.94 kB / 474.6 MB, free: 14.99 MB / 362.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.0001103/0.4501, allocations: 117 kB / 474.7 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/0.4501, allocations: 19.75 kB / 474.7 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.319e-05/0.4502, allocations: 21.38 kB / 474.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.4502, allocations: 0 / 474.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.4502, allocations: 0.875 kB / 474.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.4502, allocations: 3.984 kB / 474.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.4504, allocations: 226 kB / 475 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.4505, allocations: 0 / 475 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001446/0.4506, allocations: 19.92 kB / 475 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.4506, allocations: 0 / 475 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.4506, allocations: 4.938 kB / 475 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.4506, allocations: 0 / 475 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.4507, allocations: 0 / 475 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003651/0.451, allocations: 244.8 kB / 475.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005601/0.4516, allocations: 0.6862 MB / 475.9 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.912e-05/0.4517, allocations: 105 kB / 476 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.454e-05/0.4517, allocations: 11.94 kB / 476.1 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.4519, allocations: 21.03 kB / 476.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.339e-05/0.452, allocations: 12.11 kB / 476.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.452, allocations: 4 kB / 476.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001376/0.4522, allocations: 157.5 kB / 476.2 MB, free: 13.26 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009975/0.4532, allocations: 119.7 kB / 476.4 MB, free: 13.14 MB / 362.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.0009839/0.4542, allocations: 338 kB / 476.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003425/0.4545, allocations: 177.8 kB / 476.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4545, allocations: 0 / 476.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.4547, allocations: 59.98 kB / 476.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/0.4549, allocations: 18.91 kB / 476.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007182/0.4556, allocations: 258.9 kB / 477.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004077/0.456, allocations: 0.7662 MB / 478 MB, free: 11.51 MB / 362.7 MB Notification: Performance of SimCode: time 3.21e-07/0.456, allocations: 0 / 478 MB, free: 11.51 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1)