Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30",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.001256/0.001256, allocations: 186.7 kB / 8.525 MB, free: 1.844 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.338/1.338, allocations: 221.4 MB / 230.3 MB, free: 7.613 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.000938/0.0009382, allocations: 89.69 kB / 281.2 MB, free: 5.43 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.1991/0.1991, allocations: 44.14 MB / 376.1 MB, free: 3.195 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2583/0.4574, allocations: 68.04 MB / 444.1 MB, free: 15.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.5891, allocations: 61.91 MB / 0.4942 GB, free: 1.484 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3533/0.9425, allocations: 88.49 MB / 0.5806 GB, free: 8.152 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/0.9428, allocations: 71.78 kB / 0.5807 GB, free: 8.086 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.01604/0.9588, allocations: 5.583 MB / 0.5861 GB, free: 2.473 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.9589, allocations: 11.94 kB / 0.5861 GB, free: 2.461 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.063e-05/0.959, allocations: 7.906 kB / 0.5861 GB, free: 2.453 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003595/0.9593, allocations: 222.6 kB / 0.5863 GB, free: 2.195 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.9594, allocations: 0 / 0.5863 GB, free: 2.195 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.9594, allocations: 8 kB / 0.5864 GB, free: 2.188 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.205e-05/0.9595, allocations: 19.98 kB / 0.5864 GB, free: 2.168 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.286e-05/0.9596, allocations: 53.67 kB / 0.5864 GB, free: 2.109 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.9596, allocations: 3.938 kB / 0.5864 GB, free: 2.105 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.9596, allocations: 3.906 kB / 0.5864 GB, free: 2.102 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.9596, allocations: 0 / 0.5864 GB, free: 2.102 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003538/0.96, allocations: 261.5 kB / 0.5867 GB, free: 1.809 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.9601, allocations: 54.62 kB / 0.5867 GB, free: 1.746 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.278e-05/0.9602, allocations: 20.89 kB / 0.5868 GB, free: 1.723 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.9602, allocations: 0 / 0.5868 GB, free: 1.723 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.698e-05/0.9603, allocations: 67.34 kB / 0.5868 GB, free: 1.645 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.9603, allocations: 0 / 0.5868 GB, free: 1.645 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003947/0.9607, allocations: 133.2 kB / 0.5869 GB, free: 1.508 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.9607, allocations: 59.39 kB / 0.587 GB, free: 1.438 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/0.9609, allocations: 161.4 kB / 0.5872 GB, free: 1.273 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.961, allocations: 29.7 kB / 0.5872 GB, free: 1.238 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.78e-05/0.961, allocations: 92.12 kB / 0.5873 GB, free: 1.145 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.9611, allocations: 19.7 kB / 0.5873 GB, free: 1.125 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.9611, allocations: 4 kB / 0.5873 GB, free: 1.121 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.9612, allocations: 318.8 kB / 0.5876 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.796e-05/0.9612, allocations: 20 kB / 0.5876 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.578e-05/0.9613, allocations: 41.64 kB / 0.5877 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.349e-05/0.9613, allocations: 20.06 kB / 0.5877 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.9613, allocations: 0 / 0.5877 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001457/0.9615, allocations: 97.48 kB / 0.5878 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.9615, allocations: 4 kB / 0.5878 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.9615, allocations: 0 / 0.5878 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.9615, allocations: 0 / 0.5878 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.9616, allocations: 19.94 kB / 0.5878 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.9617, allocations: 4.031 kB / 0.5878 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.085e-05/0.9617, allocations: 7.922 kB / 0.5878 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.9617, allocations: 4 kB / 0.5878 GB, free: 0.5742 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.609e-05/0.9618, allocations: 108.9 kB / 0.5879 GB, free: 472 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.405e-05/0.9618, allocations: 11.89 kB / 0.5879 GB, free: 460 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002093/0.9621, allocations: 114.1 kB / 0.588 GB, free: 340 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.9621, allocations: 0 / 0.588 GB, free: 340 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.9621, allocations: 0 / 0.588 GB, free: 340 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.9621, allocations: 4 kB / 0.588 GB, free: 336 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003883/0.9625, allocations: 371.8 kB / 0.5884 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.9625, allocations: 0 / 0.5884 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.644e-05/0.9626, allocations: 11.98 kB / 0.5884 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.9626, allocations: 0 / 0.5884 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.9626, allocations: 4 kB / 0.5884 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.9626, allocations: 3.938 kB / 0.5884 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.9626, allocations: 0 / 0.5884 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001875/0.9628, allocations: 210.1 kB / 0.5886 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003715/0.9632, allocations: 0.5803 MB / 0.5892 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.7e-05/0.9633, allocations: 88.92 kB / 0.5893 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.068e-05/0.9633, allocations: 7.984 kB / 0.5893 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.181e-05/0.9634, allocations: 0 / 0.5893 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.9634, allocations: 11.98 kB / 0.5893 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.9634, allocations: 4.188 kB / 0.5893 GB, free: 14.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001078/0.9636, allocations: 133 kB / 0.5894 GB, free: 14.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008342/0.9644, allocations: 31.98 kB / 0.5894 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.0007961/0.9652, allocations: 353.7 kB / 0.5898 GB, free: 14.51 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001451/0.9654, allocations: 51.98 kB / 0.5898 GB, free: 14.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.9654, allocations: 4 kB / 0.5898 GB, free: 14.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.753e-05/0.9654, allocations: 28.06 kB / 0.5899 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.0002698/0.9657, allocations: 30.89 kB / 0.5899 GB, free: 14.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003755/0.9661, allocations: 164.4 kB / 0.59 GB, free: 14.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003289/0.9664, allocations: 0.7231 MB / 0.5908 GB, free: 13.46 MB / 410.7 MB Notification: Performance of SimCode: time 2.91e-07/0.9664, allocations: 4 kB / 0.5908 GB, free: 13.45 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1)