Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",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.001084/0.001084, allocations: 198.8 kB / 8.538 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.247/1.247, allocations: 225.5 MB / 234.4 MB, free: 3.438 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009577/0.0009579, allocations: 93.84 kB / 286.3 MB, free: 5.211 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1252/0.1262, allocations: 56.9 MB / 343.2 MB, free: 8.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.2286, allocations: 51.47 MB / 394.7 MB, free: 5.168 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2792/0.5079, allocations: 76.07 MB / 470.8 MB, free: 15.06 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/0.5081, allocations: 75.62 kB / 470.9 MB, free: 15.04 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.002156/0.5103, allocations: 0.7977 MB / 471.6 MB, free: 14.44 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.5104, allocations: 8 kB / 471.7 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.345e-05/0.5104, allocations: 6.234 kB / 471.7 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.5106, allocations: 185.3 kB / 471.8 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.5106, allocations: 0.75 kB / 471.8 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-06/0.5106, allocations: 0 / 471.8 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.309e-05/0.5107, allocations: 11.31 kB / 471.9 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.5109, allocations: 90 kB / 471.9 MB, free: 14.13 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.5109, allocations: 0 / 471.9 MB, free: 14.13 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.5109, allocations: 4.688 kB / 471.9 MB, free: 14.13 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.5109, allocations: 0 / 471.9 MB, free: 14.13 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.98e-05/0.511, allocations: 143.9 kB / 472.1 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.096e-05/0.5111, allocations: 41.05 kB / 472.1 MB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.433e-05/0.5112, allocations: 15.45 kB / 472.1 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.5112, allocations: 4 kB / 472.1 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.5112, allocations: 36.47 kB / 472.2 MB, free: 13.86 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.5112, allocations: 0 / 472.2 MB, free: 13.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001467/0.5114, allocations: 52.19 kB / 472.2 MB, free: 13.81 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.5114, allocations: 58.61 kB / 472.3 MB, free: 13.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6e-05/0.5115, allocations: 96.06 kB / 472.4 MB, free: 13.65 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.257e-06/0.5115, allocations: 29.64 kB / 472.4 MB, free: 13.61 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.826e-05/0.5115, allocations: 83.33 kB / 472.5 MB, free: 13.53 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.449e-05/0.5116, allocations: 3.188 kB / 472.5 MB, free: 13.53 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.5116, allocations: 0 / 472.5 MB, free: 13.53 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.836e-05/0.5116, allocations: 317.3 kB / 472.8 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.368e-06/0.5116, allocations: 4 kB / 472.8 MB, free: 13.21 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.019e-05/0.5117, allocations: 26.62 kB / 472.8 MB, free: 13.18 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.946e-05/0.5117, allocations: 11.09 kB / 472.8 MB, free: 13.17 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5117, allocations: 4 kB / 472.9 MB, free: 13.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.546e-05/0.5118, allocations: 56.88 kB / 472.9 MB, free: 13.11 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.407e-06/0.5118, allocations: 4 kB / 472.9 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.5118, allocations: 2.031 kB / 472.9 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.5118, allocations: 4 kB / 472.9 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.356e-05/0.5119, allocations: 7.312 kB / 472.9 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.5119, allocations: 7.938 kB / 472.9 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.212e-05/0.5119, allocations: 0 / 472.9 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.5119, allocations: 4 kB / 472.9 MB, free: 13.09 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 (step.counter,$CLKPRE.step.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 7.231e-05/0.512, allocations: 109 kB / 473 MB, free: 12.97 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.982e-05/0.5121, allocations: 48.42 kB / 473.1 MB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.697e-05/0.5121, allocations: 10.25 kB / 473.1 MB, free: 12.92 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.5121, allocations: 0 / 473.1 MB, free: 12.92 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.5121, allocations: 3.906 kB / 473.1 MB, free: 12.92 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.5121, allocations: 4 kB / 473.1 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.156e-05/0.5122, allocations: 135.7 kB / 473.2 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.5122, allocations: 0 / 473.2 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.113e-05/0.5123, allocations: 12 kB / 473.3 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.5123, allocations: 0 / 473.3 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.5123, allocations: 7.328 kB / 473.3 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.5123, allocations: 5.25 kB / 473.3 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.5123, allocations: 0 / 473.3 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.217e-05/0.5124, allocations: 74.7 kB / 473.3 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001022/0.5125, allocations: 450.5 kB / 473.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.112e-05/0.5125, allocations: 89.02 kB / 473.9 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.5125, allocations: 1.312 kB / 473.9 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.829e-05/0.5126, allocations: 4 kB / 473.9 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.515e-06/0.5126, allocations: 0 / 473.9 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.5126, allocations: 0 / 473.9 MB, free: 12.09 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.492e-05/0.5126, allocations: 89.03 kB / 474 MB, free: 12.02 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000858/0.5135, allocations: 7.938 kB / 474 MB, free: 12.01 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 (step.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 9.633e-05/0.5136, allocations: 99.25 kB / 474.1 MB, free: 11.9 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.124e-05/0.5137, allocations: 18.84 kB / 474.1 MB, free: 11.89 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5137, allocations: 4 kB / 474.1 MB, free: 11.89 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.5137, allocations: 0 / 474.1 MB, free: 11.89 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.5139, allocations: 19.22 kB / 474.1 MB, free: 11.87 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00022/0.5141, allocations: 67.11 kB / 474.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001897/0.5143, allocations: 0.6939 MB / 474.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5144, allocations: 256 / 474.9 MB, free: 11.09 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1)