Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71",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.001697/0.001697, allocations: 189.2 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.255/1.255, 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.0008617/0.0008617, allocations: 95.95 kB / 261.4 MB, free: 13.47 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.1711/0.1711, allocations: 43.48 MB / 352.8 MB, free: 1.879 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1893/0.3605, allocations: 64.98 MB / 417.8 MB, free: 40.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.6204, allocations: 58.84 MB / 476.7 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1152/0.7357, allocations: 86.75 MB / 0.5502 GB, free: 12.17 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002026/0.7359, allocations: 71.97 kB / 0.5503 GB, free: 12.1 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.01742/0.7534, allocations: 6.683 MB / 0.5568 GB, free: 5.371 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.7534, allocations: 8 kB / 0.5568 GB, free: 5.363 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/0.7536, allocations: 47.34 kB / 0.5569 GB, free: 5.316 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009486/0.7545, allocations: 483 kB / 0.5573 GB, free: 4.801 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.7546, allocations: 0 / 0.5573 GB, free: 4.801 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.7546, allocations: 7.984 kB / 0.5573 GB, free: 4.793 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001342/0.7548, allocations: 27.98 kB / 0.5573 GB, free: 4.766 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.7549, allocations: 83.36 kB / 0.5574 GB, free: 4.672 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.7549, allocations: 7.844 kB / 0.5574 GB, free: 4.664 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.755, allocations: 3.984 kB / 0.5574 GB, free: 4.66 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.755, allocations: 0 / 0.5574 GB, free: 4.66 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004169/0.7554, allocations: 362.8 kB / 0.5578 GB, free: 4.266 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.7556, allocations: 93.34 kB / 0.5579 GB, free: 4.156 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6e-05/0.7556, allocations: 33.72 kB / 0.5579 GB, free: 4.117 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.7557, allocations: 0 / 0.5579 GB, free: 4.117 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001344/0.7558, allocations: 105 kB / 0.558 GB, free: 3.996 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.7558, allocations: 4 kB / 0.558 GB, free: 3.992 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002942/0.7561, allocations: 137 kB / 0.5581 GB, free: 3.852 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.7562, allocations: 81.02 kB / 0.5582 GB, free: 3.754 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001252/0.7574, allocations: 0.9084 MB / 0.5591 GB, free: 2.84 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.7575, allocations: 25.7 kB / 0.5591 GB, free: 2.809 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.097e-05/0.7575, allocations: 140.1 kB / 0.5593 GB, free: 2.668 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.015e-05/0.7576, allocations: 23.7 kB / 0.5593 GB, free: 2.645 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-06/0.7576, allocations: 0 / 0.5593 GB, free: 2.645 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.7577, allocations: 374.8 kB / 0.5596 GB, free: 2.27 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.801e-05/0.7578, allocations: 20 kB / 0.5597 GB, free: 2.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.9e-05/0.7579, allocations: 51.92 kB / 0.5597 GB, free: 2.188 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.042e-05/0.7579, allocations: 27.98 kB / 0.5597 GB, free: 2.16 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.7579, allocations: 0 / 0.5597 GB, free: 2.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002333/0.7582, allocations: 165.1 kB / 0.5599 GB, free: 1.992 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.7582, allocations: 4 kB / 0.5599 GB, free: 1.988 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.7582, allocations: 0 / 0.5599 GB, free: 1.988 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.7582, allocations: 11.92 kB / 0.5599 GB, free: 1.977 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.7584, allocations: 23.92 kB / 0.5599 GB, free: 1.953 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.7584, allocations: 4 kB / 0.5599 GB, free: 1.949 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.7585, allocations: 11.84 kB / 0.5599 GB, free: 1.938 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.7585, allocations: 7.984 kB / 0.56 GB, free: 1.93 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.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.358e-05/0.7586, allocations: 118.2 kB / 0.5601 GB, free: 1.809 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.055e-05/0.7587, allocations: 47.34 kB / 0.5601 GB, free: 1.762 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002862/0.759, allocations: 173.7 kB / 0.5603 GB, free: 1.582 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.759, allocations: 4 kB / 0.5603 GB, free: 1.578 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/0.759, allocations: 0 / 0.5603 GB, free: 1.578 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.759, allocations: 0 / 0.5603 GB, free: 1.578 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003061/0.7593, allocations: 357.9 kB / 0.5606 GB, free: 1.191 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.7593, allocations: 3.938 kB / 0.5606 GB, free: 1.188 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.113e-05/0.7594, allocations: 15.84 kB / 0.5606 GB, free: 1.172 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.7594, allocations: 0 / 0.5606 GB, free: 1.172 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.7594, allocations: 11.98 kB / 0.5607 GB, free: 1.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.7594, allocations: 0 / 0.5607 GB, free: 1.16 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.7594, allocations: 0 / 0.5607 GB, free: 1.16 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002504/0.7597, allocations: 199.2 kB / 0.5608 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003478/0.7601, allocations: 0.5813 MB / 0.5614 GB, free: 332 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002233/0.7603, allocations: 196.4 kB / 0.5616 GB, free: 116 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.973e-05/0.7604, allocations: 3.984 kB / 0.5616 GB, free: 112 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.7605, allocations: 4 kB / 0.5616 GB, free: 108 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.7605, allocations: 7.984 kB / 0.5616 GB, free: 100 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.7606, allocations: 8 kB / 0.5616 GB, free: 92 kB / 394.7 MB Notification: Performance of sort global known variables: time 0.0007882/0.7614, allocations: 0.7214 MB / 0.5623 GB, free: 15.37 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008762/0.7622, allocations: 76 kB / 0.5624 GB, free: 15.3 MB / 410.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.0007103/0.763, allocations: 313.7 kB / 0.5627 GB, free: 15.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001697/0.7631, allocations: 71.98 kB / 0.5628 GB, free: 14.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.7632, allocations: 0 / 0.5628 GB, free: 14.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.369e-05/0.7632, allocations: 52.05 kB / 0.5628 GB, free: 14.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.7636, allocations: 61.83 kB / 0.5629 GB, free: 14.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.7649, allocations: 0.7717 MB / 0.5636 GB, free: 14.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005159/0.7654, allocations: 0.8928 MB / 0.5645 GB, free: 13.12 MB / 410.7 MB Notification: Performance of SimCode: time 2.81e-07/0.7654, allocations: 8 kB / 0.5645 GB, free: 13.11 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1)