Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78",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.00104/0.00104, allocations: 187.7 kB / 7.8 MB, free: 2.508 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.18/1.18, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.001003/0.001003, allocations: 99.5 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.1707/0.1707, allocations: 43.49 MB / 352.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1682/0.3389, allocations: 64.97 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.5964, allocations: 58.84 MB / 476.7 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1062/0.7026, allocations: 87 MB / 0.5504 GB, free: 11.93 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001908/0.7029, allocations: 71.97 kB / 0.5505 GB, free: 11.86 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.02026/0.7231, allocations: 7.902 MB / 0.5582 GB, free: 3.906 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.7232, allocations: 12 kB / 0.5582 GB, free: 3.895 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.417e-05/0.7232, allocations: 27.62 kB / 0.5583 GB, free: 3.867 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000449/0.7237, allocations: 298.9 kB / 0.5586 GB, free: 3.535 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.7237, allocations: 4 kB / 0.5586 GB, free: 3.531 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.7238, allocations: 7.984 kB / 0.5586 GB, free: 3.523 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.983e-05/0.7239, allocations: 35.98 kB / 0.5586 GB, free: 3.488 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.724, allocations: 91.31 kB / 0.5587 GB, free: 3.387 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.724, allocations: 3.906 kB / 0.5587 GB, free: 3.383 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.7241, allocations: 3.984 kB / 0.5587 GB, free: 3.379 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.7241, allocations: 0 / 0.5587 GB, free: 3.379 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005316/0.7246, allocations: 461.4 kB / 0.5591 GB, free: 2.887 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.7248, allocations: 93.52 kB / 0.5592 GB, free: 2.777 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.291e-05/0.7248, allocations: 45.77 kB / 0.5593 GB, free: 2.727 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.7249, allocations: 4 kB / 0.5593 GB, free: 2.723 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001265/0.725, allocations: 101 kB / 0.5594 GB, free: 2.605 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.313e-06/0.725, allocations: 0 / 0.5594 GB, free: 2.605 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006206/0.7256, allocations: 303.9 kB / 0.5597 GB, free: 2.301 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.7257, allocations: 81.11 kB / 0.5597 GB, free: 2.203 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004516/0.7261, allocations: 414 kB / 0.5601 GB, free: 1.789 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.7262, allocations: 25.7 kB / 0.5602 GB, free: 1.758 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.142e-05/0.7262, allocations: 112.4 kB / 0.5603 GB, free: 1.641 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.706e-05/0.7263, allocations: 51.3 kB / 0.5603 GB, free: 1.59 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-06/0.7263, allocations: 0 / 0.5603 GB, free: 1.59 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.7264, allocations: 342.8 kB / 0.5606 GB, free: 1.246 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.119e-05/0.7265, allocations: 43.94 kB / 0.5607 GB, free: 1.203 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.491e-05/0.7265, allocations: 70.69 kB / 0.5607 GB, free: 1.125 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.344e-05/0.7266, allocations: 44.03 kB / 0.5608 GB, free: 1.082 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.7266, allocations: 0 / 0.5608 GB, free: 1.082 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002433/0.7269, allocations: 169.2 kB / 0.561 GB, free: 0.9102 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.7269, allocations: 4 kB / 0.561 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.7269, allocations: 4.062 kB / 0.561 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.7269, allocations: 4 kB / 0.561 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.7271, allocations: 35.92 kB / 0.561 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.7271, allocations: 0 / 0.561 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.048e-05/0.7272, allocations: 7.984 kB / 0.561 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.7272, allocations: 8 kB / 0.561 GB, free: 0.8477 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: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.246e-05/0.7273, allocations: 110.3 kB / 0.5611 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.695e-05/0.7273, allocations: 31.62 kB / 0.5611 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003247/0.7277, allocations: 200.4 kB / 0.5613 GB, free: 0.5 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.7277, allocations: 0 / 0.5613 GB, free: 0.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.7277, allocations: 4 kB / 0.5613 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.7277, allocations: 0 / 0.5613 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006809/0.7284, allocations: 0.6325 MB / 0.562 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.7284, allocations: 4.062 kB / 0.562 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.336e-05/0.7285, allocations: 23.98 kB / 0.562 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.7285, allocations: 0 / 0.562 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.7285, allocations: 8 kB / 0.562 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.7285, allocations: 7.922 kB / 0.562 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.7285, allocations: 4 kB / 0.562 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002967/0.7288, allocations: 382.3 kB / 0.5624 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004048/0.7293, allocations: 0.7552 MB / 0.5631 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.7294, allocations: 128.7 kB / 0.5632 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.018e-05/0.7294, allocations: 4 kB / 0.5632 GB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.7296, allocations: 7.984 kB / 0.5632 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.527e-05/0.7297, allocations: 19.97 kB / 0.5633 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.7297, allocations: 8 kB / 0.5633 GB, free: 14.37 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0003031/0.73, allocations: 332.5 kB / 0.5636 GB, free: 14.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000901/0.7309, allocations: 63.83 kB / 0.5636 GB, free: 13.98 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * 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.0006379/0.7315, allocations: 357.2 kB / 0.564 GB, free: 13.67 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000183/0.7317, allocations: 103.9 kB / 0.5641 GB, free: 13.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.7317, allocations: 0 / 0.5641 GB, free: 13.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.482e-05/0.7318, allocations: 55.94 kB / 0.5641 GB, free: 13.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003945/0.7322, allocations: 49.03 kB / 0.5642 GB, free: 13.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007197/0.733, allocations: 447.3 kB / 0.5646 GB, free: 12.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003912/0.7334, allocations: 0.8169 MB / 0.5654 GB, free: 12.15 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.7334, allocations: 0 / 0.5654 GB, free: 12.15 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1)