Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.NormalNoiseProperties,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001573/0.001573, allocations: 195.1 kB / 8.537 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 225.5 MB / 234.4 MB, free: 3.43 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001018/0.001019, allocations: 98.17 kB / 286.3 MB, free: 5.285 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1147/0.1157, allocations: 56.89 MB / 343.2 MB, free: 8.633 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09508/0.2108, allocations: 51.49 MB / 394.7 MB, free: 5.102 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2537/0.4646, allocations: 79.79 MB / 474.5 MB, free: 12.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/0.4649, allocations: 71.25 kB / 474.6 MB, free: 12.3 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.02086/0.4858, allocations: 7.017 MB / 481.6 MB, free: 7.305 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.4858, allocations: 8.562 kB / 481.6 MB, free: 7.297 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003124/0.4862, allocations: 43.62 kB / 481.6 MB, free: 7.254 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.4865, allocations: 237.2 kB / 481.9 MB, free: 7 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.416e-05/0.4866, allocations: 8 kB / 481.9 MB, free: 6.992 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.728e-05/0.4866, allocations: 15.98 kB / 481.9 MB, free: 6.977 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002181/0.4868, allocations: 90.64 kB / 482 MB, free: 6.918 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002481/0.4871, allocations: 152.9 kB / 482.1 MB, free: 6.797 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.4871, allocations: 0 / 482.1 MB, free: 6.797 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.129e-05/0.4872, allocations: 0 / 482.1 MB, free: 6.797 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.4872, allocations: 4 kB / 482.1 MB, free: 6.793 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008336/0.488, allocations: 0.5096 MB / 482.7 MB, free: 6.324 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006108/0.4886, allocations: 225.6 kB / 482.9 MB, free: 6.141 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.4888, allocations: 79.7 kB / 483 MB, free: 6.086 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.4888, allocations: 4.062 kB / 483 MB, free: 6.082 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001639/0.489, allocations: 123.1 kB / 483.1 MB, free: 5.973 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.984e-06/0.489, allocations: 2.25 kB / 483.1 MB, free: 5.973 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003724/0.4894, allocations: 175 kB / 483.2 MB, free: 5.836 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.4894, allocations: 59.58 kB / 483.3 MB, free: 5.766 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.4896, allocations: 166 kB / 483.5 MB, free: 5.621 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.499e-05/0.4896, allocations: 33.7 kB / 483.5 MB, free: 5.582 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.829e-05/0.4897, allocations: 123.8 kB / 483.6 MB, free: 5.469 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.568e-05/0.4897, allocations: 66.81 kB / 483.7 MB, free: 5.41 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.604e-05/0.4897, allocations: 0 / 483.7 MB, free: 5.41 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.946e-05/0.4898, allocations: 334.2 kB / 484 MB, free: 5.086 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.49, allocations: 82.98 kB / 484.1 MB, free: 5.035 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.4901, allocations: 107.8 kB / 484.2 MB, free: 4.961 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002379/0.4904, allocations: 99.7 kB / 484.3 MB, free: 4.891 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4904, allocations: 7.938 kB / 484.3 MB, free: 4.883 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004707/0.4909, allocations: 273.2 kB / 484.6 MB, free: 4.676 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.4909, allocations: 4 kB / 484.6 MB, free: 4.672 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.4909, allocations: 3.906 kB / 484.6 MB, free: 4.668 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.4909, allocations: 4 kB / 484.6 MB, free: 4.664 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003412/0.4913, allocations: 83.59 kB / 484.7 MB, free: 4.586 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.4913, allocations: 7.672 kB / 484.7 MB, free: 4.582 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001966/0.4915, allocations: 47.72 kB / 484.7 MB, free: 4.535 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.921e-05/0.4915, allocations: 8 kB / 484.7 MB, free: 4.527 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.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.588e-05/0.4916, allocations: 120.8 kB / 484.8 MB, free: 4.406 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/0.4917, allocations: 15.81 kB / 484.9 MB, free: 4.391 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.993e-05/0.4917, allocations: 21.42 kB / 484.9 MB, free: 4.383 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.4917, allocations: 5.406 kB / 484.9 MB, free: 4.379 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.4918, allocations: 0.875 kB / 484.9 MB, free: 4.379 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.4918, allocations: 4 kB / 484.9 MB, free: 4.375 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007085/0.4925, allocations: 0.5131 MB / 485.4 MB, free: 3.887 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.4925, allocations: 7.922 kB / 485.4 MB, free: 3.879 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002854/0.4928, allocations: 59.27 kB / 485.5 MB, free: 3.824 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.4928, allocations: 4 kB / 485.5 MB, free: 3.82 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.761e-05/0.4928, allocations: 5.422 kB / 485.5 MB, free: 3.816 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.4929, allocations: 0 / 485.5 MB, free: 3.816 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.4929, allocations: 3.938 kB / 485.5 MB, free: 3.812 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004225/0.4933, allocations: 361.4 kB / 485.8 MB, free: 3.512 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008277/0.4941, allocations: 0.9559 MB / 486.8 MB, free: 2.715 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.475e-05/0.4942, allocations: 96.84 kB / 486.9 MB, free: 2.602 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.056e-05/0.4942, allocations: 7.062 kB / 486.9 MB, free: 2.598 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.4945, allocations: 33.78 kB / 486.9 MB, free: 2.566 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.97e-05/0.4945, allocations: 19.23 kB / 486.9 MB, free: 2.551 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.121e-05/0.4946, allocations: 13.86 kB / 487 MB, free: 2.539 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.02e-05/0.4947, allocations: 127.9 kB / 487.1 MB, free: 2.43 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001239/0.4959, allocations: 133 kB / 487.2 MB, free: 2.312 MB / 346.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.001014/0.4969, allocations: 321.2 kB / 487.5 MB, free: 2.031 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004134/0.4973, allocations: 242.5 kB / 487.8 MB, free: 1.852 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4974, allocations: 2.625 kB / 487.8 MB, free: 1.852 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.4975, allocations: 72.98 kB / 487.8 MB, free: 1.801 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.4978, allocations: 21.77 kB / 487.9 MB, free: 1.785 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006762/0.4985, allocations: 324.7 kB / 488.2 MB, free: 1.48 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003201/0.4988, allocations: 0.7812 MB / 489 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of SimCode: time 5.51e-07/0.4988, allocations: 0 / 489 MB, free: 0.6758 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Noise_NormalNoiseProperties_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-09 Modelica_trunk_Modelica_Blocks_Examples_Noise_NormalNoiseProperties.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1)