Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45",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.001075/0.001075, allocations: 187.4 kB / 7.804 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.2/1.2, allocations: 205.2 MB / 213.4 MB, free: 13.88 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.0009044/0.0009041, allocations: 79.12 kB / 261.4 MB, free: 13.64 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.1826/0.1826, allocations: 43.49 MB / 352.8 MB, free: 2.059 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1963/0.379, allocations: 64.98 MB / 417.8 MB, free: 40.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.6495, allocations: 58.84 MB / 476.7 MB, free: 5.316 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1138/0.7633, allocations: 86.89 MB / 0.5503 GB, free: 12.15 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002017/0.7636, allocations: 71.97 kB / 0.5504 GB, free: 12.08 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.01476/0.7783, allocations: 5.461 MB / 0.5557 GB, free: 6.578 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.7784, allocations: 12 kB / 0.5558 GB, free: 6.566 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.369e-05/0.7784, allocations: 11.81 kB / 0.5558 GB, free: 6.555 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.7787, allocations: 209 kB / 0.556 GB, free: 6.309 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.7787, allocations: 0 / 0.556 GB, free: 6.309 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.889e-05/0.7788, allocations: 4 kB / 0.556 GB, free: 6.305 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.654e-05/0.7788, allocations: 19.98 kB / 0.556 GB, free: 6.285 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.067e-05/0.7789, allocations: 53.59 kB / 0.556 GB, free: 6.227 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.475e-06/0.7789, allocations: 3.938 kB / 0.556 GB, free: 6.223 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.7789, allocations: 4 kB / 0.5561 GB, free: 6.219 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.779, allocations: 0 / 0.5561 GB, free: 6.219 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00037/0.7793, allocations: 277.4 kB / 0.5563 GB, free: 5.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.7794, allocations: 50.69 kB / 0.5564 GB, free: 5.852 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.575e-05/0.7795, allocations: 16.98 kB / 0.5564 GB, free: 5.832 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.7795, allocations: 4 kB / 0.5564 GB, free: 5.828 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.796e-05/0.7796, allocations: 63.28 kB / 0.5564 GB, free: 5.754 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.7796, allocations: 0 / 0.5564 GB, free: 5.754 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004435/0.7801, allocations: 129.3 kB / 0.5566 GB, free: 5.621 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.7801, allocations: 51.41 kB / 0.5566 GB, free: 5.559 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.7803, allocations: 186.3 kB / 0.5568 GB, free: 5.363 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.7803, allocations: 25.7 kB / 0.5568 GB, free: 5.332 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.145e-05/0.7804, allocations: 100.1 kB / 0.5569 GB, free: 5.23 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.7804, allocations: 23.66 kB / 0.5569 GB, free: 5.207 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-06/0.7804, allocations: 0 / 0.5569 GB, free: 5.207 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.7805, allocations: 322.8 kB / 0.5572 GB, free: 4.883 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.877e-05/0.7806, allocations: 19.94 kB / 0.5573 GB, free: 4.863 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.431e-05/0.7806, allocations: 33.7 kB / 0.5573 GB, free: 4.824 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.536e-05/0.7807, allocations: 20 kB / 0.5573 GB, free: 4.805 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.32e-07/0.7807, allocations: 4 kB / 0.5573 GB, free: 4.801 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001463/0.7808, allocations: 101.5 kB / 0.5574 GB, free: 4.695 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.7808, allocations: 4 kB / 0.5574 GB, free: 4.691 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.7809, allocations: 0 / 0.5574 GB, free: 4.691 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.7809, allocations: 4 kB / 0.5574 GB, free: 4.688 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.569e-05/0.781, allocations: 19.92 kB / 0.5574 GB, free: 4.668 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.781, allocations: 0 / 0.5574 GB, free: 4.668 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.348e-05/0.781, allocations: 4.188 kB / 0.5574 GB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.7811, allocations: 0 / 0.5574 GB, free: 4.664 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.753e-05/0.7811, allocations: 116.5 kB / 0.5576 GB, free: 4.547 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.7812, allocations: 15.81 kB / 0.5576 GB, free: 4.531 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000194/0.7814, allocations: 103 kB / 0.5577 GB, free: 4.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.7814, allocations: 4 kB / 0.5577 GB, free: 4.426 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.7814, allocations: 0 / 0.5577 GB, free: 4.426 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.7814, allocations: 0 / 0.5577 GB, free: 4.426 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000356/0.7818, allocations: 371.8 kB / 0.558 GB, free: 4.016 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.7818, allocations: 4.031 kB / 0.558 GB, free: 4.012 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.28e-05/0.7818, allocations: 8 kB / 0.558 GB, free: 4.004 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.7818, allocations: 288 / 0.558 GB, free: 4.004 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.7818, allocations: 7.906 kB / 0.558 GB, free: 3.996 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.7818, allocations: 0 / 0.558 GB, free: 3.996 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.7819, allocations: 3.938 kB / 0.5581 GB, free: 3.992 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000171/0.782, allocations: 209.9 kB / 0.5583 GB, free: 3.762 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002713/0.7823, allocations: 0.5764 MB / 0.5588 GB, free: 3.156 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.472e-05/0.7824, allocations: 100.9 kB / 0.5589 GB, free: 3.039 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.7824, allocations: 0 / 0.5589 GB, free: 3.039 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.782e-05/0.7825, allocations: 8 kB / 0.5589 GB, free: 3.031 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.959e-05/0.7825, allocations: 7.969 kB / 0.5589 GB, free: 3.023 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.7826, allocations: 4 kB / 0.5589 GB, free: 3.02 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001052/0.7827, allocations: 152.8 kB / 0.5591 GB, free: 2.871 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008316/0.7835, allocations: 31.94 kB / 0.5591 GB, free: 2.84 MB / 394.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007028/0.7842, allocations: 350.4 kB / 0.5594 GB, free: 2.527 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001214/0.7843, allocations: 48 kB / 0.5595 GB, free: 2.48 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.7844, allocations: 3.938 kB / 0.5595 GB, free: 2.477 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.095e-05/0.7844, allocations: 28 kB / 0.5595 GB, free: 2.449 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.7847, allocations: 35.72 kB / 0.5596 GB, free: 2.414 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003739/0.7851, allocations: 168.6 kB / 0.5597 GB, free: 2.219 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002805/0.7854, allocations: 0.727 MB / 0.5604 GB, free: 1.465 MB / 394.7 MB Notification: Performance of SimCode: time 2.81e-07/0.7854, allocations: 0 / 0.5604 GB, free: 1.465 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1)