Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_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 3.2.3+maint.om/package.mo): time 0.0009767/0.0009767, allocations: 176.1 kB / 8.476 MB, free: 1.883 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.166/1.166, allocations: 205.2 MB / 214.1 MB, free: 5.086 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009033/0.0009036, allocations: 87.27 kB / 262.1 MB, free: 5.137 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1668/0.1677, allocations: 52.96 MB / 315.1 MB, free: 41.4 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07576/0.2435, allocations: 47.58 MB / 362.6 MB, free: 9.867 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2286/0.4722, allocations: 77.55 MB / 440.2 MB, free: 10.66 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001964/0.4724, allocations: 71.31 kB / 440.3 MB, free: 10.66 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.01912/0.4916, allocations: 6.435 MB / 446.7 MB, free: 9.523 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.4916, allocations: 11.22 kB / 446.7 MB, free: 9.523 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001952/0.4918, allocations: 30.98 kB / 446.7 MB, free: 9.508 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.4921, allocations: 249.8 kB / 447 MB, free: 9.273 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.4921, allocations: 3.844 kB / 447 MB, free: 9.273 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.4922, allocations: 3.844 kB / 447 MB, free: 9.273 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001369/0.4923, allocations: 78.86 kB / 447.1 MB, free: 9.258 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.4924, allocations: 88.06 kB / 447.1 MB, free: 9.211 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.4925, allocations: 3.719 kB / 447.2 MB, free: 9.211 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.4925, allocations: 4 kB / 447.2 MB, free: 9.207 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.4925, allocations: 0 / 447.2 MB, free: 9.207 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004728/0.493, allocations: 395.4 kB / 447.5 MB, free: 8.906 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.4931, allocations: 97.56 kB / 447.6 MB, free: 8.879 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.868e-05/0.4932, allocations: 53.41 kB / 447.7 MB, free: 8.863 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.4932, allocations: 3.906 kB / 447.7 MB, free: 8.863 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001132/0.4933, allocations: 100.6 kB / 447.8 MB, free: 8.801 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.4933, allocations: 3.906 kB / 447.8 MB, free: 8.801 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.000253/0.4936, allocations: 162.3 kB / 448 MB, free: 8.73 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.174e-05/0.4936, allocations: 55.31 kB / 448 MB, free: 8.668 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.4938, allocations: 201.8 kB / 448.2 MB, free: 8.555 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.4938, allocations: 37.59 kB / 448.2 MB, free: 8.516 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.929e-05/0.4939, allocations: 98.81 kB / 448.3 MB, free: 8.43 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.4939, allocations: 38.22 kB / 448.4 MB, free: 8.402 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.073e-05/0.4939, allocations: 0 / 448.4 MB, free: 8.402 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.746e-05/0.494, allocations: 340.1 kB / 448.7 MB, free: 8.078 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.4941, allocations: 63.64 kB / 448.8 MB, free: 8.074 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.4942, allocations: 99.2 kB / 448.9 MB, free: 8.043 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.4944, allocations: 88.19 kB / 449 MB, free: 8.023 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4944, allocations: 3.906 kB / 449 MB, free: 8.023 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003386/0.4947, allocations: 234.3 kB / 449.2 MB, free: 7.949 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.4948, allocations: 7.75 kB / 449.2 MB, free: 7.949 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.4948, allocations: 0 / 449.2 MB, free: 7.949 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.4948, allocations: 3.906 kB / 449.2 MB, free: 7.945 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.495, allocations: 31.12 kB / 449.2 MB, free: 7.938 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.495, allocations: 3.938 kB / 449.2 MB, free: 7.934 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.4952, allocations: 31.45 kB / 449.3 MB, free: 7.914 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/0.4952, allocations: 11.62 kB / 449.3 MB, free: 7.914 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 6.451e-05/0.4953, allocations: 116.4 kB / 449.4 MB, free: 7.801 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.4953, allocations: 15.53 kB / 449.4 MB, free: 7.789 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.318e-05/0.4953, allocations: 20.44 kB / 449.4 MB, free: 7.785 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.4954, allocations: 0 / 449.4 MB, free: 7.785 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4954, allocations: 4 kB / 449.4 MB, free: 7.781 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.4954, allocations: 0 / 449.4 MB, free: 7.781 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.4955, allocations: 220.8 kB / 449.6 MB, free: 7.586 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4955, allocations: 0 / 449.6 MB, free: 7.586 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.4957, allocations: 19.55 kB / 449.7 MB, free: 7.578 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.4957, allocations: 0 / 449.7 MB, free: 7.578 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.4957, allocations: 3.969 kB / 449.7 MB, free: 7.578 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.4957, allocations: 0 / 449.7 MB, free: 7.578 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.4957, allocations: 0 / 449.7 MB, free: 7.578 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002895/0.496, allocations: 247.5 kB / 449.9 MB, free: 7.473 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003661/0.4964, allocations: 0.6853 MB / 450.6 MB, free: 6.992 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.43e-05/0.4965, allocations: 108 kB / 450.7 MB, free: 6.883 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.912e-05/0.4965, allocations: 7.312 kB / 450.7 MB, free: 6.883 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.4967, allocations: 15.8 kB / 450.7 MB, free: 6.875 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.4967, allocations: 7.828 kB / 450.7 MB, free: 6.871 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.4968, allocations: 7.828 kB / 450.7 MB, free: 6.867 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.398e-05/0.4968, allocations: 154.6 kB / 450.9 MB, free: 6.785 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000978/0.4978, allocations: 125.6 kB / 451 MB, free: 6.746 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.0007396/0.4986, allocations: 355 kB / 451.4 MB, free: 6.516 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002601/0.4988, allocations: 182.4 kB / 451.5 MB, free: 6.469 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.4989, allocations: 0 / 451.5 MB, free: 6.469 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.705e-05/0.4989, allocations: 60.09 kB / 451.6 MB, free: 6.461 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/0.4991, allocations: 20.36 kB / 451.6 MB, free: 6.453 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004997/0.4996, allocations: 260.2 kB / 451.9 MB, free: 6.297 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000192/0.4998, allocations: 0.7603 MB / 452.6 MB, free: 5.566 MB / 314.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4998, allocations: 0 / 452.6 MB, free: 5.566 MB / 314.7 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe 2>&1)