Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83",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 3.2.3+maint.om/package.mo): time 0.00153/0.00153, allocations: 190.4 kB / 7.803 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.241/1.241, allocations: 205.2 MB / 213.4 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001091/0.001091, allocations: 80.31 kB / 261.4 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1776/0.1776, allocations: 43.5 MB / 352.9 MB, free: 1.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1888/0.3664, allocations: 64.97 MB / 417.8 MB, free: 40.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.6049, allocations: 58.84 MB / 476.7 MB, free: 5.168 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1154/0.7204, allocations: 87.68 MB / 0.5511 GB, free: 11.21 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001975/0.7207, allocations: 71.45 kB / 0.5512 GB, free: 11.15 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.01912/0.7398, allocations: 7.01 MB / 0.558 GB, free: 4.086 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.7399, allocations: 11.94 kB / 0.558 GB, free: 4.074 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.215e-05/0.7399, allocations: 23.72 kB / 0.5581 GB, free: 4.051 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004434/0.7404, allocations: 290.1 kB / 0.5583 GB, free: 3.723 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.7404, allocations: 0 / 0.5583 GB, free: 3.723 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.7404, allocations: 4 kB / 0.5583 GB, free: 3.719 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001041/0.7405, allocations: 39.89 kB / 0.5584 GB, free: 3.68 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.7407, allocations: 100.2 kB / 0.5585 GB, free: 3.566 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.7407, allocations: 3.938 kB / 0.5585 GB, free: 3.562 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.7407, allocations: 0 / 0.5585 GB, free: 3.562 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.7407, allocations: 4 kB / 0.5585 GB, free: 3.559 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004512/0.7412, allocations: 366.1 kB / 0.5588 GB, free: 3.16 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.7414, allocations: 113.4 kB / 0.5589 GB, free: 3.031 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.499e-05/0.7414, allocations: 37.72 kB / 0.559 GB, free: 2.988 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.7415, allocations: 0 / 0.559 GB, free: 2.988 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001373/0.7416, allocations: 105.1 kB / 0.5591 GB, free: 2.867 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.7416, allocations: 0 / 0.5591 GB, free: 2.867 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002815/0.7419, allocations: 125.3 kB / 0.5592 GB, free: 2.738 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.742, allocations: 106.8 kB / 0.5593 GB, free: 2.609 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000314/0.7423, allocations: 295.3 kB / 0.5596 GB, free: 2.312 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.7423, allocations: 25.7 kB / 0.5596 GB, free: 2.281 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.064e-05/0.7424, allocations: 104.1 kB / 0.5597 GB, free: 2.176 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.609e-05/0.7424, allocations: 27.64 kB / 0.5597 GB, free: 2.148 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.301e-06/0.7424, allocations: 4 kB / 0.5597 GB, free: 2.145 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.7425, allocations: 338.7 kB / 0.5601 GB, free: 1.805 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.187e-05/0.7426, allocations: 35.94 kB / 0.5601 GB, free: 1.77 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.662e-05/0.7427, allocations: 69.14 kB / 0.5602 GB, free: 1.684 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.659e-05/0.7428, allocations: 40.05 kB / 0.5602 GB, free: 1.645 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.7428, allocations: 0 / 0.5602 GB, free: 1.645 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002056/0.743, allocations: 137.4 kB / 0.5603 GB, free: 1.504 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.743, allocations: 4 kB / 0.5603 GB, free: 1.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.743, allocations: 0 / 0.5603 GB, free: 1.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.743, allocations: 4 kB / 0.5603 GB, free: 1.496 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.7431, allocations: 19.98 kB / 0.5604 GB, free: 1.477 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.7432, allocations: 7.938 kB / 0.5604 GB, free: 1.469 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.911e-05/0.7433, allocations: 11.89 kB / 0.5604 GB, free: 1.457 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.7433, allocations: 4 kB / 0.5604 GB, free: 1.453 MB / 394.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: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 8.064e-05/0.7434, allocations: 121.9 kB / 0.5605 GB, free: 1.332 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.132e-05/0.7434, allocations: 27.61 kB / 0.5605 GB, free: 1.305 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000251/0.7437, allocations: 147.3 kB / 0.5607 GB, free: 1.152 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.7437, allocations: 0 / 0.5607 GB, free: 1.152 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.7437, allocations: 4 kB / 0.5607 GB, free: 1.148 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.7437, allocations: 0 / 0.5607 GB, free: 1.148 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/0.7439, allocations: 238 kB / 0.5609 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.7439, allocations: 4 kB / 0.5609 GB, free: 0.875 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.965e-05/0.744, allocations: 11.98 kB / 0.5609 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.744, allocations: 4 kB / 0.5609 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.744, allocations: 4 kB / 0.5609 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.744, allocations: 0 / 0.5609 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.744, allocations: 192 / 0.5609 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002165/0.7442, allocations: 185.5 kB / 0.5611 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003012/0.7446, allocations: 0.5543 MB / 0.5616 GB, free: 64 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.7447, allocations: 108.8 kB / 0.5617 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.768e-05/0.7447, allocations: 4 kB / 0.5617 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.298e-05/0.7448, allocations: 7.984 kB / 0.5617 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/0.7449, allocations: 15.98 kB / 0.5618 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.7449, allocations: 4 kB / 0.5618 GB, free: 15.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0002274/0.7451, allocations: 235.1 kB / 0.562 GB, free: 15.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009185/0.7461, allocations: 55.86 kB / 0.562 GB, free: 15.62 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000666/0.7467, allocations: 306.1 kB / 0.5623 GB, free: 15.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002006/0.7469, allocations: 95.92 kB / 0.5624 GB, free: 15.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.747, allocations: 4.125 kB / 0.5624 GB, free: 15.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.952e-05/0.747, allocations: 48.17 kB / 0.5625 GB, free: 15.22 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.7474, allocations: 64.03 kB / 0.5625 GB, free: 15.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005871/0.748, allocations: 284.4 kB / 0.5628 GB, free: 14.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003449/0.7483, allocations: 0.7822 MB / 0.5636 GB, free: 14.04 MB / 410.7 MB Notification: Performance of SimCode: time 2.9e-07/0.7484, allocations: 4 kB / 0.5636 GB, free: 14.04 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1)