Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",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 4.0.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 180.8 kB / 8.524 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 221.4 MB / 230.3 MB, free: 7.676 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 97.89 kB / 281.2 MB, free: 5.492 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.176/0.176, allocations: 44.15 MB / 376.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2417/0.4178, allocations: 68.03 MB / 444.1 MB, free: 15.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.5283, allocations: 61.92 MB / 0.4942 GB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3184/0.8468, allocations: 88.31 MB / 0.5804 GB, free: 8.398 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002042/0.847, allocations: 73.38 kB / 0.5805 GB, free: 8.328 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.01606/0.8631, allocations: 5.741 MB / 0.5861 GB, free: 2.559 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.8632, allocations: 15.88 kB / 0.5861 GB, free: 2.543 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.052e-05/0.8633, allocations: 11.81 kB / 0.5861 GB, free: 2.531 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003709/0.8636, allocations: 226.3 kB / 0.5863 GB, free: 2.27 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.8637, allocations: 0 / 0.5863 GB, free: 2.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.8637, allocations: 4 kB / 0.5863 GB, free: 2.266 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.374e-05/0.8638, allocations: 19.92 kB / 0.5864 GB, free: 2.246 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.684e-05/0.8639, allocations: 45.59 kB / 0.5864 GB, free: 2.195 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.8639, allocations: 0 / 0.5864 GB, free: 2.195 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.8639, allocations: 4 kB / 0.5864 GB, free: 2.191 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.864, allocations: 0 / 0.5864 GB, free: 2.191 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002226/0.8642, allocations: 178.2 kB / 0.5866 GB, free: 1.98 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.8643, allocations: 42.62 kB / 0.5866 GB, free: 1.93 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.209e-05/0.8644, allocations: 16.86 kB / 0.5866 GB, free: 1.91 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.8644, allocations: 7.984 kB / 0.5866 GB, free: 1.902 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001042/0.8645, allocations: 63.44 kB / 0.5867 GB, free: 1.828 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.503e-06/0.8645, allocations: 3.938 kB / 0.5867 GB, free: 1.824 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.00022/0.8647, allocations: 73.48 kB / 0.5868 GB, free: 1.746 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.8648, allocations: 55.41 kB / 0.5868 GB, free: 1.68 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002482/0.865, allocations: 225.9 kB / 0.587 GB, free: 1.449 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.8651, allocations: 29.7 kB / 0.5871 GB, free: 1.414 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.098e-05/0.8651, allocations: 92.12 kB / 0.5872 GB, free: 1.32 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/0.8652, allocations: 7.906 kB / 0.5872 GB, free: 1.312 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/0.8652, allocations: 4 kB / 0.5872 GB, free: 1.309 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.8653, allocations: 326.8 kB / 0.5875 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.935e-05/0.8654, allocations: 12 kB / 0.5875 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.334e-05/0.8654, allocations: 29.64 kB / 0.5875 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.998e-05/0.8655, allocations: 16 kB / 0.5875 GB, free: 0.918 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.8655, allocations: 0 / 0.5875 GB, free: 0.918 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000129/0.8656, allocations: 73.5 kB / 0.5876 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.8656, allocations: 12.02 kB / 0.5876 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.8656, allocations: 4 kB / 0.5876 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.8657, allocations: 3.906 kB / 0.5876 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.418e-05/0.8657, allocations: 11.94 kB / 0.5876 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.8658, allocations: 0 / 0.5876 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.585e-05/0.8658, allocations: 7.938 kB / 0.5876 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.8658, allocations: 4 kB / 0.5877 GB, free: 0.7969 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 (7): * Single equations (assignments): 7 * 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.491e-05/0.8659, allocations: 107.8 kB / 0.5878 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.866, allocations: 19.81 kB / 0.5878 GB, free: 0.668 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001819/0.8662, allocations: 82.95 kB / 0.5879 GB, free: 0.582 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.8662, allocations: 7.906 kB / 0.5879 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.8662, allocations: 0 / 0.5879 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.8662, allocations: 0 / 0.5879 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.8663, allocations: 186.1 kB / 0.588 GB, free: 364 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.8664, allocations: 0 / 0.588 GB, free: 364 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.183e-05/0.8664, allocations: 7.938 kB / 0.588 GB, free: 356 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.8664, allocations: 0 / 0.588 GB, free: 356 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.8664, allocations: 7.984 kB / 0.5881 GB, free: 348 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.8664, allocations: 0 / 0.5881 GB, free: 348 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.8664, allocations: 7.906 kB / 0.5881 GB, free: 340 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001674/0.8666, allocations: 96.94 kB / 0.5882 GB, free: 224 kB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002481/0.8669, allocations: 485.3 kB / 0.5886 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.908e-05/0.8669, allocations: 100.8 kB / 0.5887 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/0.867, allocations: 8 kB / 0.5887 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.912e-05/0.867, allocations: 3.938 kB / 0.5887 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.8671, allocations: 8 kB / 0.5887 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.8671, allocations: 3.984 kB / 0.5887 GB, free: 15.58 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.000157/0.8673, allocations: 188.2 kB / 0.5889 GB, free: 15.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008024/0.8681, allocations: 31.91 kB / 0.5889 GB, free: 15.37 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0006569/0.8687, allocations: 314.3 kB / 0.5892 GB, free: 15.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001192/0.8689, allocations: 43.92 kB / 0.5893 GB, free: 15.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.8689, allocations: 0 / 0.5893 GB, free: 15.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.244e-05/0.8689, allocations: 16 kB / 0.5893 GB, free: 15.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.8692, allocations: 28.58 kB / 0.5893 GB, free: 15.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004765/0.8697, allocations: 187.9 kB / 0.5895 GB, free: 14.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004461/0.8701, allocations: 0.7384 MB / 0.5902 GB, free: 14.07 MB / 410.7 MB Notification: Performance of SimCode: time 3.11e-07/0.8702, allocations: 0 / 0.5902 GB, free: 14.07 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1)