Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74",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.00105/0.001051, allocations: 194 kB / 7.805 MB, free: 2.492 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.118/1.118, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.0009557/0.0009555, allocations: 91.77 kB / 261.4 MB, free: 13.46 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.196/0.196, allocations: 43.49 MB / 352.9 MB, free: 1.871 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1785/0.3746, allocations: 64.98 MB / 417.8 MB, free: 40.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.6349, allocations: 58.83 MB / 476.7 MB, free: 5.223 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1092/0.7442, allocations: 87 MB / 0.5504 GB, free: 11.84 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001674/0.7444, allocations: 71.97 kB / 0.5505 GB, free: 11.77 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.02043/0.7648, allocations: 7.894 MB / 0.5582 GB, free: 3.832 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.7649, allocations: 12 kB / 0.5582 GB, free: 3.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.336e-05/0.765, allocations: 31.61 kB / 0.5583 GB, free: 3.789 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005015/0.7655, allocations: 295 kB / 0.5585 GB, free: 3.461 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.7655, allocations: 8 kB / 0.5586 GB, free: 3.453 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.7655, allocations: 7.984 kB / 0.5586 GB, free: 3.445 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.859e-05/0.7656, allocations: 31.98 kB / 0.5586 GB, free: 3.414 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.7658, allocations: 87.38 kB / 0.5587 GB, free: 3.316 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.7658, allocations: 7.906 kB / 0.5587 GB, free: 3.309 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.7658, allocations: 3.984 kB / 0.5587 GB, free: 3.305 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.7659, allocations: 0 / 0.5587 GB, free: 3.305 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006037/0.7665, allocations: 461.4 kB / 0.5591 GB, free: 2.812 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.7666, allocations: 93.5 kB / 0.5592 GB, free: 2.703 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.822e-05/0.7667, allocations: 45.77 kB / 0.5593 GB, free: 2.652 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.7667, allocations: 4 kB / 0.5593 GB, free: 2.648 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001362/0.7669, allocations: 105 kB / 0.5594 GB, free: 2.527 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.603e-06/0.7669, allocations: 0 / 0.5594 GB, free: 2.527 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006801/0.7676, allocations: 295.7 kB / 0.5596 GB, free: 2.23 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.7676, allocations: 81.09 kB / 0.5597 GB, free: 2.133 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004957/0.7681, allocations: 422 kB / 0.5601 GB, free: 1.711 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.7682, allocations: 25.7 kB / 0.5602 GB, free: 1.68 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.378e-05/0.7682, allocations: 112.4 kB / 0.5603 GB, free: 1.562 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.433e-05/0.7683, allocations: 47.3 kB / 0.5603 GB, free: 1.516 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.994e-06/0.7683, allocations: 0 / 0.5603 GB, free: 1.516 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.7685, allocations: 346.8 kB / 0.5606 GB, free: 1.168 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.464e-05/0.7686, allocations: 35.94 kB / 0.5607 GB, free: 1.133 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.7687, allocations: 70.86 kB / 0.5607 GB, free: 1.055 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.25e-05/0.7688, allocations: 47.89 kB / 0.5608 GB, free: 1.008 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.7688, allocations: 0 / 0.5608 GB, free: 1.008 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002766/0.7691, allocations: 165.4 kB / 0.5609 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.7691, allocations: 6.812 kB / 0.5609 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.7691, allocations: 80 / 0.5609 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.7691, allocations: 4 kB / 0.561 GB, free: 0.832 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.7693, allocations: 36.36 kB / 0.561 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.7693, allocations: 11.98 kB / 0.561 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.815e-05/0.7694, allocations: 8 kB / 0.561 GB, free: 0.7773 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.7694, allocations: 7.984 kB / 0.561 GB, free: 0.7695 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 8.316e-05/0.7695, allocations: 110.3 kB / 0.5611 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.139e-05/0.7696, allocations: 31.62 kB / 0.5611 GB, free: 0.625 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003285/0.7699, allocations: 192.3 kB / 0.5613 GB, free: 440 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.7699, allocations: 7.984 kB / 0.5613 GB, free: 432 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.7699, allocations: 0 / 0.5613 GB, free: 432 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.7699, allocations: 4 kB / 0.5613 GB, free: 428 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007357/0.7707, allocations: 0.6364 MB / 0.562 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.7707, allocations: 0 / 0.562 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.5e-05/0.7708, allocations: 19.98 kB / 0.562 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.229e-06/0.7708, allocations: 8.062 kB / 0.562 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.7708, allocations: 4 kB / 0.562 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.7708, allocations: 3.938 kB / 0.562 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.7708, allocations: 0 / 0.562 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000356/0.7712, allocations: 394.2 kB / 0.5624 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004807/0.7717, allocations: 0.7476 MB / 0.5631 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/0.7718, allocations: 132.6 kB / 0.5632 GB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.356e-05/0.7719, allocations: 8 kB / 0.5632 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.7721, allocations: 4 kB / 0.5632 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.7721, allocations: 11.97 kB / 0.5633 GB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.7721, allocations: 8 kB / 0.5633 GB, free: 14.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0003996/0.7725, allocations: 336.5 kB / 0.5636 GB, free: 13.97 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009364/0.7735, allocations: 59.84 kB / 0.5636 GB, free: 13.91 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.0007848/0.7743, allocations: 352.9 kB / 0.564 GB, free: 13.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002157/0.7745, allocations: 107.9 kB / 0.5641 GB, free: 13.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.7745, allocations: 0 / 0.5641 GB, free: 13.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.7746, allocations: 56.56 kB / 0.5641 GB, free: 13.44 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004326/0.7751, allocations: 57.16 kB / 0.5642 GB, free: 13.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008076/0.7759, allocations: 447.3 kB / 0.5646 GB, free: 12.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004421/0.7763, allocations: 0.813 MB / 0.5654 GB, free: 12.07 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.7763, allocations: 0 / 0.5654 GB, free: 12.07 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1)