Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_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.002139/0.002139, allocations: 195.1 kB / 8.537 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.261/1.261, allocations: 225.5 MB / 234.4 MB, free: 3.414 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008485/0.0008485, allocations: 96.08 kB / 286.3 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1127/0.1135, allocations: 56.9 MB / 343.2 MB, free: 8.668 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.2217, allocations: 51.48 MB / 394.7 MB, free: 5.145 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3051/0.5269, allocations: 76.07 MB / 470.8 MB, free: 14.98 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003043/0.5272, allocations: 71.7 kB / 470.9 MB, free: 14.95 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.002713/0.53, allocations: 0.7557 MB / 471.6 MB, free: 14.38 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.53, allocations: 12.84 kB / 471.6 MB, free: 14.37 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.933e-05/0.5301, allocations: 6.797 kB / 471.6 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.5303, allocations: 183.4 kB / 471.8 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.194e-05/0.5303, allocations: 4 kB / 471.8 MB, free: 14.15 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.5303, allocations: 2.812 kB / 471.8 MB, free: 14.15 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.044e-05/0.5304, allocations: 11.31 kB / 471.8 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002231/0.5307, allocations: 89.12 kB / 471.9 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.5307, allocations: 0 / 471.9 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.5307, allocations: 1.031 kB / 471.9 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.5307, allocations: 0 / 471.9 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001172/0.5309, allocations: 140 kB / 472 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.531, allocations: 41.86 kB / 472.1 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.41e-05/0.531, allocations: 15.58 kB / 472.1 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.5311, allocations: 0 / 472.1 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.5311, allocations: 34.55 kB / 472.1 MB, free: 13.81 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.484e-06/0.5311, allocations: 0 / 472.1 MB, free: 13.81 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001733/0.5313, allocations: 51.97 kB / 472.2 MB, free: 13.76 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.5314, allocations: 58.55 kB / 472.2 MB, free: 13.7 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.718e-05/0.5314, allocations: 96.59 kB / 472.3 MB, free: 13.6 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.5315, allocations: 29.55 kB / 472.4 MB, free: 13.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.453e-05/0.5315, allocations: 80.14 kB / 472.4 MB, free: 13.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.279e-05/0.5315, allocations: 0 / 472.4 MB, free: 13.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-06/0.5315, allocations: 4 kB / 472.5 MB, free: 13.48 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.538e-05/0.5316, allocations: 321.2 kB / 472.8 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.453e-05/0.5316, allocations: 8 kB / 472.8 MB, free: 13.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.68e-05/0.5316, allocations: 26.75 kB / 472.8 MB, free: 13.12 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.897e-05/0.5317, allocations: 10.31 kB / 472.8 MB, free: 13.12 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.5317, allocations: 0 / 472.8 MB, free: 13.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00011/0.5318, allocations: 60.2 kB / 472.9 MB, free: 13.06 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.5318, allocations: 4 kB / 472.9 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.5319, allocations: 0 / 472.9 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.5319, allocations: 4 kB / 472.9 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.359e-05/0.532, allocations: 4 kB / 472.9 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.532, allocations: 0 / 472.9 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.461e-05/0.532, allocations: 3.938 kB / 472.9 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.532, allocations: 4 kB / 472.9 MB, free: 13.04 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: 5 (step.counter,$CLKPRE.step.counter,step.y,assignClock1.y,assignClock1.u) * 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 6.664e-05/0.5321, allocations: 105.1 kB / 473 MB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.744e-05/0.5322, allocations: 47.45 kB / 473 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.281e-05/0.5322, allocations: 10.5 kB / 473 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.5323, allocations: 6.188 kB / 473.1 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.5323, allocations: 0 / 473.1 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.5323, allocations: 3.828 kB / 473.1 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.666e-05/0.5324, allocations: 136.5 kB / 473.2 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.5324, allocations: 0 / 473.2 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.734e-05/0.5324, allocations: 7.141 kB / 473.2 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.5324, allocations: 3.984 kB / 473.2 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.5325, allocations: 0 / 473.2 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.5325, allocations: 4 kB / 473.2 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.5325, allocations: 0 / 473.2 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001085/0.5326, allocations: 78.5 kB / 473.3 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001709/0.5328, allocations: 453 kB / 473.7 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.885e-05/0.5328, allocations: 85.11 kB / 473.8 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.5329, allocations: 0 / 473.8 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.308e-05/0.5329, allocations: 7 kB / 473.8 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-06/0.5329, allocations: 0 / 473.8 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.533, allocations: 0 / 473.8 MB, free: 12.06 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.901e-05/0.533, allocations: 85.62 kB / 473.9 MB, free: 11.98 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001444/0.5344, allocations: 4 kB / 473.9 MB, free: 11.97 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: 4 (assignClock1.u,assignClock1.y,step.y,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 0.0001583/0.5346, allocations: 105.7 kB / 474 MB, free: 11.87 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001023/0.5347, allocations: 19.44 kB / 474 MB, free: 11.85 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.5348, allocations: 0 / 474 MB, free: 11.85 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.5348, allocations: 0 / 474 MB, free: 11.85 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.535, allocations: 22.72 kB / 474 MB, free: 11.84 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002427/0.5353, allocations: 56.89 kB / 474.1 MB, free: 11.77 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000189/0.5355, allocations: 0.6972 MB / 474.8 MB, free: 11.05 MB / 346.7 MB Notification: Performance of SimCode: time 3.61e-07/0.5355, allocations: 0 / 474.8 MB, free: 11.05 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1)