Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29",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.001257/0.001256, allocations: 184.1 kB / 8.52 MB, free: 1.828 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.327/1.327, 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.001054/0.001054, allocations: 92.09 kB / 281.2 MB, free: 5.453 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.1875/0.1875, allocations: 44.15 MB / 376.1 MB, free: 3.227 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.254/0.4415, allocations: 68.04 MB / 444.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.572, allocations: 61.91 MB / 0.4942 GB, free: 1.543 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3626/0.9347, allocations: 88.48 MB / 0.5806 GB, free: 8.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002272/0.9349, allocations: 71.97 kB / 0.5807 GB, free: 8.199 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.01576/0.9507, allocations: 5.575 MB / 0.5861 GB, free: 2.602 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.9508, allocations: 11.94 kB / 0.5861 GB, free: 2.59 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.288e-05/0.9508, allocations: 7.906 kB / 0.5861 GB, free: 2.582 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.9511, allocations: 222.6 kB / 0.5863 GB, free: 2.324 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.9511, allocations: 4 kB / 0.5863 GB, free: 2.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.9512, allocations: 4 kB / 0.5863 GB, free: 2.316 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.284e-05/0.9513, allocations: 27.92 kB / 0.5864 GB, free: 2.289 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.609e-05/0.9514, allocations: 49.67 kB / 0.5864 GB, free: 2.234 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.9514, allocations: 0 / 0.5864 GB, free: 2.234 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.9514, allocations: 3.906 kB / 0.5864 GB, free: 2.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.9514, allocations: 0 / 0.5864 GB, free: 2.23 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003778/0.9518, allocations: 269.5 kB / 0.5867 GB, free: 1.93 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.9519, allocations: 58.67 kB / 0.5867 GB, free: 1.863 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.952e-05/0.952, allocations: 24.83 kB / 0.5868 GB, free: 1.836 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.952, allocations: 0 / 0.5868 GB, free: 1.836 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.886e-05/0.9521, allocations: 59.39 kB / 0.5868 GB, free: 1.766 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.9521, allocations: 0 / 0.5868 GB, free: 1.766 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004558/0.9526, allocations: 145.1 kB / 0.587 GB, free: 1.617 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.9526, allocations: 55.41 kB / 0.587 GB, free: 1.551 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.9528, allocations: 161.4 kB / 0.5872 GB, free: 1.387 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.9528, allocations: 25.7 kB / 0.5872 GB, free: 1.355 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.518e-05/0.9529, allocations: 92.12 kB / 0.5873 GB, free: 1.262 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.811e-05/0.9529, allocations: 19.72 kB / 0.5873 GB, free: 1.242 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-06/0.953, allocations: 0 / 0.5873 GB, free: 1.242 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.9531, allocations: 322.8 kB / 0.5876 GB, free: 0.918 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.617e-05/0.9532, allocations: 16 kB / 0.5876 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.897e-05/0.9532, allocations: 37.7 kB / 0.5877 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.77e-05/0.9533, allocations: 23.94 kB / 0.5877 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.9533, allocations: 0 / 0.5877 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001548/0.9535, allocations: 97.47 kB / 0.5878 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.9535, allocations: 5.094 kB / 0.5878 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.9535, allocations: 0 / 0.5878 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.9535, allocations: 4 kB / 0.5878 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.9537, allocations: 19.92 kB / 0.5878 GB, free: 0.707 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.9537, allocations: 0 / 0.5878 GB, free: 0.707 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.573e-05/0.9538, allocations: 11.97 kB / 0.5878 GB, free: 0.6953 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.9538, allocations: 4 kB / 0.5878 GB, free: 0.6914 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 0.0001158/0.9539, allocations: 111.8 kB / 0.5879 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.9539, allocations: 7.906 kB / 0.5879 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000223/0.9542, allocations: 110.1 kB / 0.588 GB, free: 468 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.9542, allocations: 4 kB / 0.588 GB, free: 464 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.9542, allocations: 0 / 0.588 GB, free: 464 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.9542, allocations: 0 / 0.588 GB, free: 464 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004428/0.9546, allocations: 371.8 kB / 0.5884 GB, free: 44 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.9547, allocations: 0 / 0.5884 GB, free: 44 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.676e-05/0.9547, allocations: 11.98 kB / 0.5884 GB, free: 32 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.9547, allocations: 4 kB / 0.5884 GB, free: 28 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.9547, allocations: 0 / 0.5884 GB, free: 28 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.9548, allocations: 0 / 0.5884 GB, free: 28 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.9548, allocations: 3.938 kB / 0.5884 GB, free: 24 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002243/0.955, allocations: 210.2 kB / 0.5886 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003267/0.9553, allocations: 0.5806 MB / 0.5892 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.658e-05/0.9554, allocations: 100.9 kB / 0.5893 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.9554, allocations: 0 / 0.5893 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.247e-05/0.9555, allocations: 4 kB / 0.5893 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/0.9556, allocations: 3.984 kB / 0.5893 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.9556, allocations: 4 kB / 0.5893 GB, free: 15.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001179/0.9557, allocations: 141 kB / 0.5894 GB, free: 14.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008821/0.9566, allocations: 28 kB / 0.5894 GB, free: 14.88 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.0008043/0.9574, allocations: 356.7 kB / 0.5898 GB, free: 14.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001889/0.9576, allocations: 47.98 kB / 0.5898 GB, free: 14.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.9576, allocations: 0 / 0.5898 GB, free: 14.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.491e-05/0.9577, allocations: 31.94 kB / 0.5899 GB, free: 14.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.9581, allocations: 28.02 kB / 0.5899 GB, free: 14.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004359/0.9585, allocations: 156.5 kB / 0.59 GB, free: 14.33 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003382/0.9589, allocations: 0.727 MB / 0.5907 GB, free: 13.57 MB / 410.7 MB Notification: Performance of SimCode: time 2.81e-07/0.9589, allocations: 0 / 0.5907 GB, free: 13.57 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1)