Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.00141/0.00141, allocations: 198.4 kB / 8.538 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 225.5 MB / 234.4 MB, free: 3.391 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001188/0.001188, allocations: 92.28 kB / 286.3 MB, free: 5.215 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1187/0.1199, allocations: 56.9 MB / 343.2 MB, free: 8.652 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.2237, allocations: 51.46 MB / 394.7 MB, free: 5.133 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2782/0.502, allocations: 79.31 MB / 474 MB, free: 13.06 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001875/0.5022, allocations: 77.42 kB / 474.1 MB, free: 13.04 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.01948/0.5217, allocations: 6.569 MB / 480.6 MB, free: 8.449 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.5217, allocations: 12 kB / 480.7 MB, free: 8.438 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002156/0.522, allocations: 39.69 kB / 480.7 MB, free: 8.398 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/0.5223, allocations: 257.1 kB / 480.9 MB, free: 8.121 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.5223, allocations: 3.984 kB / 481 MB, free: 8.117 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/0.5223, allocations: 8 kB / 481 MB, free: 8.109 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001385/0.5225, allocations: 65.78 kB / 481 MB, free: 8.062 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.5226, allocations: 91.23 kB / 481.1 MB, free: 7.984 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.5227, allocations: 0 / 481.1 MB, free: 7.984 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.5227, allocations: 0 / 481.1 MB, free: 7.984 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.5227, allocations: 4 kB / 481.1 MB, free: 7.98 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005147/0.5232, allocations: 399.3 kB / 481.5 MB, free: 7.602 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.5234, allocations: 92.81 kB / 481.6 MB, free: 7.527 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.678e-05/0.5235, allocations: 53.53 kB / 481.6 MB, free: 7.488 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.5235, allocations: 0 / 481.6 MB, free: 7.488 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001291/0.5236, allocations: 111.3 kB / 481.8 MB, free: 7.387 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.5236, allocations: 0 / 481.8 MB, free: 7.387 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002957/0.5239, allocations: 157.9 kB / 481.9 MB, free: 7.254 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.393e-05/0.524, allocations: 55.41 kB / 482 MB, free: 7.188 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.5241, allocations: 198.7 kB / 482.2 MB, free: 7.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.5242, allocations: 32.89 kB / 482.2 MB, free: 6.984 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.722e-05/0.5242, allocations: 98.62 kB / 482.3 MB, free: 6.891 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.943e-05/0.5243, allocations: 38.28 kB / 482.3 MB, free: 6.859 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-05/0.5243, allocations: 4 kB / 482.3 MB, free: 6.855 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.335e-05/0.5244, allocations: 337.9 kB / 482.7 MB, free: 6.523 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.5245, allocations: 68.09 kB / 482.7 MB, free: 6.48 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.5246, allocations: 92.94 kB / 482.8 MB, free: 6.406 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002218/0.5248, allocations: 86.97 kB / 482.9 MB, free: 6.348 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.5248, allocations: 0 / 482.9 MB, free: 6.348 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000376/0.5252, allocations: 234 kB / 483.1 MB, free: 6.16 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.5252, allocations: 8.031 kB / 483.1 MB, free: 6.152 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.5253, allocations: 0 / 483.1 MB, free: 6.152 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.5253, allocations: 7.906 kB / 483.1 MB, free: 6.145 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.5255, allocations: 23.98 kB / 483.2 MB, free: 6.121 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.5255, allocations: 0 / 483.2 MB, free: 6.121 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.5257, allocations: 31.7 kB / 483.2 MB, free: 6.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.955e-05/0.5257, allocations: 14.98 kB / 483.2 MB, free: 6.078 MB / 346.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.467e-05/0.5258, allocations: 111.9 kB / 483.3 MB, free: 5.965 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.5258, allocations: 19.72 kB / 483.3 MB, free: 5.945 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.726e-05/0.5259, allocations: 22.95 kB / 483.4 MB, free: 5.934 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.5259, allocations: 7.984 kB / 483.4 MB, free: 5.926 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.5259, allocations: 0 / 483.4 MB, free: 5.926 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.5259, allocations: 0 / 483.4 MB, free: 5.926 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.5261, allocations: 212.1 kB / 483.6 MB, free: 5.703 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.5261, allocations: 0 / 483.6 MB, free: 5.703 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.5262, allocations: 28.8 kB / 483.6 MB, free: 5.676 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.5263, allocations: 0 / 483.6 MB, free: 5.676 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.5263, allocations: 0 / 483.6 MB, free: 5.676 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.5263, allocations: 0 / 483.6 MB, free: 5.676 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.5263, allocations: 3.984 kB / 483.6 MB, free: 5.672 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003195/0.5266, allocations: 242.3 kB / 483.9 MB, free: 5.469 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004169/0.527, allocations: 0.694 MB / 484.5 MB, free: 4.832 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.539e-05/0.5271, allocations: 109.5 kB / 484.7 MB, free: 4.711 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.373e-05/0.5272, allocations: 7.984 kB / 484.7 MB, free: 4.703 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/0.5274, allocations: 15.98 kB / 484.7 MB, free: 4.688 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/0.5274, allocations: 11.92 kB / 484.7 MB, free: 4.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.5275, allocations: 4.062 kB / 484.7 MB, free: 4.676 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001085/0.5276, allocations: 158.2 kB / 484.8 MB, free: 4.547 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001056/0.5286, allocations: 122.6 kB / 485 MB, free: 4.441 MB / 346.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.0009406/0.5296, allocations: 340.6 kB / 485.3 MB, free: 4.156 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003039/0.5299, allocations: 188.9 kB / 485.5 MB, free: 4.004 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5299, allocations: 0 / 485.5 MB, free: 4.004 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.203e-05/0.53, allocations: 59.02 kB / 485.5 MB, free: 3.965 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001847/0.5302, allocations: 10.38 kB / 485.5 MB, free: 3.961 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005674/0.5308, allocations: 253.4 kB / 485.8 MB, free: 3.707 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002178/0.531, allocations: 0.758 MB / 486.6 MB, free: 2.93 MB / 346.7 MB Notification: Performance of SimCode: time 4.3e-07/0.531, allocations: 0 / 486.6 MB, free: 2.93 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1)