Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22",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.001502/0.001502, allocations: 179.8 kB / 8.517 MB, free: 1.855 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.286/1.286, allocations: 221.4 MB / 230.3 MB, free: 7.746 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.0008823/0.0008825, allocations: 91.72 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.1904/0.1904, allocations: 44.15 MB / 376.1 MB, free: 3.262 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2607/0.4511, allocations: 68.03 MB / 444.1 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.5931, allocations: 61.91 MB / 0.4942 GB, free: 1.559 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.351/0.9441, allocations: 89.22 MB / 0.5813 GB, free: 7.543 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002004/0.9444, allocations: 67.97 kB / 0.5814 GB, free: 7.477 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.02498/0.9694, allocations: 9.306 MB / 0.5905 GB, free: 14.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.9694, allocations: 15.94 kB / 0.5905 GB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001686/0.9696, allocations: 51.34 kB / 0.5905 GB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007779/0.9704, allocations: 483 kB / 0.591 GB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.9704, allocations: 4 kB / 0.591 GB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.498e-05/0.9705, allocations: 4 kB / 0.591 GB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001781/0.9707, allocations: 79.91 kB / 0.5911 GB, free: 13.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.9709, allocations: 125 kB / 0.5912 GB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.9709, allocations: 0 / 0.5912 GB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.9709, allocations: 0 / 0.5912 GB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.9709, allocations: 7.906 kB / 0.5912 GB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.972, allocations: 0.6935 MB / 0.5919 GB, free: 12.58 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.9722, allocations: 91.48 kB / 0.592 GB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.171e-05/0.9722, allocations: 41.83 kB / 0.592 GB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.261e-05/0.9723, allocations: 4 kB / 0.592 GB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.9723, allocations: 34.56 kB / 0.592 GB, free: 12.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.753e-06/0.9723, allocations: 0 / 0.592 GB, free: 12.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.001158/0.9735, allocations: 454.1 kB / 0.5925 GB, free: 11.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.9735, allocations: 85.02 kB / 0.5926 GB, free: 11.83 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009709/0.9745, allocations: 0.7482 MB / 0.5933 GB, free: 11.08 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.9746, allocations: 25.7 kB / 0.5933 GB, free: 11.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.9747, allocations: 152.2 kB / 0.5935 GB, free: 10.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.655e-05/0.9748, allocations: 55.2 kB / 0.5935 GB, free: 10.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.015e-05/0.9748, allocations: 0 / 0.5935 GB, free: 10.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.975, allocations: 374.8 kB / 0.5939 GB, free: 10.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.625e-05/0.9751, allocations: 43.98 kB / 0.5939 GB, free: 10.42 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.018e-05/0.9752, allocations: 60.38 kB / 0.594 GB, free: 10.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.9753, allocations: 55.97 kB / 0.594 GB, free: 10.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.9753, allocations: 0 / 0.594 GB, free: 10.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003404/0.9756, allocations: 192.9 kB / 0.5942 GB, free: 10.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.9756, allocations: 8 kB / 0.5942 GB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.9757, allocations: 0 / 0.5942 GB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.9757, allocations: 0 / 0.5942 GB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/0.9759, allocations: 51.91 kB / 0.5943 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.9759, allocations: 7.984 kB / 0.5943 GB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.9761, allocations: 15.91 kB / 0.5943 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.9761, allocations: 7.984 kB / 0.5943 GB, free: 10.02 MB / 410.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.713e-05/0.9762, allocations: 108.9 kB / 0.5944 GB, free: 9.902 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.9763, allocations: 55.34 kB / 0.5944 GB, free: 9.848 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004754/0.9768, allocations: 246.3 kB / 0.5947 GB, free: 9.598 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.9768, allocations: 4 kB / 0.5947 GB, free: 9.594 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.9768, allocations: 224 / 0.5947 GB, free: 9.594 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.9769, allocations: 7.922 kB / 0.5947 GB, free: 9.586 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.978, allocations: 0.8064 MB / 0.5955 GB, free: 8.734 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.978, allocations: 0 / 0.5955 GB, free: 8.734 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/0.9782, allocations: 39.97 kB / 0.5955 GB, free: 8.695 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.9782, allocations: 4 kB / 0.5955 GB, free: 8.691 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/0.9782, allocations: 11.89 kB / 0.5955 GB, free: 8.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.9782, allocations: 0 / 0.5955 GB, free: 8.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.9782, allocations: 0 / 0.5955 GB, free: 8.68 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004565/0.9787, allocations: 380.1 kB / 0.5959 GB, free: 8.285 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005575/0.9793, allocations: 0.7657 MB / 0.5966 GB, free: 7.492 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002638/0.9795, allocations: 176.7 kB / 0.5968 GB, free: 7.301 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.622e-05/0.9796, allocations: 7.984 kB / 0.5968 GB, free: 7.293 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.9799, allocations: 20 kB / 0.5968 GB, free: 7.273 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.412e-05/0.98, allocations: 15.97 kB / 0.5968 GB, free: 7.258 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.98, allocations: 4 kB / 0.5969 GB, free: 7.254 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0007647/0.9807, allocations: 0.5847 MB / 0.5974 GB, free: 6.672 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001043/0.9818, allocations: 75.94 kB / 0.5975 GB, free: 6.598 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0006964/0.9825, allocations: 306.5 kB / 0.5978 GB, free: 6.371 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000274/0.9828, allocations: 123.8 kB / 0.5979 GB, free: 6.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.9828, allocations: 0 / 0.5979 GB, free: 6.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.9829, allocations: 63.92 kB / 0.598 GB, free: 6.188 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004791/0.9834, allocations: 69.89 kB / 0.598 GB, free: 6.121 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.9849, allocations: 0.7127 MB / 0.5987 GB, free: 5.367 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005377/0.9854, allocations: 0.9298 MB / 0.5996 GB, free: 4.418 MB / 410.7 MB Notification: Performance of SimCode: time 3.01e-07/0.9854, allocations: 0 / 0.5996 GB, free: 4.418 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1)