Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79",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.001122/0.001122, allocations: 188.5 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.187/1.187, 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.0009302/0.0009303, allocations: 99.36 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.1835/0.1835, allocations: 43.49 MB / 352.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1864/0.37, allocations: 64.98 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.6419, allocations: 58.83 MB / 476.7 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1121/0.7541, allocations: 87.01 MB / 0.5505 GB, free: 11.9 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000183/0.7543, allocations: 71.47 kB / 0.5505 GB, free: 11.84 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.02038/0.7747, allocations: 7.729 MB / 0.5581 GB, free: 4.062 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.7748, allocations: 8 kB / 0.5581 GB, free: 4.055 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.96e-05/0.7748, allocations: 31.61 kB / 0.5581 GB, free: 4.023 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004304/0.7753, allocations: 291 kB / 0.5584 GB, free: 3.695 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.7753, allocations: 0 / 0.5584 GB, free: 3.695 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.7753, allocations: 4 kB / 0.5584 GB, free: 3.691 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.716e-05/0.7754, allocations: 43.97 kB / 0.5584 GB, free: 3.648 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.7756, allocations: 87.38 kB / 0.5585 GB, free: 3.551 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.7756, allocations: 7.844 kB / 0.5585 GB, free: 3.543 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.7756, allocations: 0 / 0.5585 GB, free: 3.543 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.7756, allocations: 4 kB / 0.5585 GB, free: 3.539 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000489/0.7761, allocations: 445.5 kB / 0.559 GB, free: 3.062 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.7763, allocations: 101.4 kB / 0.559 GB, free: 2.945 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.013e-05/0.7764, allocations: 33.84 kB / 0.5591 GB, free: 2.906 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.7764, allocations: 8 kB / 0.5591 GB, free: 2.898 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001321/0.7766, allocations: 105 kB / 0.5592 GB, free: 2.777 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 3.246e-06/0.7766, allocations: 0 / 0.5592 GB, free: 2.777 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006392/0.7772, allocations: 287.8 kB / 0.5595 GB, free: 2.488 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.7773, allocations: 81.11 kB / 0.5595 GB, free: 2.391 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003845/0.7777, allocations: 371.4 kB / 0.5599 GB, free: 2.027 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.7777, allocations: 33.7 kB / 0.5599 GB, free: 1.988 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.635e-05/0.7777, allocations: 108.4 kB / 0.56 GB, free: 1.875 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.695e-05/0.7778, allocations: 51.28 kB / 0.5601 GB, free: 1.824 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-06/0.7778, allocations: 4 kB / 0.5601 GB, free: 1.82 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.7779, allocations: 342.8 kB / 0.5604 GB, free: 1.477 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.402e-05/0.778, allocations: 32 kB / 0.5604 GB, free: 1.445 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.761e-05/0.7781, allocations: 70.86 kB / 0.5605 GB, free: 1.367 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.496e-05/0.7782, allocations: 39.98 kB / 0.5605 GB, free: 1.328 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.7782, allocations: 0 / 0.5605 GB, free: 1.328 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000247/0.7784, allocations: 169.4 kB / 0.5607 GB, free: 1.156 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.7784, allocations: 4 kB / 0.5607 GB, free: 1.152 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.7785, allocations: 4 kB / 0.5607 GB, free: 1.148 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.7785, allocations: 0 / 0.5607 GB, free: 1.148 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.7786, allocations: 36.3 kB / 0.5607 GB, free: 1.113 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.7786, allocations: 4.062 kB / 0.5608 GB, free: 1.109 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.97e-05/0.7787, allocations: 8.062 kB / 0.5608 GB, free: 1.102 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.7788, allocations: 12 kB / 0.5608 GB, free: 1.09 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.425e-05/0.7789, allocations: 122.2 kB / 0.5609 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.41e-05/0.7789, allocations: 27.62 kB / 0.5609 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003158/0.7792, allocations: 180.1 kB / 0.5611 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.7792, allocations: 4 kB / 0.5611 GB, free: 0.75 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.7793, allocations: 4 kB / 0.5611 GB, free: 0.7461 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.7793, allocations: 3.984 kB / 0.5611 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00069/0.78, allocations: 0.6208 MB / 0.5617 GB, free: 72 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.78, allocations: 3.906 kB / 0.5617 GB, free: 68 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.939e-05/0.7801, allocations: 27.92 kB / 0.5617 GB, free: 40 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.7801, allocations: 0 / 0.5617 GB, free: 40 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.7801, allocations: 4.062 kB / 0.5617 GB, free: 36 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.7801, allocations: 4 kB / 0.5617 GB, free: 32 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.7801, allocations: 7.938 kB / 0.5617 GB, free: 24 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003554/0.7805, allocations: 374.5 kB / 0.5621 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004053/0.7809, allocations: 0.7553 MB / 0.5628 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.781, allocations: 124.7 kB / 0.563 GB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.444e-05/0.7811, allocations: 7.984 kB / 0.563 GB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.7812, allocations: 4 kB / 0.563 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.7813, allocations: 7.984 kB / 0.563 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.7813, allocations: 15.98 kB / 0.563 GB, free: 14.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0002809/0.7816, allocations: 299.1 kB / 0.5633 GB, free: 14.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009159/0.7825, allocations: 59.84 kB / 0.5633 GB, free: 14.29 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.0007308/0.7832, allocations: 349.4 kB / 0.5637 GB, free: 13.99 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002002/0.7835, allocations: 103.9 kB / 0.5638 GB, free: 13.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.7835, allocations: 4.125 kB / 0.5638 GB, free: 13.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.911e-05/0.7836, allocations: 55.92 kB / 0.5638 GB, free: 13.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004152/0.784, allocations: 49.62 kB / 0.5639 GB, free: 13.78 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007279/0.7847, allocations: 399.4 kB / 0.5643 GB, free: 13.35 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003848/0.7851, allocations: 0.8015 MB / 0.565 GB, free: 12.52 MB / 410.7 MB Notification: Performance of SimCode: time 3.31e-07/0.7851, allocations: 0 / 0.565 GB, free: 12.52 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1)