Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.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.UniformNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoise",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.000946/0.000946, 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.138/1.138, allocations: 221.4 MB / 229.9 MB, free: 3.031 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.0009031/0.0009031, allocations: 101.1 kB / 280.8 MB, free: 1.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09258/0.09352, allocations: 55.81 MB / 336.6 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.3081, allocations: 50.38 MB / 387 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07823/0.3864, allocations: 76.27 MB / 463.3 MB, free: 10.52 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001879/0.3867, allocations: 71.95 kB / 463.3 MB, free: 10.45 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.01113/0.3978, allocations: 4.286 MB / 467.6 MB, free: 6.133 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.3978, allocations: 8 kB / 467.6 MB, free: 6.125 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002996/0.3981, allocations: 43.78 kB / 467.7 MB, free: 6.082 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.3983, allocations: 184.2 kB / 467.8 MB, free: 5.863 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.3983, allocations: 15.88 kB / 467.9 MB, free: 5.848 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.3984, allocations: 4 kB / 467.9 MB, free: 5.844 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.283e-05/0.3985, allocations: 36.92 kB / 467.9 MB, free: 5.809 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.3986, allocations: 102.7 kB / 468 MB, free: 5.699 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.3986, allocations: 0 / 468 MB, free: 5.699 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.3987, allocations: 3.984 kB / 468 MB, free: 5.695 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3987, allocations: 0 / 468 MB, free: 5.695 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004387/0.3991, allocations: 346 kB / 468.3 MB, free: 5.316 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.3993, allocations: 93.14 kB / 468.4 MB, free: 5.207 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.818e-05/0.3993, allocations: 53.86 kB / 468.5 MB, free: 5.148 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.3994, allocations: 0 / 468.5 MB, free: 5.148 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000138/0.3995, allocations: 121 kB / 468.6 MB, free: 5.012 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 2.404e-06/0.3995, allocations: 0 / 468.6 MB, free: 5.012 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002363/0.3998, allocations: 132 kB / 468.7 MB, free: 4.879 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.3998, allocations: 97.39 kB / 468.8 MB, free: 4.766 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.4, allocations: 165.7 kB / 469 MB, free: 4.598 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.509e-05/0.4, allocations: 41.69 kB / 469 MB, free: 4.551 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.107e-05/0.4001, allocations: 96.56 kB / 469.1 MB, free: 4.453 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.011e-05/0.4001, allocations: 39.48 kB / 469.2 MB, free: 4.414 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.195e-05/0.4001, allocations: 0 / 469.2 MB, free: 4.414 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.805e-05/0.4003, allocations: 330.8 kB / 469.5 MB, free: 4.082 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.4004, allocations: 72.5 kB / 469.6 MB, free: 4.004 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.4005, allocations: 111.3 kB / 469.7 MB, free: 3.887 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002218/0.4008, allocations: 95.92 kB / 469.8 MB, free: 3.793 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4008, allocations: 0 / 469.8 MB, free: 3.793 MB / 346.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004252/0.4012, allocations: 249.2 kB / 470 MB, free: 3.543 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.4012, allocations: 4 kB / 470 MB, free: 3.539 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.4012, allocations: 1.5 kB / 470 MB, free: 3.539 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.4013, allocations: 4 kB / 470 MB, free: 3.535 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.4014, allocations: 32.05 kB / 470 MB, free: 3.504 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.4014, allocations: 0 / 470 MB, free: 3.504 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.691e-05/0.4015, allocations: 23.73 kB / 470.1 MB, free: 3.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.813e-05/0.4015, allocations: 8 kB / 470.1 MB, free: 3.473 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,$PRE.uniformNoise2.state[1],uniformNoise2.state[1],$PRE.uniformNoise2.state[2],uniformNoise2.state[2],$PRE.uniformNoise2.state[3],uniformNoise2.state[3],$PRE.uniformNoise2.state[4],uniformNoise2.state[4],$PRE.uniformNoise2.r,uniformNoise2.r,$PRE.uniformNoise2.r_raw,uniformNoise2.r_raw,$PRE.uniformNoise1.state[1],uniformNoise1.state[1],$PRE.uniformNoise1.state[2],uniformNoise1.state[2],$PRE.uniformNoise1.state[3],uniformNoise1.state[3],$PRE.uniformNoise1.state[4],uniformNoise1.state[4],$PRE.uniformNoise1.r,uniformNoise1.r,$PRE.uniformNoise1.r_raw,uniformNoise1.r_raw,globalSeed.id_impure,uniformNoise1.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise2.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 24 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.731e-05/0.4016, allocations: 124 kB / 470.2 MB, free: 3.348 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/0.4017, allocations: 23.89 kB / 470.2 MB, free: 3.324 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.17e-05/0.4017, allocations: 13.39 kB / 470.2 MB, free: 3.312 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.4017, allocations: 4 kB / 470.2 MB, free: 3.309 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4017, allocations: 0 / 470.2 MB, free: 3.309 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.4017, allocations: 0 / 470.2 MB, free: 3.309 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.4019, allocations: 182.1 kB / 470.4 MB, free: 3.094 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.4019, allocations: 1.656 kB / 470.4 MB, free: 3.094 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.323e-05/0.402, allocations: 15.94 kB / 470.4 MB, free: 3.078 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.402, allocations: 8 kB / 470.4 MB, free: 3.07 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.402, allocations: 3.984 kB / 470.4 MB, free: 3.066 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.402, allocations: 1.438 kB / 470.4 MB, free: 3.066 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.402, allocations: 0 / 470.4 MB, free: 3.066 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002071/0.4022, allocations: 182.1 kB / 470.6 MB, free: 2.863 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004329/0.4027, allocations: 0.6521 MB / 471.3 MB, free: 2.18 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.628e-05/0.4027, allocations: 96.8 kB / 471.4 MB, free: 2.066 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.902e-05/0.4028, allocations: 11.98 kB / 471.4 MB, free: 2.055 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.829e-05/0.4029, allocations: 8.641 kB / 471.4 MB, free: 2.047 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.63e-05/0.4029, allocations: 26.14 kB / 471.4 MB, free: 2.023 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.4029, allocations: 4 kB / 471.4 MB, free: 2.02 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.273e-05/0.403, allocations: 119.3 kB / 471.5 MB, free: 1.902 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008351/0.4039, allocations: 63.92 kB / 471.6 MB, free: 1.84 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw,$whenCondition1,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw) * Number of discrete states: 8 (uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0004305/0.4043, allocations: 211.3 kB / 471.8 MB, free: 1.668 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003223/0.4046, allocations: 211.3 kB / 472 MB, free: 1.449 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4046, allocations: 0 / 472 MB, free: 1.449 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.319e-05/0.4047, allocations: 56.05 kB / 472.1 MB, free: 1.395 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001102/0.4048, allocations: 12.81 kB / 472.1 MB, free: 1.383 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003357/0.4052, allocations: 164.8 kB / 472.2 MB, free: 1.199 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002891/0.4055, allocations: 0.7309 MB / 473 MB, free: 452 kB / 346.7 MB Notification: Performance of SimCode: time 2.91e-07/0.4055, allocations: 0 / 473 MB, free: 452 kB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoise_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoise.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1)