Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.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.UniformNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties",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.0009749/0.000975, allocations: 180 kB / 8.477 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.09/1.09, allocations: 205.2 MB / 214.1 MB, free: 5.09 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.0008437/0.0008436, allocations: 90.25 kB / 262.1 MB, free: 5.133 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1543/0.1551, allocations: 52.97 MB / 315.1 MB, free: 41.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06229/0.2174, allocations: 47.58 MB / 362.6 MB, free: 9.871 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2069/0.4244, allocations: 77.5 MB / 440.1 MB, free: 10.69 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001794/0.4246, allocations: 70.64 kB / 440.2 MB, free: 10.69 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.01469/0.4393, allocations: 5.343 MB / 445.5 MB, free: 9.922 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.4394, allocations: 8.438 kB / 445.6 MB, free: 9.922 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002153/0.4396, allocations: 39.09 kB / 445.6 MB, free: 9.91 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.4399, allocations: 238.3 kB / 445.8 MB, free: 9.695 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.4399, allocations: 7.562 kB / 445.8 MB, free: 9.695 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.666e-05/0.4399, allocations: 12.42 kB / 445.8 MB, free: 9.695 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001909/0.4401, allocations: 96.69 kB / 445.9 MB, free: 9.691 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002351/0.4404, allocations: 145.7 kB / 446.1 MB, free: 9.652 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.4404, allocations: 0 / 446.1 MB, free: 9.652 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.4404, allocations: 4.5 kB / 446.1 MB, free: 9.648 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.4404, allocations: 11.89 kB / 446.1 MB, free: 9.641 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007179/0.4412, allocations: 0.5098 MB / 446.6 MB, free: 9.277 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000539/0.4417, allocations: 227.9 kB / 446.8 MB, free: 9.211 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.4418, allocations: 74.95 kB / 446.9 MB, free: 9.199 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.4419, allocations: 3.516 kB / 446.9 MB, free: 9.199 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00015/0.442, allocations: 122.6 kB / 447 MB, free: 9.133 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 1.713e-06/0.442, allocations: 3.969 kB / 447 MB, free: 9.133 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003184/0.4423, allocations: 165.4 kB / 447.2 MB, free: 9.078 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.4424, allocations: 59.38 kB / 447.2 MB, free: 9.012 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.4425, allocations: 181.2 kB / 447.4 MB, free: 8.895 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/0.4426, allocations: 33.55 kB / 447.5 MB, free: 8.859 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.457e-05/0.4426, allocations: 118.2 kB / 447.6 MB, free: 8.758 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.256e-05/0.4427, allocations: 72.47 kB / 447.6 MB, free: 8.707 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.681e-05/0.4427, allocations: 0 / 447.6 MB, free: 8.707 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.628e-05/0.4427, allocations: 335.6 kB / 448 MB, free: 8.383 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.4429, allocations: 87.08 kB / 448.1 MB, free: 8.379 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.443, allocations: 111.8 kB / 448.2 MB, free: 8.355 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002207/0.4433, allocations: 95.19 kB / 448.3 MB, free: 8.336 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4433, allocations: 7.844 kB / 448.3 MB, free: 8.332 MB / 314.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004211/0.4437, allocations: 279.1 kB / 448.5 MB, free: 8.258 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.4437, allocations: 7.719 kB / 448.5 MB, free: 8.254 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.4437, allocations: 3.906 kB / 448.6 MB, free: 8.254 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.4438, allocations: 0 / 448.6 MB, free: 8.254 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003022/0.4441, allocations: 77.61 kB / 448.6 MB, free: 8.234 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.4441, allocations: 3.844 kB / 448.6 MB, free: 8.234 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.4443, allocations: 46.97 kB / 448.7 MB, free: 8.211 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.207e-05/0.4443, allocations: 10.47 kB / 448.7 MB, free: 8.211 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.noise.state[1],noise.state[1],$PRE.noise.state[2],noise.state[2],$PRE.noise.state[3],noise.state[3],$PRE.noise.state[4],noise.state[4],$PRE.noise.r,noise.r,$PRE.noise.r_raw,noise.r_raw,globalSeed.id_impure,noise.localSeed,noise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 36 * 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 9.257e-05/0.4444, allocations: 119.9 kB / 448.8 MB, free: 8.098 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/0.4444, allocations: 19.5 kB / 448.8 MB, free: 8.086 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.901e-05/0.4445, allocations: 16.53 kB / 448.8 MB, free: 8.082 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.4445, allocations: 3.844 kB / 448.8 MB, free: 8.082 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.4445, allocations: 0 / 448.8 MB, free: 8.082 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.4445, allocations: 3.984 kB / 448.8 MB, free: 8.078 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006102/0.4451, allocations: 0.5246 MB / 449.4 MB, free: 7.719 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4451, allocations: 4 kB / 449.4 MB, free: 7.715 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002692/0.4454, allocations: 54.69 kB / 449.4 MB, free: 7.699 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.4454, allocations: 3.906 kB / 449.4 MB, free: 7.699 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/0.4455, allocations: 7.922 kB / 449.4 MB, free: 7.691 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.4455, allocations: 3.812 kB / 449.4 MB, free: 7.691 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.4455, allocations: 0 / 449.4 MB, free: 7.691 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003825/0.4459, allocations: 357.7 kB / 449.8 MB, free: 7.516 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006563/0.4465, allocations: 0.9646 MB / 450.8 MB, free: 6.969 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.396e-05/0.4466, allocations: 92.3 kB / 450.8 MB, free: 6.867 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.711e-05/0.4466, allocations: 11.75 kB / 450.9 MB, free: 6.859 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.4468, allocations: 34.69 kB / 450.9 MB, free: 6.848 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.763e-05/0.4469, allocations: 11.64 kB / 450.9 MB, free: 6.844 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.4469, allocations: 11.83 kB / 450.9 MB, free: 6.836 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.935e-05/0.447, allocations: 131.7 kB / 451 MB, free: 6.754 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009141/0.4479, allocations: 88.33 kB / 451.1 MB, free: 6.73 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * 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.0004332/0.4484, allocations: 215.9 kB / 451.3 MB, free: 6.582 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003471/0.4487, allocations: 235.6 kB / 451.6 MB, free: 6.531 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4487, allocations: 0 / 451.6 MB, free: 6.531 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.4488, allocations: 82.64 kB / 451.7 MB, free: 6.52 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.4491, allocations: 22.89 kB / 451.7 MB, free: 6.512 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005293/0.4496, allocations: 322.3 kB / 452 MB, free: 6.332 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002416/0.4499, allocations: 0.7867 MB / 452.8 MB, free: 5.59 MB / 314.7 MB Notification: Performance of SimCode: time 8.51e-07/0.4499, allocations: 0 / 452.8 MB, free: 5.59 MB / 314.7 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-09 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe 2>&1)