Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.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.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.00104/0.00104, allocations: 195.4 kB / 8.538 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.432/1.432, allocations: 225.5 MB / 234.4 MB, free: 15.01 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009028/0.0009028, allocations: 97.84 kB / 286.4 MB, free: 12.65 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1176/0.1185, allocations: 56.89 MB / 343.2 MB, free: 3.746 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.3338, allocations: 51.46 MB / 394.7 MB, free: 33.17 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08616/0.42, allocations: 76.82 MB / 471.5 MB, free: 4.227 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/0.4203, allocations: 76.92 kB / 471.6 MB, free: 4.152 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.008948/0.4292, allocations: 3.05 MB / 474.6 MB, free: 1.074 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.4293, allocations: 8 kB / 474.7 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.21e-05/0.4293, allocations: 11.81 kB / 474.7 MB, free: 1.055 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.4296, allocations: 195.8 kB / 474.9 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.4296, allocations: 4 kB / 474.9 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.4296, allocations: 3.984 kB / 474.9 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.365e-05/0.4297, allocations: 24 kB / 474.9 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.4299, allocations: 139 kB / 475 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.4299, allocations: 0 / 475 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.43, allocations: 3.938 kB / 475 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.43, allocations: 0 / 475 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002741/0.4303, allocations: 250.3 kB / 475.3 MB, free: 360 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.687e-05/0.4303, allocations: 38.47 kB / 475.3 MB, free: 312 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.858e-05/0.4304, allocations: 24.86 kB / 475.3 MB, free: 284 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005795/0.431, allocations: 0.5797 MB / 475.9 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.431, allocations: 30.56 kB / 475.9 MB, free: 15.53 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.431, allocations: 0 / 475.9 MB, free: 15.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.000194/0.4312, allocations: 81.62 kB / 476 MB, free: 15.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.4313, allocations: 59.41 kB / 476.1 MB, free: 15.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.4314, allocations: 127.9 kB / 476.2 MB, free: 15.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.4314, allocations: 29.7 kB / 476.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.839e-05/0.4315, allocations: 88.08 kB / 476.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.219e-05/0.4315, allocations: 7.906 kB / 476.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.4315, allocations: 0 / 476.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.658e-05/0.4316, allocations: 318.8 kB / 476.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.997e-05/0.4316, allocations: 19.98 kB / 476.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.829e-05/0.4317, allocations: 58.02 kB / 476.7 MB, free: 14.69 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.79e-05/0.4317, allocations: 37.12 kB / 476.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.4318, allocations: 7.906 kB / 476.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001472/0.4319, allocations: 98.2 kB / 476.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.4319, allocations: 4 kB / 476.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.4319, allocations: 0 / 476.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.432, allocations: 4 kB / 476.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.931e-05/0.432, allocations: 15.98 kB / 476.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.4321, allocations: 5.016 kB / 476.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.733e-05/0.4321, allocations: 8.219 kB / 476.9 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.4321, allocations: 8 kB / 476.9 MB, free: 14.5 MB / 362.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.577e-05/0.4322, allocations: 116.7 kB / 477 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.4323, allocations: 65.59 kB / 477.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001776/0.4325, allocations: 88.14 kB / 477.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.4325, allocations: 3.984 kB / 477.2 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.4325, allocations: 0 / 477.2 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.4325, allocations: 0 / 477.2 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.233e-05/0.4326, allocations: 158.1 kB / 477.3 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.4326, allocations: 4 kB / 477.3 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.914e-05/0.4327, allocations: 4 kB / 477.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.4327, allocations: 0 / 477.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.4327, allocations: 3.984 kB / 477.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.4327, allocations: 4 kB / 477.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4327, allocations: 0 / 477.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000142/0.4329, allocations: 104.9 kB / 477.4 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002308/0.4331, allocations: 484.8 kB / 477.9 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.008e-05/0.4332, allocations: 97.12 kB / 478 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.4332, allocations: 7.906 kB / 478 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.819e-05/0.4333, allocations: 7.922 kB / 478 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.796e-06/0.4333, allocations: 0 / 478 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.4333, allocations: 4 kB / 478 MB, free: 13.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.464e-05/0.4334, allocations: 108.8 kB / 478.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007915/0.4342, allocations: 24 kB / 478.2 MB, free: 13.14 MB / 362.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.0001629/0.4343, allocations: 103.2 kB / 478.3 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000111/0.4345, allocations: 47.92 kB / 478.3 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/0.4345, allocations: 0 / 478.3 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.4345, allocations: 0 / 478.3 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.4348, allocations: 74.02 kB / 478.4 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000318/0.4352, allocations: 135.1 kB / 478.5 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002957/0.4355, allocations: 0.7153 MB / 479.2 MB, free: 12.01 MB / 362.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4355, allocations: 0 / 479.2 MB, free: 12.01 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1)