Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44",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.0009844/0.0009843, allocations: 179.4 kB / 8.517 MB, free: 1.855 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.261/1.261, allocations: 221.4 MB / 230.3 MB, free: 7.648 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.0009486/0.0009487, allocations: 83.67 kB / 281.2 MB, free: 5.469 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.1749/0.1749, allocations: 44.14 MB / 376.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2017/0.3766, allocations: 68.05 MB / 444.1 MB, free: 15.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.4829, allocations: 61.91 MB / 0.4942 GB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2885/0.7715, allocations: 88.48 MB / 0.5806 GB, free: 8.273 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001899/0.7717, allocations: 71.97 kB / 0.5807 GB, free: 8.203 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.01547/0.7872, allocations: 5.646 MB / 0.5862 GB, free: 2.531 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.7872, allocations: 15.94 kB / 0.5862 GB, free: 2.516 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.677e-05/0.7873, allocations: 15.83 kB / 0.5862 GB, free: 2.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.7876, allocations: 219.4 kB / 0.5864 GB, free: 2.242 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.7876, allocations: 0 / 0.5864 GB, free: 2.242 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.7876, allocations: 11.98 kB / 0.5864 GB, free: 2.23 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.048e-05/0.7877, allocations: 16 kB / 0.5864 GB, free: 2.215 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.002e-05/0.7878, allocations: 57.58 kB / 0.5865 GB, free: 2.152 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.7878, allocations: 0 / 0.5865 GB, free: 2.152 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.7878, allocations: 0 / 0.5865 GB, free: 2.152 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.7878, allocations: 0 / 0.5865 GB, free: 2.152 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003479/0.7882, allocations: 269.4 kB / 0.5868 GB, free: 1.852 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.684e-05/0.7883, allocations: 50.69 kB / 0.5868 GB, free: 1.793 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.068e-05/0.7884, allocations: 32.91 kB / 0.5868 GB, free: 1.758 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.7884, allocations: 0 / 0.5868 GB, free: 1.758 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.77e-05/0.7885, allocations: 59.39 kB / 0.5869 GB, free: 1.688 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.7885, allocations: 0 / 0.5869 GB, free: 1.688 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000395/0.7889, allocations: 137.2 kB / 0.587 GB, free: 1.547 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.581e-05/0.7889, allocations: 51.41 kB / 0.5871 GB, free: 1.484 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.7891, allocations: 179.6 kB / 0.5872 GB, free: 1.301 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.7891, allocations: 25.7 kB / 0.5873 GB, free: 1.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.445e-05/0.7892, allocations: 96.03 kB / 0.5874 GB, free: 1.172 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.7892, allocations: 27.64 kB / 0.5874 GB, free: 1.145 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/0.7892, allocations: 0 / 0.5874 GB, free: 1.145 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.645e-05/0.7893, allocations: 322.8 kB / 0.5877 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.601e-05/0.7894, allocations: 20 kB / 0.5877 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.832e-05/0.7894, allocations: 29.72 kB / 0.5877 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.533e-05/0.7895, allocations: 27.92 kB / 0.5878 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.7895, allocations: 0 / 0.5878 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001486/0.7897, allocations: 93.48 kB / 0.5879 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.7897, allocations: 4 kB / 0.5879 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.7897, allocations: 0 / 0.5879 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.7897, allocations: 3.984 kB / 0.5879 GB, free: 0.6328 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.451e-05/0.7898, allocations: 23.97 kB / 0.5879 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.506e-06/0.7898, allocations: 0 / 0.5879 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.144e-05/0.7899, allocations: 4 kB / 0.5879 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.7899, allocations: 3.984 kB / 0.5879 GB, free: 0.6016 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.858e-05/0.79, allocations: 109 kB / 0.588 GB, free: 500 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.79, allocations: 11.81 kB / 0.588 GB, free: 488 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002025/0.7902, allocations: 103.1 kB / 0.5881 GB, free: 384 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.7902, allocations: 4 kB / 0.5881 GB, free: 380 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.7902, allocations: 7.984 kB / 0.5881 GB, free: 372 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.7902, allocations: 0 / 0.5881 GB, free: 372 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000386/0.7906, allocations: 372 kB / 0.5885 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.7906, allocations: 0 / 0.5885 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.513e-05/0.7907, allocations: 11.98 kB / 0.5885 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.7907, allocations: 0 / 0.5885 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.7907, allocations: 4.188 kB / 0.5885 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/0.7907, allocations: 7.906 kB / 0.5885 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.7907, allocations: 8.047 kB / 0.5885 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000187/0.7909, allocations: 210 kB / 0.5887 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002906/0.7912, allocations: 0.5803 MB / 0.5893 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.195e-05/0.7913, allocations: 100.9 kB / 0.5894 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.7913, allocations: 0 / 0.5894 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.662e-05/0.7914, allocations: 4 kB / 0.5894 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.776e-05/0.7915, allocations: 3.984 kB / 0.5894 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.7915, allocations: 4 kB / 0.5894 GB, free: 14.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001168/0.7916, allocations: 148 kB / 0.5895 GB, free: 14.81 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008553/0.7925, allocations: 35.94 kB / 0.5896 GB, free: 14.77 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.0007747/0.7932, allocations: 347.2 kB / 0.5899 GB, free: 14.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001452/0.7934, allocations: 51.98 kB / 0.5899 GB, free: 14.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.7934, allocations: 64 / 0.5899 GB, free: 14.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.634e-05/0.7935, allocations: 35.94 kB / 0.59 GB, free: 14.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.7938, allocations: 28.7 kB / 0.59 GB, free: 14.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004604/0.7943, allocations: 160.5 kB / 0.5902 GB, free: 14.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000402/0.7947, allocations: 0.727 MB / 0.5909 GB, free: 13.46 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.7947, allocations: 64 / 0.5909 GB, free: 13.46 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1)