Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.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.TickBasedRamp,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp",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.001355/0.001355, allocations: 199 kB / 8.539 MB, free: 1.797 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.264/1.264, allocations: 225.5 MB / 234.4 MB, free: 3.398 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009859/0.0009859, allocations: 89.47 kB / 286.3 MB, free: 5.285 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1269/0.128, allocations: 56.9 MB / 343.2 MB, free: 8.633 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.2461, allocations: 51.48 MB / 394.7 MB, free: 5.098 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2879/0.534, allocations: 76.08 MB / 470.8 MB, free: 15.02 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/0.5343, allocations: 72.11 kB / 470.9 MB, free: 14.99 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.00267/0.537, allocations: 0.9016 MB / 471.8 MB, free: 14.33 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.5371, allocations: 8 kB / 471.8 MB, free: 14.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.492e-05/0.5371, allocations: 6.812 kB / 471.8 MB, free: 14.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.5373, allocations: 174.4 kB / 472 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.5373, allocations: 4 kB / 472 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.5373, allocations: 0 / 472 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.657e-05/0.5374, allocations: 14.88 kB / 472 MB, free: 14.1 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.5376, allocations: 107.1 kB / 472.1 MB, free: 14.01 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.5376, allocations: 0 / 472.1 MB, free: 14.01 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.5376, allocations: 0 / 472.1 MB, free: 14.01 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.5376, allocations: 0 / 472.1 MB, free: 14.01 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.273e-05/0.5377, allocations: 144.3 kB / 472.2 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.112e-05/0.5378, allocations: 41.27 kB / 472.3 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.143e-05/0.5379, allocations: 30.95 kB / 472.3 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.5379, allocations: 0 / 472.3 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.157e-05/0.5379, allocations: 37.75 kB / 472.3 MB, free: 13.74 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.5379, allocations: 0 / 472.3 MB, free: 13.74 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001308/0.5381, allocations: 52.88 kB / 472.4 MB, free: 13.69 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.5381, allocations: 51.41 kB / 472.4 MB, free: 13.63 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.072e-05/0.5382, allocations: 100 kB / 472.5 MB, free: 13.53 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.646e-06/0.5382, allocations: 26.45 kB / 472.6 MB, free: 13.5 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.123e-05/0.5382, allocations: 87.52 kB / 472.6 MB, free: 13.41 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.098e-05/0.5382, allocations: 0 / 472.6 MB, free: 13.41 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-06/0.5382, allocations: 0 / 472.6 MB, free: 13.41 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.76e-05/0.5383, allocations: 318.3 kB / 472.9 MB, free: 13.1 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.24e-05/0.5383, allocations: 3.5 kB / 473 MB, free: 13.1 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.959e-05/0.5383, allocations: 27.31 kB / 473 MB, free: 13.06 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.842e-05/0.5383, allocations: 15.94 kB / 473 MB, free: 13.05 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5383, allocations: 3.094 kB / 473 MB, free: 13.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.63e-05/0.5384, allocations: 56.22 kB / 473.1 MB, free: 12.99 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.5384, allocations: 4 kB / 473.1 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.5384, allocations: 0 / 473.1 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.5385, allocations: 4 kB / 473.1 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.329e-05/0.5385, allocations: 7.469 kB / 473.1 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.5385, allocations: 8.125 kB / 473.1 MB, free: 12.97 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.166e-05/0.5386, allocations: 3.906 kB / 473.1 MB, free: 12.97 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.5386, allocations: 4 kB / 473.1 MB, free: 12.96 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: 2 (ramp.counter,$CLKPRE.ramp.counter) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 5.095e-05/0.5386, allocations: 104.9 kB / 473.2 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.575e-05/0.5387, allocations: 63.34 kB / 473.2 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.582e-05/0.5387, allocations: 15.08 kB / 473.3 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.5387, allocations: 0 / 473.3 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.5387, allocations: 0 / 473.3 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.5388, allocations: 0 / 473.3 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.278e-05/0.5388, allocations: 140.5 kB / 473.4 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.5388, allocations: 1.75 kB / 473.4 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.5389, allocations: 18.7 kB / 473.4 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.5389, allocations: 3.906 kB / 473.4 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.539, allocations: 4 kB / 473.4 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.539, allocations: 0 / 473.4 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.539, allocations: 0 / 473.4 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.55e-05/0.5391, allocations: 86.58 kB / 473.5 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000115/0.5392, allocations: 455.6 kB / 474 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.006e-05/0.5392, allocations: 80.53 kB / 474 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.5392, allocations: 4 kB / 474 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.149e-05/0.5393, allocations: 11.33 kB / 474.1 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.676e-06/0.5393, allocations: 4 kB / 474.1 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.5394, allocations: 0 / 474.1 MB, free: 11.96 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.409e-05/0.5394, allocations: 87.53 kB / 474.1 MB, free: 11.88 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007548/0.5401, allocations: 7.422 kB / 474.1 MB, free: 11.87 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: 1 (ramp.counter) * 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.465e-05/0.5402, allocations: 95.25 kB / 474.2 MB, free: 11.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.885e-05/0.5403, allocations: 23.81 kB / 474.3 MB, free: 11.75 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.5403, allocations: 5.469 kB / 474.3 MB, free: 11.75 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.82e-07/0.5403, allocations: 0 / 474.3 MB, free: 11.75 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.5406, allocations: 26.05 kB / 474.3 MB, free: 11.73 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002103/0.5408, allocations: 76.58 kB / 474.4 MB, free: 11.65 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.5409, allocations: 0.6941 MB / 475.1 MB, free: 10.94 MB / 346.7 MB Notification: Performance of SimCode: time 5.72e-07/0.5409, allocations: 0 / 475.1 MB, free: 10.94 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1)