Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45",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.001119/0.001119, allocations: 175.2 kB / 8.518 MB, free: 1.848 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.198/1.198, allocations: 221.4 MB / 230.3 MB, free: 7.652 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.0009857/0.0009857, allocations: 87.98 kB / 281.2 MB, free: 5.434 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.1792/0.1792, allocations: 44.14 MB / 376.1 MB, free: 3.207 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2324/0.4117, allocations: 68.04 MB / 444.1 MB, free: 15.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.5286, allocations: 61.91 MB / 0.4942 GB, free: 1.5 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3253/0.854, allocations: 88.49 MB / 0.5806 GB, free: 8.188 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/0.8543, allocations: 75.81 kB / 0.5807 GB, free: 8.117 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.01641/0.8707, allocations: 5.652 MB / 0.5862 GB, free: 2.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.8708, allocations: 11.94 kB / 0.5862 GB, free: 2.418 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.608e-05/0.8708, allocations: 11.91 kB / 0.5862 GB, free: 2.406 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003364/0.8712, allocations: 215.5 kB / 0.5864 GB, free: 2.152 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.8712, allocations: 0 / 0.5864 GB, free: 2.152 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.8712, allocations: 4 kB / 0.5864 GB, free: 2.148 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.244e-05/0.8713, allocations: 15.98 kB / 0.5864 GB, free: 2.133 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.349e-05/0.8714, allocations: 57.58 kB / 0.5865 GB, free: 2.07 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.8714, allocations: 3.938 kB / 0.5865 GB, free: 2.066 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.8715, allocations: 4 kB / 0.5865 GB, free: 2.062 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.8715, allocations: 0 / 0.5865 GB, free: 2.062 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003948/0.8719, allocations: 265.4 kB / 0.5868 GB, free: 1.766 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.872, allocations: 54.62 kB / 0.5868 GB, free: 1.703 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.92e-05/0.8721, allocations: 20.98 kB / 0.5868 GB, free: 1.68 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.8721, allocations: 4 kB / 0.5868 GB, free: 1.676 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.696e-05/0.8722, allocations: 67.33 kB / 0.5869 GB, free: 1.598 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.8722, allocations: 4 kB / 0.5869 GB, free: 1.594 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004491/0.8727, allocations: 129.3 kB / 0.587 GB, free: 1.461 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.8727, allocations: 51.41 kB / 0.5871 GB, free: 1.398 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.8729, allocations: 175.6 kB / 0.5872 GB, free: 1.219 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.873, allocations: 29.7 kB / 0.5873 GB, free: 1.184 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.291e-05/0.873, allocations: 96.03 kB / 0.5874 GB, free: 1.086 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.873, allocations: 27.64 kB / 0.5874 GB, free: 1.059 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/0.8731, allocations: 0 / 0.5874 GB, free: 1.059 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.8732, allocations: 326.8 kB / 0.5877 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.284e-05/0.8732, allocations: 16 kB / 0.5877 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.935e-05/0.8733, allocations: 33.66 kB / 0.5877 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.246e-05/0.8734, allocations: 31.97 kB / 0.5878 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.8734, allocations: 0 / 0.5878 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000162/0.8735, allocations: 89.5 kB / 0.5879 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.8736, allocations: 5.094 kB / 0.5879 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.8736, allocations: 0 / 0.5879 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.8736, allocations: 0 / 0.5879 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.8737, allocations: 27.92 kB / 0.5879 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.8737, allocations: 192 / 0.5879 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.489e-05/0.8738, allocations: 0 / 0.5879 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.8738, allocations: 7.969 kB / 0.5879 GB, free: 0.5117 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 7.672e-05/0.8739, allocations: 113 kB / 0.588 GB, free: 404 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.013e-05/0.8739, allocations: 15.8 kB / 0.588 GB, free: 388 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002229/0.8741, allocations: 99.02 kB / 0.5881 GB, free: 288 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.8742, allocations: 0 / 0.5881 GB, free: 288 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/0.8742, allocations: 4 kB / 0.5881 GB, free: 284 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.8742, allocations: 0 / 0.5881 GB, free: 284 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004371/0.8746, allocations: 375.8 kB / 0.5885 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.8746, allocations: 0 / 0.5885 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.617e-05/0.8747, allocations: 16 kB / 0.5885 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.8747, allocations: 0 / 0.5885 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.8747, allocations: 3.984 kB / 0.5885 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.8747, allocations: 11.84 kB / 0.5885 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.8747, allocations: 0 / 0.5885 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002025/0.875, allocations: 206.1 kB / 0.5887 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002999/0.8753, allocations: 0.5803 MB / 0.5893 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.016e-05/0.8753, allocations: 88.92 kB / 0.5894 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.8754, allocations: 4 kB / 0.5894 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.653e-05/0.8755, allocations: 7.984 kB / 0.5894 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-05/0.8755, allocations: 8 kB / 0.5894 GB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.8755, allocations: 8.172 kB / 0.5894 GB, free: 14.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.000114/0.8756, allocations: 140 kB / 0.5895 GB, free: 14.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00088/0.8765, allocations: 39.92 kB / 0.5896 GB, free: 14.69 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: 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.0008042/0.8773, allocations: 350.7 kB / 0.5899 GB, free: 14.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001329/0.8775, allocations: 51.98 kB / 0.5899 GB, free: 14.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.8775, allocations: 0 / 0.5899 GB, free: 14.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.38e-05/0.8776, allocations: 31.94 kB / 0.59 GB, free: 14.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.8778, allocations: 23.89 kB / 0.59 GB, free: 14.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000432/0.8783, allocations: 168.6 kB / 0.5902 GB, free: 14.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003287/0.8786, allocations: 0.727 MB / 0.5909 GB, free: 13.37 MB / 410.7 MB Notification: Performance of SimCode: time 3.81e-07/0.8786, allocations: 0 / 0.5909 GB, free: 13.37 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1)