Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.NormalNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",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.0009742/0.0009742, allocations: 183.8 kB / 8.136 MB, free: 2.223 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.152/1.152, allocations: 221.4 MB / 229.9 MB, free: 3.012 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.0008491/0.0008491, allocations: 96.84 kB / 280.8 MB, free: 1.215 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09555/0.09643, allocations: 55.82 MB / 336.6 MB, free: 9.391 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2013/0.2978, allocations: 50.4 MB / 387 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08394/0.3818, allocations: 78.98 MB / 466 MB, free: 7.785 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001996/0.382, allocations: 71.97 kB / 466.1 MB, free: 7.715 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.02053/0.4026, allocations: 6.941 MB / 473 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.4026, allocations: 8 kB / 473 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002174/0.4028, allocations: 31.7 kB / 473 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.4031, allocations: 239.5 kB / 473.3 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.4031, allocations: 8 kB / 473.3 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.071e-05/0.4032, allocations: 12 kB / 473.3 MB, free: 420 kB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002052/0.4034, allocations: 96.81 kB / 473.4 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/0.4037, allocations: 135.4 kB / 473.5 MB, free: 184 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.4037, allocations: 0 / 473.5 MB, free: 184 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.4037, allocations: 0 / 473.5 MB, free: 184 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.4037, allocations: 7.984 kB / 473.5 MB, free: 176 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008483/0.4046, allocations: 0.5312 MB / 474.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005899/0.4052, allocations: 219 kB / 474.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.4053, allocations: 83.5 kB / 474.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.4053, allocations: 4 kB / 474.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001904/0.4055, allocations: 120.8 kB / 474.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.794e-06/0.4055, allocations: 0 / 474.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003818/0.4059, allocations: 164 kB / 474.6 MB, free: 15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.406, allocations: 59.59 kB / 474.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.4061, allocations: 170.4 kB / 474.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.8e-05/0.4062, allocations: 29.7 kB / 474.9 MB, free: 14.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.364e-05/0.4063, allocations: 120.4 kB / 475 MB, free: 14.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.961e-05/0.4063, allocations: 71 kB / 475.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.601e-05/0.4064, allocations: 4 kB / 475.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.4065, allocations: 326.8 kB / 475.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/0.4067, allocations: 86.39 kB / 475.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.4069, allocations: 117.4 kB / 475.6 MB, free: 14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002559/0.4071, allocations: 101.2 kB / 475.7 MB, free: 13.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.4072, allocations: 3.906 kB / 475.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005105/0.4077, allocations: 268 kB / 476 MB, free: 13.63 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.4077, allocations: 8 kB / 476 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.4077, allocations: 0 / 476 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.4077, allocations: 7.844 kB / 476 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003471/0.4081, allocations: 87.91 kB / 476.1 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.4081, allocations: 0 / 476.1 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.4083, allocations: 43.73 kB / 476.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.989e-05/0.4084, allocations: 17.02 kB / 476.1 MB, free: 13.47 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.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.875e-05/0.4085, allocations: 120.9 kB / 476.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/0.4085, allocations: 15.81 kB / 476.3 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.193e-05/0.4085, allocations: 17.73 kB / 476.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.4086, allocations: 4 kB / 476.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.4086, allocations: 3.906 kB / 476.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.4086, allocations: 3.938 kB / 476.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007747/0.4094, allocations: 0.5217 MB / 476.8 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.4094, allocations: 0 / 476.8 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002991/0.4097, allocations: 59.89 kB / 476.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.4097, allocations: 0 / 476.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.934e-05/0.4097, allocations: 10.23 kB / 476.9 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.4097, allocations: 0 / 476.9 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.4097, allocations: 4 kB / 476.9 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004807/0.4102, allocations: 355.6 kB / 477.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009086/0.4111, allocations: 0.9643 MB / 478.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.7e-05/0.4112, allocations: 96.81 kB / 478.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.067e-05/0.4113, allocations: 4 kB / 478.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.4115, allocations: 31.97 kB / 478.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.829e-05/0.4116, allocations: 15.98 kB / 478.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.273e-05/0.4116, allocations: 11.98 kB / 478.3 MB, free: 11.15 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.916e-05/0.4117, allocations: 123.2 kB / 478.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001068/0.4127, allocations: 127.8 kB / 478.6 MB, free: 10.9 MB / 362.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.0009652/0.4137, allocations: 345.1 kB / 478.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004408/0.4142, allocations: 229.3 kB / 479.2 MB, free: 10.37 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4142, allocations: 0 / 479.2 MB, free: 10.37 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.4143, allocations: 75.92 kB / 479.2 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.4146, allocations: 22.81 kB / 479.2 MB, free: 10.28 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006592/0.4153, allocations: 333.7 kB / 479.6 MB, free: 9.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003645/0.4156, allocations: 0.7823 MB / 480.4 MB, free: 9.121 MB / 362.7 MB Notification: Performance of SimCode: time 3.2e-07/0.4156, allocations: 0 / 480.4 MB, free: 9.121 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-09 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1)