Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_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.001109/0.001109, allocations: 183.5 kB / 8.135 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.121/1.121, allocations: 221.4 MB / 229.9 MB, free: 3.141 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.0009543/0.0009543, allocations: 98.14 kB / 280.8 MB, free: 1.27 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09821/0.0992, allocations: 55.83 MB / 336.6 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.2852, allocations: 50.38 MB / 387 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07647/0.3617, allocations: 76.02 MB / 463 MB, free: 10.8 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001979/0.3619, allocations: 79.89 kB / 463.1 MB, free: 10.72 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.008127/0.3701, allocations: 3.044 MB / 466.2 MB, free: 7.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.3701, allocations: 8 kB / 466.2 MB, free: 7.652 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.585e-05/0.3702, allocations: 7.906 kB / 466.2 MB, free: 7.645 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.3704, allocations: 209.5 kB / 466.4 MB, free: 7.402 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.3704, allocations: 0 / 466.4 MB, free: 7.402 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.3704, allocations: 9.047 kB / 466.4 MB, free: 7.395 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.949e-05/0.3705, allocations: 21.31 kB / 466.4 MB, free: 7.375 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002373/0.3707, allocations: 149 kB / 466.5 MB, free: 7.211 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.3707, allocations: 0 / 466.5 MB, free: 7.211 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.3708, allocations: 0 / 466.5 MB, free: 7.211 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3708, allocations: 0 / 466.5 MB, free: 7.211 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002494/0.371, allocations: 242.3 kB / 466.8 MB, free: 6.934 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.574e-05/0.3711, allocations: 46.56 kB / 466.8 MB, free: 6.879 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.677e-05/0.3712, allocations: 20.86 kB / 466.8 MB, free: 6.855 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005311/0.3717, allocations: 0.5817 MB / 467.4 MB, free: 6.145 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.3717, allocations: 39.25 kB / 467.5 MB, free: 6.098 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.3717, allocations: 0 / 467.5 MB, free: 6.098 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001674/0.3719, allocations: 65.59 kB / 467.5 MB, free: 6.027 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.372, allocations: 55.41 kB / 467.6 MB, free: 5.961 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.3721, allocations: 125.3 kB / 467.7 MB, free: 5.828 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.3721, allocations: 25.7 kB / 467.7 MB, free: 5.797 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.589e-05/0.3721, allocations: 92.14 kB / 467.8 MB, free: 5.703 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.3722, allocations: 7.844 kB / 467.8 MB, free: 5.695 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-06/0.3722, allocations: 0.5625 kB / 467.8 MB, free: 5.695 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.639e-05/0.3723, allocations: 322.8 kB / 468.1 MB, free: 5.371 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.921e-05/0.3723, allocations: 19.98 kB / 468.2 MB, free: 5.352 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.892e-05/0.3723, allocations: 61.89 kB / 468.2 MB, free: 5.27 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.293e-05/0.3724, allocations: 37.19 kB / 468.3 MB, free: 5.234 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3724, allocations: 0 / 468.3 MB, free: 5.234 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001387/0.3726, allocations: 97.61 kB / 468.4 MB, free: 5.133 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.3726, allocations: 8 kB / 468.4 MB, free: 5.125 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.3726, allocations: 4.719 kB / 468.4 MB, free: 5.121 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.3726, allocations: 4 kB / 468.4 MB, free: 5.117 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.672e-05/0.3727, allocations: 19.98 kB / 468.4 MB, free: 5.098 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.3727, allocations: 4 kB / 468.4 MB, free: 5.094 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.428e-05/0.3727, allocations: 3.938 kB / 468.4 MB, free: 5.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.3727, allocations: 4 kB / 468.4 MB, free: 5.086 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (uniformNoise.seedState[3],$CLKPRE.uniformNoise.seedState[3],uniformNoise.seedState[2],$CLKPRE.uniformNoise.seedState[2],uniformNoise.seedState[1],$CLKPRE.uniformNoise.seedState[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 7.503e-05/0.3728, allocations: 111.4 kB / 468.5 MB, free: 4.973 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.3729, allocations: 80.06 kB / 468.6 MB, free: 4.891 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001642/0.3731, allocations: 82.11 kB / 468.7 MB, free: 4.801 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.3731, allocations: 7.984 kB / 468.7 MB, free: 4.793 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.3731, allocations: 0 / 468.7 MB, free: 4.793 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3731, allocations: 0 / 468.7 MB, free: 4.793 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.01e-05/0.3732, allocations: 150.1 kB / 468.8 MB, free: 4.609 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.3732, allocations: 0 / 468.8 MB, free: 4.609 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.043e-05/0.3733, allocations: 9.188 kB / 468.8 MB, free: 4.602 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3733, allocations: 0 / 468.8 MB, free: 4.602 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.3733, allocations: 11.92 kB / 468.8 MB, free: 4.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3733, allocations: 0 / 468.8 MB, free: 4.59 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3733, allocations: 0 / 468.8 MB, free: 4.59 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001338/0.3735, allocations: 100.9 kB / 468.9 MB, free: 4.473 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002389/0.3737, allocations: 479.9 kB / 469.4 MB, free: 3.984 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.127e-05/0.3738, allocations: 100.9 kB / 469.5 MB, free: 3.867 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.3738, allocations: 9.344 kB / 469.5 MB, free: 3.859 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.736e-05/0.3738, allocations: 3.984 kB / 469.5 MB, free: 3.855 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.129e-06/0.3739, allocations: 0 / 469.5 MB, free: 3.855 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.3739, allocations: 4 kB / 469.5 MB, free: 3.852 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.001e-05/0.3739, allocations: 110.4 kB / 469.6 MB, free: 3.746 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007748/0.3747, allocations: 20 kB / 469.7 MB, free: 3.727 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0001613/0.3749, allocations: 107.2 kB / 469.8 MB, free: 3.613 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001168/0.375, allocations: 55.92 kB / 469.8 MB, free: 3.559 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.375, allocations: 0 / 469.8 MB, free: 3.559 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.375, allocations: 0 / 469.8 MB, free: 3.559 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.3753, allocations: 74.03 kB / 469.9 MB, free: 3.48 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003184/0.3757, allocations: 127.2 kB / 470 MB, free: 3.332 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003223/0.376, allocations: 0.7192 MB / 470.7 MB, free: 2.586 MB / 346.7 MB Notification: Performance of SimCode: time 3.51e-07/0.376, allocations: 448 / 470.7 MB, free: 2.586 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1)