Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.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.TimeBasedRamp,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",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.00161/0.00161, allocations: 203.7 kB / 8.54 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.475/1.475, allocations: 225.5 MB / 234.4 MB, free: 3.391 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001042/0.001042, allocations: 93.61 kB / 286.3 MB, free: 5.254 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.128/0.1291, allocations: 56.91 MB / 343.2 MB, free: 8.648 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09699/0.2261, allocations: 51.47 MB / 394.7 MB, free: 5.117 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2759/0.502, allocations: 76.53 MB / 471.2 MB, free: 14.71 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/0.5023, allocations: 69.92 kB / 471.3 MB, free: 14.68 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.003365/0.5056, allocations: 1.188 MB / 472.5 MB, free: 13.86 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.5057, allocations: 11.56 kB / 472.5 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.171e-05/0.5057, allocations: 2.812 kB / 472.5 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.5059, allocations: 189.3 kB / 472.7 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.5059, allocations: 0 / 472.7 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.5059, allocations: 0 / 472.7 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.595e-05/0.506, allocations: 18.69 kB / 472.7 MB, free: 13.63 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.5062, allocations: 90.58 kB / 472.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.5062, allocations: 0 / 472.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.5062, allocations: 7.844 kB / 472.8 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.5062, allocations: 0 / 472.8 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.261e-05/0.5063, allocations: 136.4 kB / 472.9 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.025e-05/0.5064, allocations: 44.27 kB / 473 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.126e-05/0.5065, allocations: 23.06 kB / 473 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.5065, allocations: 4 kB / 473 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.246e-05/0.5065, allocations: 30.56 kB / 473 MB, free: 13.28 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.5065, allocations: 0 / 473 MB, free: 13.28 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001336/0.5067, allocations: 51.59 kB / 473.1 MB, free: 13.23 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/0.5067, allocations: 59.34 kB / 473.2 MB, free: 13.16 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.567e-05/0.5068, allocations: 92.38 kB / 473.2 MB, free: 13.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.625e-06/0.5068, allocations: 29.7 kB / 473.3 MB, free: 13.03 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.459e-05/0.5068, allocations: 87.52 kB / 473.4 MB, free: 12.95 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.554e-06/0.5068, allocations: 0 / 473.4 MB, free: 12.95 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/0.5068, allocations: 0 / 473.4 MB, free: 12.95 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.919e-05/0.5069, allocations: 317.8 kB / 473.7 MB, free: 12.63 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.275e-06/0.5069, allocations: 4 kB / 473.7 MB, free: 12.63 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.684e-05/0.5069, allocations: 26.75 kB / 473.7 MB, free: 12.59 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.537e-05/0.5069, allocations: 11.42 kB / 473.7 MB, free: 12.59 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.5069, allocations: 0 / 473.7 MB, free: 12.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.114e-05/0.507, allocations: 52.44 kB / 473.8 MB, free: 12.54 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.507, allocations: 4 kB / 473.8 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.507, allocations: 4 kB / 473.8 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.5071, allocations: 0 / 473.8 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.438e-05/0.5071, allocations: 12.06 kB / 473.8 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.5071, allocations: 4.781 kB / 473.8 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.975e-05/0.5071, allocations: 0 / 473.8 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.768e-06/0.5072, allocations: 4 kB / 473.8 MB, free: 12.51 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 4.841e-05/0.5072, allocations: 108.8 kB / 473.9 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.613e-05/0.5073, allocations: 51.02 kB / 473.9 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.563e-05/0.5073, allocations: 10.25 kB / 474 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.5073, allocations: 3.906 kB / 474 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.5073, allocations: 3.281 kB / 474 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.5073, allocations: 4 kB / 474 MB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.023e-05/0.5074, allocations: 135.8 kB / 474.1 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.5074, allocations: 0 / 474.1 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.812e-05/0.5075, allocations: 22.56 kB / 474.1 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.5075, allocations: 0 / 474.1 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.5075, allocations: 0 / 474.1 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.5075, allocations: 1.312 kB / 474.1 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.5075, allocations: 3.906 kB / 474.1 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.776e-05/0.5076, allocations: 75.42 kB / 474.2 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001128/0.5077, allocations: 457.9 kB / 474.6 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.922e-05/0.5078, allocations: 84.44 kB / 474.7 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.5078, allocations: 3.938 kB / 474.7 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.163e-05/0.5078, allocations: 15.28 kB / 474.8 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.182e-06/0.5079, allocations: 3.828 kB / 474.8 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.5079, allocations: 0 / 474.8 MB, free: 11.5 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.385e-05/0.5079, allocations: 83.98 kB / 474.8 MB, free: 11.42 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007541/0.5087, allocations: 8 kB / 474.8 MB, free: 11.41 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 8.97e-05/0.5088, allocations: 95.16 kB / 474.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.679e-05/0.5088, allocations: 27.12 kB / 475 MB, free: 11.29 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.5089, allocations: 0 / 475 MB, free: 11.29 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.5089, allocations: 0 / 475 MB, free: 11.29 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.5091, allocations: 21.28 kB / 475 MB, free: 11.28 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001705/0.5092, allocations: 65.62 kB / 475 MB, free: 11.2 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/0.5094, allocations: 0.69 MB / 475.7 MB, free: 10.5 MB / 346.7 MB Notification: Performance of SimCode: time 3.11e-07/0.5094, allocations: 4 kB / 475.7 MB, free: 10.49 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1)