Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 178.8 kB / 8.519 MB, free: 1.82 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.397/1.397, allocations: 221.4 MB / 230.3 MB, free: 7.777 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.001019/0.001019, allocations: 91.36 kB / 281.2 MB, free: 5.531 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.2164/0.2164, allocations: 44.15 MB / 376.1 MB, free: 3.258 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2847/0.5011, allocations: 68.04 MB / 444.1 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.6466, allocations: 61.91 MB / 0.4942 GB, free: 1.551 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3859/1.033, allocations: 88.44 MB / 0.5806 GB, free: 8.402 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/1.033, allocations: 71.97 kB / 0.5806 GB, free: 8.332 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.0153/1.048, allocations: 5.469 MB / 0.586 GB, free: 2.832 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/1.048, allocations: 11.94 kB / 0.586 GB, free: 2.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.339e-05/1.048, allocations: 7.906 kB / 0.586 GB, free: 2.812 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/1.049, allocations: 218.7 kB / 0.5862 GB, free: 2.559 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/1.049, allocations: 0 / 0.5862 GB, free: 2.559 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/1.049, allocations: 8.656 kB / 0.5862 GB, free: 2.551 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.015e-05/1.049, allocations: 19.98 kB / 0.5862 GB, free: 2.531 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.932e-05/1.049, allocations: 45.69 kB / 0.5863 GB, free: 2.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/1.049, allocations: 4 kB / 0.5863 GB, free: 2.477 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/1.049, allocations: 7.891 kB / 0.5863 GB, free: 2.469 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/1.049, allocations: 0 / 0.5863 GB, free: 2.469 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003454/1.049, allocations: 269.4 kB / 0.5865 GB, free: 2.168 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/1.049, allocations: 54.62 kB / 0.5866 GB, free: 2.105 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.719e-05/1.049, allocations: 28.83 kB / 0.5866 GB, free: 2.074 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/1.05, allocations: 0 / 0.5866 GB, free: 2.074 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.339e-05/1.05, allocations: 63.34 kB / 0.5867 GB, free: 2 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/1.05, allocations: 0 / 0.5867 GB, free: 2 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004428/1.05, allocations: 137.2 kB / 0.5868 GB, free: 1.859 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/1.05, allocations: 51.41 kB / 0.5869 GB, free: 1.797 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/1.05, allocations: 161.4 kB / 0.587 GB, free: 1.633 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/1.05, allocations: 33.69 kB / 0.587 GB, free: 1.594 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.735e-05/1.05, allocations: 84.14 kB / 0.5871 GB, free: 1.508 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.289e-05/1.05, allocations: 23.7 kB / 0.5871 GB, free: 1.484 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-06/1.05, allocations: 4 kB / 0.5872 GB, free: 1.48 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/1.051, allocations: 322.8 kB / 0.5875 GB, free: 1.156 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.501e-05/1.051, allocations: 16 kB / 0.5875 GB, free: 1.141 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.823e-05/1.051, allocations: 33.66 kB / 0.5875 GB, free: 1.102 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.777e-05/1.051, allocations: 27.98 kB / 0.5875 GB, free: 1.074 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/1.051, allocations: 0 / 0.5875 GB, free: 1.074 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001554/1.051, allocations: 85.5 kB / 0.5876 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/1.051, allocations: 8 kB / 0.5876 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/1.051, allocations: 0 / 0.5876 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/1.051, allocations: 0 / 0.5876 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/1.051, allocations: 24.11 kB / 0.5876 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/1.051, allocations: 4.156 kB / 0.5876 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.465e-05/1.051, allocations: 7.938 kB / 0.5877 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/1.051, allocations: 12.02 kB / 0.5877 GB, free: 0.9297 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 8.76e-05/1.051, allocations: 115.5 kB / 0.5878 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.072e-05/1.051, allocations: 7.906 kB / 0.5878 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002082/1.052, allocations: 102 kB / 0.5879 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/1.052, allocations: 0 / 0.5879 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/1.052, allocations: 0 / 0.5879 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/1.052, allocations: 3.984 kB / 0.5879 GB, free: 0.6953 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004209/1.052, allocations: 372.1 kB / 0.5882 GB, free: 292 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.644e-06/1.052, allocations: 4 kB / 0.5882 GB, free: 288 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.372e-05/1.052, allocations: 8 kB / 0.5883 GB, free: 280 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/1.052, allocations: 3.938 kB / 0.5883 GB, free: 276 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/1.052, allocations: 7.984 kB / 0.5883 GB, free: 268 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/1.052, allocations: 0 / 0.5883 GB, free: 268 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/1.052, allocations: 3.938 kB / 0.5883 GB, free: 264 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002074/1.052, allocations: 209.9 kB / 0.5885 GB, free: 28 kB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003815/1.053, allocations: 0.5766 MB / 0.589 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.028e-05/1.053, allocations: 92.92 kB / 0.5891 GB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.119e-05/1.053, allocations: 8 kB / 0.5891 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.586e-05/1.053, allocations: 3.984 kB / 0.5891 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/1.053, allocations: 4 kB / 0.5891 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/1.053, allocations: 4 kB / 0.5891 GB, free: 15.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001256/1.053, allocations: 137 kB / 0.5893 GB, free: 15.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000919/1.054, allocations: 31.98 kB / 0.5893 GB, free: 15.13 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.0009819/1.055, allocations: 358.3 kB / 0.5896 GB, free: 14.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000176/1.055, allocations: 44 kB / 0.5897 GB, free: 14.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.055, allocations: 4 kB / 0.5897 GB, free: 14.81 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.998e-05/1.055, allocations: 31.92 kB / 0.5897 GB, free: 14.78 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/1.056, allocations: 28 kB / 0.5897 GB, free: 14.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005587/1.056, allocations: 160.5 kB / 0.5899 GB, free: 14.56 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000373/1.057, allocations: 0.7269 MB / 0.5906 GB, free: 13.81 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/1.057, allocations: 0 / 0.5906 GB, free: 13.81 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1)