Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test19",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.001528/0.001528, allocations: 190.6 kB / 7.802 MB, free: 2.438 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.157/1.157, allocations: 205.2 MB / 213.4 MB, free: 13.83 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.0007931/0.0007931, allocations: 88.02 kB / 261.4 MB, free: 13.53 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.1703/0.1703, allocations: 43.49 MB / 352.8 MB, free: 1.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1801/0.3504, allocations: 64.97 MB / 417.8 MB, free: 40.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.6175, allocations: 58.83 MB / 476.7 MB, free: 5.176 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1128/0.7303, allocations: 86.86 MB / 0.5503 GB, free: 12.03 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/0.7306, allocations: 79.12 kB / 0.5504 GB, free: 11.95 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.01427/0.7448, allocations: 5.262 MB / 0.5555 GB, free: 6.648 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.7449, allocations: 8 kB / 0.5555 GB, free: 6.641 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.455e-05/0.7449, allocations: 23.83 kB / 0.5555 GB, free: 6.617 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.7452, allocations: 217.6 kB / 0.5558 GB, free: 6.367 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.7453, allocations: 0 / 0.5558 GB, free: 6.367 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.7453, allocations: 3.984 kB / 0.5558 GB, free: 6.363 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.874e-05/0.7454, allocations: 16 kB / 0.5558 GB, free: 6.348 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.628e-05/0.7455, allocations: 53.67 kB / 0.5558 GB, free: 6.289 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.7455, allocations: 3.906 kB / 0.5558 GB, free: 6.285 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.7455, allocations: 3.984 kB / 0.5558 GB, free: 6.281 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.7455, allocations: 0 / 0.5558 GB, free: 6.281 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003291/0.7458, allocations: 269.5 kB / 0.5561 GB, free: 5.98 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.339e-05/0.7459, allocations: 54.53 kB / 0.5561 GB, free: 5.918 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.482e-05/0.746, allocations: 16.98 kB / 0.5562 GB, free: 5.898 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/0.746, allocations: 0 / 0.5562 GB, free: 5.898 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.434e-05/0.7461, allocations: 67.39 kB / 0.5562 GB, free: 5.82 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.7461, allocations: 0 / 0.5562 GB, free: 5.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003708/0.7465, allocations: 137.1 kB / 0.5564 GB, free: 5.68 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.378e-05/0.7465, allocations: 51.41 kB / 0.5564 GB, free: 5.617 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.7467, allocations: 166.3 kB / 0.5566 GB, free: 5.449 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.7467, allocations: 29.64 kB / 0.5566 GB, free: 5.414 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.82e-05/0.7467, allocations: 92.12 kB / 0.5567 GB, free: 5.32 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.7468, allocations: 19.72 kB / 0.5567 GB, free: 5.301 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-06/0.7468, allocations: 0 / 0.5567 GB, free: 5.301 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.677e-05/0.7469, allocations: 326.8 kB / 0.557 GB, free: 4.973 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.375e-05/0.7469, allocations: 16 kB / 0.557 GB, free: 4.957 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.73e-05/0.747, allocations: 37.7 kB / 0.5571 GB, free: 4.914 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.563e-05/0.747, allocations: 19.98 kB / 0.5571 GB, free: 4.895 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.747, allocations: 3.906 kB / 0.5571 GB, free: 4.891 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001447/0.7472, allocations: 93.59 kB / 0.5572 GB, free: 4.793 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.7472, allocations: 6.812 kB / 0.5572 GB, free: 4.789 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.7472, allocations: 4.031 kB / 0.5572 GB, free: 4.785 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.7472, allocations: 4 kB / 0.5572 GB, free: 4.781 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.262e-05/0.7473, allocations: 15.98 kB / 0.5572 GB, free: 4.766 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.7474, allocations: 0 / 0.5572 GB, free: 4.766 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.058e-05/0.7474, allocations: 8.094 kB / 0.5572 GB, free: 4.758 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-06/0.7474, allocations: 4 kB / 0.5572 GB, free: 4.754 MB / 394.7 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 6.584e-05/0.7475, allocations: 106.3 kB / 0.5573 GB, free: 4.645 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.167e-05/0.7475, allocations: 11.91 kB / 0.5573 GB, free: 4.633 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001923/0.7477, allocations: 118.1 kB / 0.5574 GB, free: 4.512 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.7477, allocations: 4 kB / 0.5574 GB, free: 4.508 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.7477, allocations: 0 / 0.5574 GB, free: 4.508 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.7478, allocations: 0 / 0.5574 GB, free: 4.508 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003462/0.7481, allocations: 363.9 kB / 0.5578 GB, free: 4.105 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.7481, allocations: 7.922 kB / 0.5578 GB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.227e-05/0.7482, allocations: 8 kB / 0.5578 GB, free: 4.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.7482, allocations: 4 kB / 0.5578 GB, free: 4.086 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.078e-06/0.7482, allocations: 4.031 kB / 0.5578 GB, free: 4.082 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.7482, allocations: 0 / 0.5578 GB, free: 4.082 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.7482, allocations: 0 / 0.5578 GB, free: 4.082 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001911/0.7484, allocations: 205.9 kB / 0.558 GB, free: 3.855 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002432/0.7487, allocations: 0.5764 MB / 0.5586 GB, free: 3.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.64e-05/0.7487, allocations: 96.91 kB / 0.5587 GB, free: 3.137 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.7487, allocations: 0 / 0.5587 GB, free: 3.137 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.19e-05/0.7488, allocations: 4 kB / 0.5587 GB, free: 3.133 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.867e-05/0.7489, allocations: 7.984 kB / 0.5587 GB, free: 3.125 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.7489, allocations: 7.938 kB / 0.5587 GB, free: 3.117 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001168/0.749, allocations: 148.1 kB / 0.5588 GB, free: 2.973 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008159/0.7498, allocations: 35.94 kB / 0.5589 GB, free: 2.938 MB / 394.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: 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.0006446/0.7505, allocations: 343 kB / 0.5592 GB, free: 2.641 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001228/0.7506, allocations: 59.92 kB / 0.5592 GB, free: 2.582 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.7506, allocations: 0 / 0.5592 GB, free: 2.582 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.672e-05/0.7507, allocations: 35.92 kB / 0.5593 GB, free: 2.547 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.7509, allocations: 23.84 kB / 0.5593 GB, free: 2.523 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003615/0.7513, allocations: 152.5 kB / 0.5594 GB, free: 2.34 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003396/0.7517, allocations: 0.731 MB / 0.5602 GB, free: 1.582 MB / 394.7 MB Notification: Performance of SimCode: time 2.8e-07/0.7517, allocations: 0 / 0.5602 GB, free: 1.582 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test19_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1)