Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5",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.0009822/0.0009821, allocations: 175.7 kB / 8.522 MB, free: 1.836 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.218/1.218, allocations: 221.4 MB / 230.3 MB, free: 7.742 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.001013/0.001013, allocations: 84.75 kB / 281.2 MB, free: 5.5 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.1813/0.1813, allocations: 44.14 MB / 376.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2537/0.435, allocations: 68.04 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.5663, allocations: 61.91 MB / 0.4942 GB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3459/0.9123, allocations: 88.15 MB / 0.5803 GB, free: 8.602 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/0.9126, allocations: 67.95 kB / 0.5803 GB, free: 8.535 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01886/0.9315, allocations: 8.027 MB / 0.5882 GB, free: 476 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.9315, allocations: 11.94 kB / 0.5882 GB, free: 464 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.71e-05/0.9316, allocations: 43.44 kB / 0.5882 GB, free: 420 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000474/0.9321, allocations: 335.3 kB / 0.5885 GB, free: 44 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.9321, allocations: 0 / 0.5885 GB, free: 44 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.9321, allocations: 7.984 kB / 0.5885 GB, free: 36 kB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.229e-05/0.9322, allocations: 15.98 kB / 0.5886 GB, free: 20 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.9324, allocations: 46.02 kB / 0.5886 GB, free: 15.97 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.9324, allocations: 3.938 kB / 0.5886 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.9324, allocations: 3.906 kB / 0.5886 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-06/0.9324, allocations: 4 kB / 0.5886 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006108/0.933, allocations: 421.2 kB / 0.589 GB, free: 15.51 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.9332, allocations: 29.7 kB / 0.589 GB, free: 15.47 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.035e-05/0.9333, allocations: 16.36 kB / 0.5891 GB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.9333, allocations: 4 kB / 0.5891 GB, free: 15.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.9333, allocations: 38.5 kB / 0.5891 GB, free: 15.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.402e-06/0.9333, allocations: 0 / 0.5891 GB, free: 15.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004827/0.9338, allocations: 184.2 kB / 0.5893 GB, free: 15.22 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.9339, allocations: 51.41 kB / 0.5893 GB, free: 15.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.935, allocations: 0.7628 MB / 0.5901 GB, free: 14.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.935, allocations: 25.7 kB / 0.5901 GB, free: 14.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.752e-05/0.9351, allocations: 136 kB / 0.5902 GB, free: 14.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.9351, allocations: 15.81 kB / 0.5902 GB, free: 14.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.9351, allocations: 0 / 0.5902 GB, free: 14.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.9353, allocations: 358.8 kB / 0.5906 GB, free: 13.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.821e-05/0.9353, allocations: 12 kB / 0.5906 GB, free: 13.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.257e-05/0.9353, allocations: 12 kB / 0.5906 GB, free: 13.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.715e-05/0.9354, allocations: 19.83 kB / 0.5906 GB, free: 13.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.9354, allocations: 4.844 kB / 0.5906 GB, free: 13.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001471/0.9355, allocations: 101.4 kB / 0.5907 GB, free: 13.69 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.9356, allocations: 8 kB / 0.5907 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.9356, allocations: 0 / 0.5907 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.9356, allocations: 3.906 kB / 0.5907 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.649e-05/0.9357, allocations: 15.98 kB / 0.5908 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.9357, allocations: 4 kB / 0.5908 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.58e-05/0.9358, allocations: 4 kB / 0.5908 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.9358, allocations: 0 / 0.5908 GB, free: 13.66 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.57e-05/0.9359, allocations: 112.9 kB / 0.5909 GB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.747e-05/0.936, allocations: 39.44 kB / 0.5909 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002318/0.9362, allocations: 129.1 kB / 0.591 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.9362, allocations: 0 / 0.591 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.9362, allocations: 4 kB / 0.591 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.9362, allocations: 0 / 0.591 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006968/0.9369, allocations: 0.5536 MB / 0.5916 GB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.9369, allocations: 0 / 0.5916 GB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.162e-05/0.937, allocations: 23.86 kB / 0.5916 GB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.937, allocations: 0 / 0.5916 GB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.937, allocations: 0 / 0.5916 GB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.9371, allocations: 4 kB / 0.5916 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.9371, allocations: 0 / 0.5916 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000201/0.9373, allocations: 198.9 kB / 0.5918 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003014/0.9376, allocations: 0.5778 MB / 0.5924 GB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001721/0.9378, allocations: 164.5 kB / 0.5925 GB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.253e-05/0.9378, allocations: 0 / 0.5925 GB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.9379, allocations: 4 kB / 0.5925 GB, free: 11.74 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.938, allocations: 15.92 kB / 0.5925 GB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.938, allocations: 0 / 0.5925 GB, free: 11.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0006456/0.9386, allocations: 0.6043 MB / 0.5931 GB, free: 11.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000952/0.9396, allocations: 63.92 kB / 0.5932 GB, free: 11.06 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0006968/0.9403, allocations: 298 kB / 0.5935 GB, free: 10.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001045/0.9404, allocations: 28 kB / 0.5935 GB, free: 10.81 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.9404, allocations: 4 kB / 0.5935 GB, free: 10.81 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.501e-05/0.9405, allocations: 19.94 kB / 0.5935 GB, free: 10.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.9408, allocations: 22.56 kB / 0.5935 GB, free: 10.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.942, allocations: 0.7113 MB / 0.5942 GB, free: 10.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004781/0.9424, allocations: 0.8489 MB / 0.5951 GB, free: 9.148 MB / 410.7 MB Notification: Performance of SimCode: time 2.9e-07/0.9425, allocations: 0 / 0.5951 GB, free: 9.148 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1)