Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9",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.001209/0.001209, 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.348/1.348, allocations: 221.4 MB / 230.3 MB, free: 7.656 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.0009674/0.0009674, allocations: 92.09 kB / 281.2 MB, free: 5.457 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.2175/0.2175, allocations: 44.15 MB / 376.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2822/0.4999, allocations: 68.04 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.6482, allocations: 61.9 MB / 0.4942 GB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3661/1.014, allocations: 88.44 MB / 0.5805 GB, free: 8.289 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/1.015, allocations: 68.62 kB / 0.5806 GB, free: 8.223 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.01615/1.031, allocations: 5.601 MB / 0.5861 GB, free: 2.594 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/1.031, allocations: 11.94 kB / 0.5861 GB, free: 2.582 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.293e-05/1.031, allocations: 15.81 kB / 0.5861 GB, free: 2.566 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/1.031, allocations: 216.1 kB / 0.5863 GB, free: 2.316 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/1.031, allocations: 8 kB / 0.5863 GB, free: 2.309 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/1.031, allocations: 7.906 kB / 0.5863 GB, free: 2.301 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.596e-05/1.031, allocations: 23.92 kB / 0.5864 GB, free: 2.277 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.977e-05/1.032, allocations: 53.67 kB / 0.5864 GB, free: 2.219 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/1.032, allocations: 3.938 kB / 0.5864 GB, free: 2.215 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/1.032, allocations: 0 / 0.5864 GB, free: 2.215 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/1.032, allocations: 3.938 kB / 0.5864 GB, free: 2.211 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003898/1.032, allocations: 269.4 kB / 0.5867 GB, free: 1.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/1.032, allocations: 50.69 kB / 0.5867 GB, free: 1.852 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.899e-05/1.032, allocations: 16.98 kB / 0.5867 GB, free: 1.832 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/1.032, allocations: 4 kB / 0.5867 GB, free: 1.828 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.098e-05/1.032, allocations: 63.33 kB / 0.5868 GB, free: 1.754 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/1.032, allocations: 0 / 0.5868 GB, free: 1.754 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004313/1.033, allocations: 145.1 kB / 0.5869 GB, free: 1.605 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/1.033, allocations: 51.41 kB / 0.587 GB, free: 1.543 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/1.033, allocations: 189.3 kB / 0.5872 GB, free: 1.352 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/1.033, allocations: 29.7 kB / 0.5872 GB, free: 1.316 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.399e-05/1.033, allocations: 92.12 kB / 0.5873 GB, free: 1.223 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/1.033, allocations: 23.66 kB / 0.5873 GB, free: 1.199 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.758e-06/1.033, allocations: 0 / 0.5873 GB, free: 1.199 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/1.033, allocations: 322.8 kB / 0.5876 GB, free: 0.875 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.053e-05/1.033, allocations: 24 kB / 0.5876 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.74e-05/1.033, allocations: 41.62 kB / 0.5877 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.065e-05/1.033, allocations: 12 kB / 0.5877 GB, free: 0.793 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.033, allocations: 4 kB / 0.5877 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001502/1.034, allocations: 97.55 kB / 0.5878 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/1.034, allocations: 9.094 kB / 0.5878 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/1.034, allocations: 0 / 0.5878 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/1.034, allocations: 0 / 0.5878 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/1.034, allocations: 19.97 kB / 0.5878 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/1.034, allocations: 7.984 kB / 0.5878 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.193e-05/1.034, allocations: 0 / 0.5878 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/1.034, allocations: 7.906 kB / 0.5878 GB, free: 0.6445 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.602e-05/1.034, allocations: 107.7 kB / 0.5879 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/1.034, allocations: 11.81 kB / 0.5879 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002119/1.034, allocations: 111.1 kB / 0.588 GB, free: 420 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/1.034, allocations: 0 / 0.588 GB, free: 420 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/1.034, allocations: 8 kB / 0.5881 GB, free: 412 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/1.034, allocations: 0 / 0.5881 GB, free: 412 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003886/1.035, allocations: 375.9 kB / 0.5884 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/1.035, allocations: 0 / 0.5884 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/1.035, allocations: 8 kB / 0.5884 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/1.035, allocations: 3.938 kB / 0.5884 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/1.035, allocations: 8.172 kB / 0.5884 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/1.035, allocations: 4 kB / 0.5884 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.035, allocations: 0 / 0.5884 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001764/1.035, allocations: 209.9 kB / 0.5886 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002973/1.035, allocations: 0.5843 MB / 0.5892 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.026e-05/1.035, allocations: 93.02 kB / 0.5893 GB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.239e-05/1.035, allocations: 7.906 kB / 0.5893 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.03e-05/1.035, allocations: 3.984 kB / 0.5893 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/1.035, allocations: 7.984 kB / 0.5893 GB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/1.035, allocations: 4 kB / 0.5893 GB, free: 14.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001393/1.036, allocations: 156.2 kB / 0.5895 GB, free: 14.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008498/1.036, allocations: 32 kB / 0.5895 GB, free: 14.8 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.0008118/1.037, allocations: 348.2 kB / 0.5898 GB, free: 14.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001732/1.037, allocations: 47.98 kB / 0.5899 GB, free: 14.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/1.037, allocations: 4 kB / 0.5899 GB, free: 14.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.005e-05/1.038, allocations: 32 kB / 0.5899 GB, free: 14.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/1.038, allocations: 27.97 kB / 0.5899 GB, free: 14.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004684/1.038, allocations: 184.4 kB / 0.5901 GB, free: 14.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003608/1.039, allocations: 0.7309 MB / 0.5908 GB, free: 13.46 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/1.039, allocations: 0 / 0.5908 GB, free: 13.46 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1)