Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10",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.001076/0.001076, allocations: 179.2 kB / 8.522 MB, free: 1.84 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.684 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.0009521/0.0009521, allocations: 86.53 kB / 281.2 MB, free: 5.488 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.1701/0.1701, allocations: 44.15 MB / 376.1 MB, free: 3.195 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2043/0.3744, allocations: 68.02 MB / 444.1 MB, free: 15.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.5063, allocations: 61.92 MB / 0.4942 GB, free: 1.484 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3491/0.8555, allocations: 89.39 MB / 0.5815 GB, free: 7.262 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/0.8558, allocations: 67.97 kB / 0.5815 GB, free: 7.195 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.01383/0.8697, allocations: 4.484 MB / 0.5859 GB, free: 2.684 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.8697, allocations: 11.94 kB / 0.5859 GB, free: 2.672 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.84e-05/0.8698, allocations: 15.81 kB / 0.586 GB, free: 2.656 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004511/0.8703, allocations: 228 kB / 0.5862 GB, free: 2.395 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.8703, allocations: 11.94 kB / 0.5862 GB, free: 2.383 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/0.8704, allocations: 11.94 kB / 0.5862 GB, free: 2.371 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001371/0.8705, allocations: 31.91 kB / 0.5862 GB, free: 2.34 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.8707, allocations: 88.23 kB / 0.5863 GB, free: 2.238 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.8707, allocations: 0 / 0.5863 GB, free: 2.238 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.8708, allocations: 4 kB / 0.5863 GB, free: 2.234 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.8708, allocations: 8 kB / 0.5863 GB, free: 2.227 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008293/0.8716, allocations: 0.4896 MB / 0.5868 GB, free: 1.691 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000296/0.8719, allocations: 70.69 kB / 0.5869 GB, free: 1.613 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.182e-05/0.872, allocations: 28.86 kB / 0.5869 GB, free: 1.582 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.8721, allocations: 3.938 kB / 0.5869 GB, free: 1.578 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001415/0.8722, allocations: 75.39 kB / 0.587 GB, free: 1.492 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 2.144e-06/0.8722, allocations: 4 kB / 0.587 GB, free: 1.488 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002886/0.8725, allocations: 93.64 kB / 0.5871 GB, free: 1.391 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.8726, allocations: 51.41 kB / 0.5871 GB, free: 1.328 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.8728, allocations: 170.7 kB / 0.5873 GB, free: 1.148 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.8728, allocations: 25.7 kB / 0.5873 GB, free: 1.117 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.523e-05/0.8729, allocations: 100 kB / 0.5874 GB, free: 1.016 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.35e-05/0.873, allocations: 31.55 kB / 0.5874 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.782e-06/0.873, allocations: 0 / 0.5874 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002177/0.8732, allocations: 326.8 kB / 0.5877 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.365e-05/0.8733, allocations: 24 kB / 0.5878 GB, free: 0.6328 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.078e-05/0.8733, allocations: 52.28 kB / 0.5878 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.315e-05/0.8734, allocations: 27.92 kB / 0.5878 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.8734, allocations: 4 kB / 0.5878 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002366/0.8737, allocations: 117.5 kB / 0.5879 GB, free: 424 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.8737, allocations: 4 kB / 0.588 GB, free: 420 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.8737, allocations: 4 kB / 0.588 GB, free: 416 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.8737, allocations: 0 / 0.588 GB, free: 416 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.8739, allocations: 27.92 kB / 0.588 GB, free: 388 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.8739, allocations: 7.906 kB / 0.588 GB, free: 380 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.434e-05/0.874, allocations: 12.06 kB / 0.588 GB, free: 368 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.874, allocations: 8 kB / 0.588 GB, free: 360 kB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.556e-05/0.8741, allocations: 116.8 kB / 0.5881 GB, free: 236 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.8741, allocations: 15.89 kB / 0.5881 GB, free: 220 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00022/0.8744, allocations: 103 kB / 0.5882 GB, free: 108 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.8744, allocations: 4 kB / 0.5882 GB, free: 104 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.8744, allocations: 0 / 0.5882 GB, free: 104 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.8744, allocations: 0 / 0.5882 GB, free: 104 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.8746, allocations: 186.1 kB / 0.5884 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-06/0.8746, allocations: 4 kB / 0.5884 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.688e-05/0.8747, allocations: 19.89 kB / 0.5884 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.8747, allocations: 0 / 0.5884 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.8748, allocations: 0 / 0.5884 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.8748, allocations: 0 / 0.5884 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.8748, allocations: 0 / 0.5884 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002816/0.8751, allocations: 160.9 kB / 0.5886 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004548/0.8755, allocations: 0.5681 MB / 0.5891 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.926e-05/0.8756, allocations: 100.8 kB / 0.5892 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/0.8757, allocations: 4 kB / 0.5892 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.965e-05/0.8758, allocations: 11.91 kB / 0.5893 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.751e-05/0.8758, allocations: 7.984 kB / 0.5893 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.8759, allocations: 8.062 kB / 0.5893 GB, free: 14.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001375/0.876, allocations: 132.1 kB / 0.5894 GB, free: 14.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008972/0.8769, allocations: 32.12 kB / 0.5894 GB, free: 14.79 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0007239/0.8776, allocations: 316 kB / 0.5897 GB, free: 14.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001602/0.8778, allocations: 67.92 kB / 0.5898 GB, free: 14.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.8778, allocations: 256 / 0.5898 GB, free: 14.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.628e-05/0.8779, allocations: 32 kB / 0.5898 GB, free: 14.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.8782, allocations: 28.16 kB / 0.5899 GB, free: 14.42 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005207/0.8787, allocations: 191.4 kB / 0.59 GB, free: 14.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003894/0.8791, allocations: 0.7352 MB / 0.5908 GB, free: 13.45 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.8791, allocations: 4 kB / 0.5908 GB, free: 13.45 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1)