Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6",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.001839/0.001839, allocations: 179.3 kB / 8.518 MB, free: 1.824 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.4/1.4, allocations: 221.4 MB / 230.3 MB, free: 7.766 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.00118/0.00118, allocations: 99.16 kB / 281.2 MB, free: 5.516 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.2124/0.2124, allocations: 44.14 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2681/0.4805, allocations: 68.04 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.6268, allocations: 61.91 MB / 0.4942 GB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3925/1.019, allocations: 88.49 MB / 0.5806 GB, free: 8.211 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/1.02, allocations: 75.95 kB / 0.5807 GB, free: 8.137 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.01663/1.036, allocations: 5.927 MB / 0.5865 GB, free: 2.188 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/1.036, allocations: 11.94 kB / 0.5865 GB, free: 2.176 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.892e-05/1.036, allocations: 15.81 kB / 0.5865 GB, free: 2.16 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003433/1.037, allocations: 231.7 kB / 0.5867 GB, free: 1.891 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/1.037, allocations: 0 / 0.5867 GB, free: 1.891 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/1.037, allocations: 8 kB / 0.5867 GB, free: 1.883 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.124e-05/1.037, allocations: 15.98 kB / 0.5867 GB, free: 1.867 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.815e-05/1.037, allocations: 49.69 kB / 0.5868 GB, free: 1.812 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/1.037, allocations: 4 kB / 0.5868 GB, free: 1.809 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/1.037, allocations: 3.984 kB / 0.5868 GB, free: 1.805 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/1.037, allocations: 4 kB / 0.5868 GB, free: 1.801 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003872/1.037, allocations: 281.3 kB / 0.5871 GB, free: 1.488 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/1.038, allocations: 50.7 kB / 0.5871 GB, free: 1.43 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.343e-05/1.038, allocations: 24.91 kB / 0.5871 GB, free: 1.402 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/1.038, allocations: 7.984 kB / 0.5871 GB, free: 1.395 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.899e-05/1.038, allocations: 55.41 kB / 0.5872 GB, free: 1.328 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/1.038, allocations: 3.938 kB / 0.5872 GB, free: 1.324 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004448/1.038, allocations: 145 kB / 0.5873 GB, free: 1.176 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/1.038, allocations: 59.41 kB / 0.5874 GB, free: 1.105 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/1.039, allocations: 238.9 kB / 0.5876 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/1.039, allocations: 33.7 kB / 0.5877 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4e-05/1.039, allocations: 92.12 kB / 0.5877 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/1.039, allocations: 19.72 kB / 0.5878 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-06/1.039, allocations: 0 / 0.5878 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/1.039, allocations: 334.7 kB / 0.5881 GB, free: 388 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.388e-05/1.039, allocations: 16 kB / 0.5881 GB, free: 372 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.597e-05/1.039, allocations: 38.41 kB / 0.5881 GB, free: 328 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.465e-05/1.039, allocations: 23.98 kB / 0.5882 GB, free: 304 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/1.039, allocations: 0 / 0.5882 GB, free: 304 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001516/1.039, allocations: 89.5 kB / 0.5882 GB, free: 208 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/1.039, allocations: 4 kB / 0.5882 GB, free: 204 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/1.039, allocations: 0 / 0.5882 GB, free: 204 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/1.039, allocations: 4.188 kB / 0.5882 GB, free: 200 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.808e-05/1.039, allocations: 23.92 kB / 0.5883 GB, free: 176 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/1.039, allocations: 7.969 kB / 0.5883 GB, free: 168 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.527e-05/1.039, allocations: 7.938 kB / 0.5883 GB, free: 160 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/1.039, allocations: 0 / 0.5883 GB, free: 160 kB / 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 6.362e-05/1.039, allocations: 108.9 kB / 0.5884 GB, free: 44 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.089e-05/1.039, allocations: 19.8 kB / 0.5884 GB, free: 24 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002172/1.04, allocations: 107 kB / 0.5885 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/1.04, allocations: 0 / 0.5885 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.04, allocations: 0 / 0.5885 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/1.04, allocations: 7.984 kB / 0.5885 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004112/1.04, allocations: 395.8 kB / 0.5889 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/1.04, allocations: 0 / 0.5889 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.612e-05/1.04, allocations: 8 kB / 0.5889 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/1.04, allocations: 4 kB / 0.5889 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/1.04, allocations: 3.984 kB / 0.5889 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/1.04, allocations: 0 / 0.5889 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.04, allocations: 8.125 kB / 0.5889 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001751/1.04, allocations: 218 kB / 0.5891 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002692/1.041, allocations: 0.5842 MB / 0.5897 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.096e-05/1.041, allocations: 104.9 kB / 0.5898 GB, free: 14.47 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.287e-05/1.041, allocations: 4 kB / 0.5898 GB, free: 14.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.59e-05/1.041, allocations: 3.984 kB / 0.5898 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/1.041, allocations: 4 kB / 0.5898 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/1.041, allocations: 4 kB / 0.5898 GB, free: 14.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001719/1.041, allocations: 196.2 kB / 0.59 GB, free: 14.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008459/1.042, allocations: 40.28 kB / 0.59 GB, free: 14.23 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.0006911/1.043, allocations: 352.2 kB / 0.5904 GB, free: 13.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001336/1.043, allocations: 55.98 kB / 0.5904 GB, free: 13.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/1.043, allocations: 0 / 0.5904 GB, free: 13.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.716e-05/1.043, allocations: 36 kB / 0.5905 GB, free: 13.87 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/1.043, allocations: 23 kB / 0.5905 GB, free: 13.85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004528/1.044, allocations: 224.7 kB / 0.5907 GB, free: 13.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000378/1.044, allocations: 0.7504 MB / 0.5914 GB, free: 12.82 MB / 410.7 MB Notification: Performance of SimCode: time 2.81e-07/1.044, allocations: 8 kB / 0.5914 GB, free: 12.82 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1)