Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test43",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.001754/0.001754, allocations: 174.6 kB / 8.517 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.223/1.223, allocations: 221.4 MB / 230.3 MB, free: 7.691 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.001028/0.001028, allocations: 85.98 kB / 281.2 MB, free: 5.508 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.1624/0.1624, allocations: 44.14 MB / 376.1 MB, free: 3.242 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1935/0.356, allocations: 68.05 MB / 444.1 MB, free: 15.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.4567, allocations: 61.91 MB / 0.4942 GB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2686/0.7253, allocations: 88.49 MB / 0.5806 GB, free: 8.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001952/0.7256, allocations: 76.7 kB / 0.5807 GB, free: 8.266 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.01523/0.7408, allocations: 5.652 MB / 0.5862 GB, free: 2.586 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.7409, allocations: 15.88 kB / 0.5862 GB, free: 2.57 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.7409, allocations: 7.906 kB / 0.5862 GB, free: 2.562 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/0.7412, allocations: 219.5 kB / 0.5864 GB, free: 2.305 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.7413, allocations: 0 / 0.5864 GB, free: 2.305 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.7413, allocations: 4 kB / 0.5864 GB, free: 2.301 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.254e-05/0.7414, allocations: 12 kB / 0.5864 GB, free: 2.289 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.855e-05/0.7415, allocations: 57.52 kB / 0.5865 GB, free: 2.227 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.7415, allocations: 4 kB / 0.5865 GB, free: 2.223 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.7415, allocations: 0 / 0.5865 GB, free: 2.223 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.7415, allocations: 4 kB / 0.5865 GB, free: 2.219 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003737/0.7419, allocations: 265.4 kB / 0.5868 GB, free: 1.922 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.742, allocations: 58.67 kB / 0.5868 GB, free: 1.855 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.025e-05/0.7421, allocations: 28.91 kB / 0.5868 GB, free: 1.824 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.7421, allocations: 0 / 0.5868 GB, free: 1.824 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.823e-05/0.7422, allocations: 63.34 kB / 0.5869 GB, free: 1.75 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.7422, allocations: 0 / 0.5869 GB, free: 1.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004422/0.7426, allocations: 133.3 kB / 0.587 GB, free: 1.613 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.7427, allocations: 51.41 kB / 0.5871 GB, free: 1.551 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.7429, allocations: 179.6 kB / 0.5872 GB, free: 1.367 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.7429, allocations: 25.7 kB / 0.5873 GB, free: 1.336 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.812e-05/0.743, allocations: 96.05 kB / 0.5874 GB, free: 1.238 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.743, allocations: 31.58 kB / 0.5874 GB, free: 1.207 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.743, allocations: 0 / 0.5874 GB, free: 1.207 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.7431, allocations: 326.8 kB / 0.5877 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.704e-05/0.7432, allocations: 16 kB / 0.5877 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.47e-05/0.7432, allocations: 33.7 kB / 0.5878 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.324e-05/0.7433, allocations: 20 kB / 0.5878 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.7433, allocations: 4 kB / 0.5878 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001578/0.7434, allocations: 93.42 kB / 0.5879 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.7435, allocations: 8 kB / 0.5879 GB, free: 0.6953 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.7435, allocations: 0 / 0.5879 GB, free: 0.6953 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.7435, allocations: 0 / 0.5879 GB, free: 0.6953 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.328e-05/0.7436, allocations: 16 kB / 0.5879 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.7436, allocations: 4 kB / 0.5879 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.372e-05/0.7437, allocations: 3.984 kB / 0.5879 GB, free: 0.6719 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.7437, allocations: 4 kB / 0.5879 GB, free: 0.668 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.308e-05/0.7437, allocations: 109 kB / 0.588 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.421e-05/0.7438, allocations: 12 kB / 0.588 GB, free: 0.543 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001973/0.744, allocations: 106.9 kB / 0.5881 GB, free: 448 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.744, allocations: 0 / 0.5881 GB, free: 448 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.744, allocations: 0 / 0.5881 GB, free: 448 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.744, allocations: 4 kB / 0.5881 GB, free: 444 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003839/0.7444, allocations: 375.9 kB / 0.5885 GB, free: 20 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.7444, allocations: 0 / 0.5885 GB, free: 20 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.792e-05/0.7445, allocations: 19.98 kB / 0.5885 GB, free: 0 / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.7445, allocations: 0 / 0.5885 GB, free: 0 / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.7445, allocations: 0 / 0.5885 GB, free: 0 / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.296e-05/0.7445, allocations: 4.172 kB / 0.5885 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/0.7446, allocations: 11.78 kB / 0.5885 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001969/0.7448, allocations: 202.1 kB / 0.5887 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003115/0.7451, allocations: 0.5803 MB / 0.5893 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.803e-05/0.7451, allocations: 89 kB / 0.5894 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.18e-05/0.7452, allocations: 8.094 kB / 0.5894 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.82e-05/0.7453, allocations: 8 kB / 0.5894 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.7453, allocations: 11.98 kB / 0.5894 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.7453, allocations: 4 kB / 0.5894 GB, free: 15.01 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001244/0.7455, allocations: 140 kB / 0.5895 GB, free: 14.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00085/0.7463, allocations: 39.94 kB / 0.5896 GB, free: 14.84 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.0006828/0.747, allocations: 341.8 kB / 0.5899 GB, free: 14.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001219/0.7472, allocations: 55.94 kB / 0.5899 GB, free: 14.53 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.7472, allocations: 0 / 0.5899 GB, free: 14.53 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.2e-05/0.7472, allocations: 31.98 kB / 0.59 GB, free: 14.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.7475, allocations: 25.08 kB / 0.59 GB, free: 14.47 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003713/0.7479, allocations: 168.6 kB / 0.5902 GB, free: 14.28 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003117/0.7482, allocations: 0.7309 MB / 0.5909 GB, free: 13.52 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.7482, allocations: 0 / 0.5909 GB, free: 13.52 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test43_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test43.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1)