Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72",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.00193/0.00193, allocations: 191.4 kB / 7.806 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.284/1.284, allocations: 205.2 MB / 213.4 MB, free: 13.87 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.0008876/0.0008876, allocations: 97.42 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.1832/0.1832, allocations: 43.49 MB / 352.9 MB, free: 1.973 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1817/0.3649, allocations: 64.97 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.6378, allocations: 58.84 MB / 476.7 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1142/0.7521, allocations: 86.76 MB / 0.5502 GB, free: 12.15 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/0.7524, allocations: 71.47 kB / 0.5503 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.01717/0.7696, allocations: 6.683 MB / 0.5568 GB, free: 5.352 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.7696, allocations: 12 kB / 0.5568 GB, free: 5.34 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.7698, allocations: 47.34 kB / 0.5569 GB, free: 5.293 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007743/0.7705, allocations: 471.1 kB / 0.5573 GB, free: 4.789 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.7706, allocations: 4 kB / 0.5573 GB, free: 4.785 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.7706, allocations: 4 kB / 0.5573 GB, free: 4.781 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.817e-05/0.7707, allocations: 31.98 kB / 0.5573 GB, free: 4.75 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.7708, allocations: 83.31 kB / 0.5574 GB, free: 4.656 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.7709, allocations: 7.906 kB / 0.5574 GB, free: 4.648 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.7709, allocations: 3.938 kB / 0.5574 GB, free: 4.645 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.7709, allocations: 0 / 0.5574 GB, free: 4.645 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003955/0.7713, allocations: 366.9 kB / 0.5578 GB, free: 4.246 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.7714, allocations: 85.36 kB / 0.5579 GB, free: 4.145 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.262e-05/0.7715, allocations: 41.73 kB / 0.5579 GB, free: 4.098 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.7715, allocations: 4 kB / 0.5579 GB, free: 4.094 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001333/0.7717, allocations: 101 kB / 0.558 GB, free: 3.977 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.213e-06/0.7717, allocations: 0 / 0.558 GB, free: 3.977 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003086/0.772, allocations: 145 kB / 0.5581 GB, free: 3.828 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.7721, allocations: 81.02 kB / 0.5582 GB, free: 3.73 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/0.7733, allocations: 0.9044 MB / 0.5591 GB, free: 2.82 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.7733, allocations: 29.7 kB / 0.5591 GB, free: 2.785 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.718e-05/0.7734, allocations: 136.1 kB / 0.5593 GB, free: 2.648 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.014e-05/0.7734, allocations: 23.72 kB / 0.5593 GB, free: 2.625 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-06/0.7735, allocations: 0 / 0.5593 GB, free: 2.625 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.7736, allocations: 370.8 kB / 0.5596 GB, free: 2.254 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.518e-05/0.7737, allocations: 24 kB / 0.5597 GB, free: 2.23 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.417e-05/0.7738, allocations: 51.42 kB / 0.5597 GB, free: 2.168 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.629e-05/0.7738, allocations: 35.92 kB / 0.5598 GB, free: 2.133 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.7738, allocations: 0 / 0.5598 GB, free: 2.133 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002595/0.7741, allocations: 153 kB / 0.5599 GB, free: 1.977 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.7741, allocations: 8 kB / 0.5599 GB, free: 1.969 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.7741, allocations: 3.938 kB / 0.5599 GB, free: 1.965 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.7742, allocations: 0 / 0.5599 GB, free: 1.965 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.7743, allocations: 23.98 kB / 0.5599 GB, free: 1.941 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.7743, allocations: 0 / 0.5599 GB, free: 1.941 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.7744, allocations: 11.84 kB / 0.5599 GB, free: 1.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.7745, allocations: 8 kB / 0.5599 GB, free: 1.922 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 9.272e-05/0.7746, allocations: 125.9 kB / 0.5601 GB, free: 1.797 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.815e-05/0.7747, allocations: 51.34 kB / 0.5601 GB, free: 1.746 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003054/0.775, allocations: 177.6 kB / 0.5603 GB, free: 1.562 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.775, allocations: 0 / 0.5603 GB, free: 1.562 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.775, allocations: 0 / 0.5603 GB, free: 1.562 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.775, allocations: 4 kB / 0.5603 GB, free: 1.559 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003501/0.7754, allocations: 353.9 kB / 0.5606 GB, free: 1.176 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.7754, allocations: 4 kB / 0.5606 GB, free: 1.172 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.892e-05/0.7754, allocations: 15.84 kB / 0.5606 GB, free: 1.156 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.7754, allocations: 0 / 0.5606 GB, free: 1.156 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.7755, allocations: 8 kB / 0.5607 GB, free: 1.148 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.7755, allocations: 3.984 kB / 0.5607 GB, free: 1.145 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.7755, allocations: 0 / 0.5607 GB, free: 1.145 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002412/0.7757, allocations: 191 kB / 0.5608 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003277/0.7761, allocations: 0.5774 MB / 0.5614 GB, free: 328 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002275/0.7763, allocations: 196.3 kB / 0.5616 GB, free: 112 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.356e-05/0.7764, allocations: 0 / 0.5616 GB, free: 112 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.7765, allocations: 11.98 kB / 0.5616 GB, free: 100 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.707e-05/0.7766, allocations: 7.984 kB / 0.5616 GB, free: 92 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.7766, allocations: 8 kB / 0.5616 GB, free: 84 kB / 394.7 MB Notification: Performance of sort global known variables: time 0.0008338/0.7774, allocations: 0.7175 MB / 0.5623 GB, free: 15.37 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008896/0.7783, allocations: 76 kB / 0.5624 GB, free: 15.29 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.0007734/0.7791, allocations: 321.9 kB / 0.5627 GB, free: 15.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001703/0.7793, allocations: 75.92 kB / 0.5628 GB, free: 14.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.7793, allocations: 0 / 0.5628 GB, free: 14.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.019e-05/0.7794, allocations: 40.12 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.0004021/0.7798, allocations: 69.75 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.001372/0.7812, allocations: 0.7679 MB / 0.5636 GB, free: 14.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005239/0.7817, allocations: 0.8928 MB / 0.5645 GB, free: 13.11 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.7817, allocations: 4 kB / 0.5645 GB, free: 13.11 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1)