Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.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.UniformNoise,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_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 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 175 kB / 8.477 MB, free: 1.871 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.078/1.078, allocations: 205.2 MB / 214.1 MB, free: 5.07 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.0008894/0.0008894, allocations: 82.33 kB / 262.1 MB, free: 5.133 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1598/0.1607, allocations: 52.97 MB / 315.1 MB, free: 41.38 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06782/0.2285, allocations: 47.58 MB / 362.6 MB, free: 9.855 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2163/0.4449, allocations: 75.32 MB / 437.9 MB, free: 10.64 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001992/0.4451, allocations: 67.38 kB / 438 MB, free: 10.64 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.01036/0.4555, allocations: 4.21 MB / 442.2 MB, free: 9.992 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.4555, allocations: 11.53 kB / 442.2 MB, free: 9.992 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003051/0.4559, allocations: 40.12 kB / 442.3 MB, free: 9.984 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.456, allocations: 200 kB / 442.5 MB, free: 9.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.456, allocations: 0.8438 kB / 442.5 MB, free: 9.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.643e-05/0.4561, allocations: 3.719 kB / 442.5 MB, free: 9.77 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.221e-05/0.4562, allocations: 40.78 kB / 442.5 MB, free: 9.766 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.4563, allocations: 102 kB / 442.6 MB, free: 9.715 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.4563, allocations: 0.6562 kB / 442.6 MB, free: 9.715 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.4564, allocations: 3.719 kB / 442.6 MB, free: 9.715 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.4564, allocations: 4.688 kB / 442.6 MB, free: 9.711 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004419/0.4568, allocations: 344 kB / 443 MB, free: 9.465 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.457, allocations: 97.91 kB / 443.1 MB, free: 9.414 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.49e-05/0.457, allocations: 47.52 kB / 443.1 MB, free: 9.395 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.4571, allocations: 4.422 kB / 443.1 MB, free: 9.395 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001343/0.4572, allocations: 122.8 kB / 443.2 MB, free: 9.32 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.4572, allocations: 0 / 443.2 MB, free: 9.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002278/0.4574, allocations: 128.6 kB / 443.4 MB, free: 9.281 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.4575, allocations: 94.64 kB / 443.4 MB, free: 9.188 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.4576, allocations: 156.6 kB / 443.6 MB, free: 9.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.25e-05/0.4577, allocations: 39.95 kB / 443.6 MB, free: 9.059 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.38e-05/0.4577, allocations: 99.45 kB / 443.7 MB, free: 8.969 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/0.4577, allocations: 42.23 kB / 443.8 MB, free: 8.945 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.153e-05/0.4577, allocations: 0 / 443.8 MB, free: 8.945 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.448e-05/0.4578, allocations: 336.1 kB / 444.1 MB, free: 8.629 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.4579, allocations: 72.7 kB / 444.2 MB, free: 8.621 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.458, allocations: 104.4 kB / 444.3 MB, free: 8.598 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/0.4583, allocations: 103 kB / 444.4 MB, free: 8.594 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.4583, allocations: 3.906 kB / 444.4 MB, free: 8.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004036/0.4587, allocations: 254 kB / 444.6 MB, free: 8.543 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.4587, allocations: 4.578 kB / 444.6 MB, free: 8.543 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/0.4588, allocations: 4.5 kB / 444.6 MB, free: 8.543 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.4588, allocations: 0 / 444.6 MB, free: 8.543 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.4589, allocations: 27.73 kB / 444.7 MB, free: 8.539 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.4589, allocations: 4.703 kB / 444.7 MB, free: 8.539 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.342e-05/0.459, allocations: 28.34 kB / 444.7 MB, free: 8.523 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.965e-05/0.4591, allocations: 9.156 kB / 444.7 MB, free: 8.523 MB / 314.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 8.088e-05/0.4592, allocations: 124.8 kB / 444.8 MB, free: 8.41 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.4592, allocations: 16.34 kB / 444.8 MB, free: 8.398 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.058e-05/0.4592, allocations: 14.23 kB / 444.9 MB, free: 8.398 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.4592, allocations: 7.969 kB / 444.9 MB, free: 8.395 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.4592, allocations: 4.594 kB / 444.9 MB, free: 8.391 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.4592, allocations: 0.7031 kB / 444.9 MB, free: 8.391 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.4594, allocations: 180.9 kB / 445 MB, free: 8.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.4594, allocations: 0 / 445 MB, free: 8.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.178e-05/0.4595, allocations: 10.45 kB / 445.1 MB, free: 8.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.4595, allocations: 7.719 kB / 445.1 MB, free: 8.227 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.4595, allocations: 1.734 kB / 445.1 MB, free: 8.227 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4595, allocations: 4 kB / 445.1 MB, free: 8.223 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/0.4595, allocations: 11.88 kB / 445.1 MB, free: 8.215 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001773/0.4597, allocations: 166.2 kB / 445.2 MB, free: 8.121 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003216/0.46, allocations: 0.6656 MB / 445.9 MB, free: 7.641 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.842e-05/0.4601, allocations: 89.62 kB / 446 MB, free: 7.539 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.904e-05/0.4601, allocations: 13.95 kB / 446 MB, free: 7.539 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.905e-05/0.4602, allocations: 10.08 kB / 446 MB, free: 7.535 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/0.4602, allocations: 15.45 kB / 446 MB, free: 7.535 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.4603, allocations: 5.297 kB / 446 MB, free: 7.535 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.005e-05/0.4603, allocations: 120.1 kB / 446.2 MB, free: 7.457 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008498/0.4612, allocations: 66.83 kB / 446.2 MB, free: 7.445 MB / 314.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.0004271/0.4616, allocations: 222.7 kB / 446.4 MB, free: 7.301 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002809/0.4619, allocations: 221.2 kB / 446.7 MB, free: 7.23 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4619, allocations: 0 / 446.7 MB, free: 7.23 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.18e-05/0.462, allocations: 46.97 kB / 446.7 MB, free: 7.23 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001123/0.4621, allocations: 7.344 kB / 446.7 MB, free: 7.23 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003274/0.4625, allocations: 179.5 kB / 446.9 MB, free: 7.129 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.4626, allocations: 0.732 MB / 447.6 MB, free: 6.422 MB / 314.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4626, allocations: 0 / 447.6 MB, free: 6.422 MB / 314.7 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe 2>&1)