Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27",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.001076/0.001076, allocations: 180.6 kB / 7.8 MB, free: 1.195 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.146/1.146, allocations: 205.2 MB / 213.4 MB, free: 8.668 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008518/0.0008518, allocations: 93.73 kB / 261.4 MB, free: 5.062 MB / 210.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1691/0.1691, allocations: 43.49 MB / 352.8 MB, free: 11.42 MB / 306.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2053/0.3744, allocations: 64.97 MB / 417.8 MB, free: 68.11 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09515/0.4696, allocations: 58.85 MB / 476.7 MB, free: 9.203 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2863/0.756, allocations: 86.86 MB / 0.5503 GB, free: 9.203 MB / 370.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001897/0.7562, allocations: 70.09 kB / 0.5504 GB, free: 9.172 MB / 370.8 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.01474/0.771, allocations: 5.278 MB / 0.5555 GB, free: 4.762 MB / 370.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.771, allocations: 8 kB / 0.5555 GB, free: 4.754 MB / 370.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.098e-05/0.7711, allocations: 11.91 kB / 0.5556 GB, free: 4.742 MB / 370.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003266/0.7714, allocations: 211.7 kB / 0.5558 GB, free: 4.504 MB / 370.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.7715, allocations: 4 kB / 0.5558 GB, free: 4.5 MB / 370.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.7715, allocations: 0 / 0.5558 GB, free: 4.5 MB / 370.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.463e-05/0.7716, allocations: 26.98 kB / 0.5558 GB, free: 4.48 MB / 370.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.194e-05/0.7717, allocations: 49.55 kB / 0.5558 GB, free: 4.43 MB / 370.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.7717, allocations: 3.906 kB / 0.5558 GB, free: 4.426 MB / 370.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.7717, allocations: 0 / 0.5558 GB, free: 4.426 MB / 370.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.7717, allocations: 0 / 0.5558 GB, free: 4.426 MB / 370.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003708/0.7721, allocations: 270.4 kB / 0.5561 GB, free: 4.145 MB / 370.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.7722, allocations: 56.72 kB / 0.5561 GB, free: 4.09 MB / 370.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.203e-05/0.7723, allocations: 19.92 kB / 0.5562 GB, free: 4.07 MB / 370.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.7723, allocations: 0 / 0.5562 GB, free: 4.07 MB / 370.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.191e-05/0.7724, allocations: 68.77 kB / 0.5562 GB, free: 4 MB / 370.8 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.7724, allocations: 0 / 0.5562 GB, free: 4 MB / 370.8 MB Notification: Performance of matching and sorting (n=8): time 0.0004097/0.7728, allocations: 133.8 kB / 0.5564 GB, free: 3.883 MB / 370.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.7729, allocations: 51.41 kB / 0.5564 GB, free: 3.82 MB / 370.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.773, allocations: 175.3 kB / 0.5566 GB, free: 3.664 MB / 370.8 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.7731, allocations: 25.7 kB / 0.5566 GB, free: 3.633 MB / 370.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.945e-05/0.7731, allocations: 91.25 kB / 0.5567 GB, free: 3.543 MB / 370.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.7731, allocations: 19.34 kB / 0.5567 GB, free: 3.527 MB / 370.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-06/0.7732, allocations: 0 / 0.5567 GB, free: 3.527 MB / 370.8 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.7733, allocations: 329.3 kB / 0.557 GB, free: 3.203 MB / 370.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.477e-05/0.7733, allocations: 15 kB / 0.557 GB, free: 3.195 MB / 370.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.667e-05/0.7734, allocations: 32.33 kB / 0.5571 GB, free: 3.164 MB / 370.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.451e-05/0.7734, allocations: 19 kB / 0.5571 GB, free: 3.152 MB / 370.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.7734, allocations: 3.906 kB / 0.5571 GB, free: 3.148 MB / 370.8 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001594/0.7736, allocations: 96.27 kB / 0.5572 GB, free: 3.062 MB / 370.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.7736, allocations: 4 kB / 0.5572 GB, free: 3.059 MB / 370.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.7736, allocations: 32 / 0.5572 GB, free: 3.059 MB / 370.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.7737, allocations: 8 kB / 0.5572 GB, free: 3.051 MB / 370.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.779e-05/0.7738, allocations: 15.98 kB / 0.5572 GB, free: 3.035 MB / 370.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.7738, allocations: 0 / 0.5572 GB, free: 3.035 MB / 370.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.534e-05/0.7738, allocations: 7.906 kB / 0.5572 GB, free: 3.027 MB / 370.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.7738, allocations: 0 / 0.5572 GB, free: 3.027 MB / 370.8 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 7.977e-05/0.7739, allocations: 117.4 kB / 0.5573 GB, free: 2.914 MB / 370.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/0.774, allocations: 7.906 kB / 0.5573 GB, free: 2.906 MB / 370.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000226/0.7742, allocations: 111 kB / 0.5574 GB, free: 2.809 MB / 370.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.7742, allocations: 4 kB / 0.5574 GB, free: 2.805 MB / 370.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.7742, allocations: 0 / 0.5574 GB, free: 2.805 MB / 370.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.7742, allocations: 3.938 kB / 0.5574 GB, free: 2.801 MB / 370.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000406/0.7746, allocations: 362.3 kB / 0.5578 GB, free: 2.434 MB / 370.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.7747, allocations: 4 kB / 0.5578 GB, free: 2.43 MB / 370.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.779e-05/0.7747, allocations: 15.92 kB / 0.5578 GB, free: 2.414 MB / 370.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.7747, allocations: 0 / 0.5578 GB, free: 2.414 MB / 370.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.7747, allocations: 7.984 kB / 0.5578 GB, free: 2.406 MB / 370.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.7748, allocations: 4.031 kB / 0.5578 GB, free: 2.402 MB / 370.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.7748, allocations: 0 / 0.5578 GB, free: 2.402 MB / 370.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002083/0.775, allocations: 213.1 kB / 0.558 GB, free: 2.188 MB / 370.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003301/0.7753, allocations: 0.5722 MB / 0.5586 GB, free: 1.605 MB / 370.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.828e-05/0.7754, allocations: 96.91 kB / 0.5587 GB, free: 1.492 MB / 370.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.991e-05/0.7754, allocations: 0 / 0.5587 GB, free: 1.492 MB / 370.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.73e-05/0.7755, allocations: 4 kB / 0.5587 GB, free: 1.488 MB / 370.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.7756, allocations: 13.86 kB / 0.5587 GB, free: 1.477 MB / 370.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.7756, allocations: 4 kB / 0.5587 GB, free: 1.473 MB / 370.8 MB Notification: Performance of sort global known variables: time 0.0001096/0.7757, allocations: 142.3 kB / 0.5588 GB, free: 1.352 MB / 370.8 MB Notification: Performance of remove unused functions: time 0.0008385/0.7765, allocations: 34.5 kB / 0.5589 GB, free: 1.324 MB / 370.8 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.0007373/0.7773, allocations: 351.5 kB / 0.5592 GB, free: 1.039 MB / 370.8 MB Notification: Performance of simCode: created initialization part: time 0.000136/0.7774, allocations: 62.17 kB / 0.5593 GB, free: 0.9922 MB / 370.8 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.7774, allocations: 0 / 0.5593 GB, free: 0.9922 MB / 370.8 MB Notification: Performance of simCode: created simulation system equations: time 5.509e-05/0.7775, allocations: 31.56 kB / 0.5593 GB, free: 0.9688 MB / 370.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.7778, allocations: 20.23 kB / 0.5593 GB, free: 0.9531 MB / 370.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004205/0.7782, allocations: 158.7 kB / 0.5595 GB, free: 0.7812 MB / 370.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003243/0.7786, allocations: 0.7349 MB / 0.5602 GB, free: 20 kB / 370.8 MB Notification: Performance of SimCode: time 2.4e-07/0.7786, allocations: 0 / 0.5602 GB, free: 20 kB / 370.8 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1)