Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.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.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8",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.001489/0.001489, allocations: 175.5 kB / 8.518 MB, free: 1.848 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.334/1.334, 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.0009669/0.0009668, allocations: 99.66 kB / 281.2 MB, free: 5.453 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.1968/0.1968, allocations: 44.15 MB / 376.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.275/0.4719, allocations: 68.03 MB / 444.1 MB, free: 15.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.6721, allocations: 61.91 MB / 0.4942 GB, free: 1.512 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4052/1.077, allocations: 87.53 MB / 0.5797 GB, free: 9.172 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/1.078, allocations: 75.7 kB / 0.5797 GB, free: 9.102 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.01887/1.097, allocations: 8.009 MB / 0.5876 GB, free: 1.043 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/1.097, allocations: 11.94 kB / 0.5876 GB, free: 1.031 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.923e-05/1.097, allocations: 43.44 kB / 0.5876 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004857/1.097, allocations: 327.3 kB / 0.5879 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.232e-06/1.097, allocations: 0 / 0.5879 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/1.097, allocations: 4 kB / 0.5879 GB, free: 0.625 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.906e-05/1.097, allocations: 8 kB / 0.5879 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.469e-05/1.097, allocations: 37.7 kB / 0.588 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/1.097, allocations: 0 / 0.588 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/1.097, allocations: 4 kB / 0.588 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/1.097, allocations: 0 / 0.588 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005691/1.098, allocations: 401.3 kB / 0.5884 GB, free: 144 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.3e-05/1.098, allocations: 26.58 kB / 0.5884 GB, free: 108 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.493e-05/1.098, allocations: 4.859 kB / 0.5884 GB, free: 100 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/1.098, allocations: 8.047 kB / 0.5884 GB, free: 92 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/1.098, allocations: 38.55 kB / 0.5884 GB, free: 44 kB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 1.473e-06/1.098, allocations: 0 / 0.5884 GB, free: 44 kB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002062/1.098, allocations: 81.25 kB / 0.5885 GB, free: 15.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/1.098, allocations: 51.41 kB / 0.5886 GB, free: 15.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/1.1, allocations: 0.7473 MB / 0.5893 GB, free: 15.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/1.1, allocations: 25.7 kB / 0.5893 GB, free: 15.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.69e-05/1.1, allocations: 140 kB / 0.5894 GB, free: 14.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/1.1, allocations: 8.031 kB / 0.5894 GB, free: 14.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/1.1, allocations: 0 / 0.5894 GB, free: 14.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001888/1.1, allocations: 358.7 kB / 0.5898 GB, free: 14.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.595e-05/1.1, allocations: 8 kB / 0.5898 GB, free: 14.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.048e-05/1.1, allocations: 3.828 kB / 0.5898 GB, free: 14.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.074e-05/1.1, allocations: 4 kB / 0.5898 GB, free: 14.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/1.1, allocations: 0 / 0.5898 GB, free: 14.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001282/1.1, allocations: 77.22 kB / 0.5899 GB, free: 14.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/1.1, allocations: 8.094 kB / 0.5899 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/1.1, allocations: 7.906 kB / 0.5899 GB, free: 14.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/1.1, allocations: 0 / 0.5899 GB, free: 14.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.38e-05/1.1, allocations: 4 kB / 0.5899 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/1.1, allocations: 3.938 kB / 0.5899 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.11e-05/1.1, allocations: 7.984 kB / 0.5899 GB, free: 14.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/1.1, allocations: 0 / 0.5899 GB, free: 14.47 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 (2): * Single equations (assignments): 2 * 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 0.0001048/1.1, allocations: 105 kB / 0.59 GB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/1.101, allocations: 43.44 kB / 0.5901 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002051/1.101, allocations: 100.6 kB / 0.5901 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/1.101, allocations: 0 / 0.5901 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/1.101, allocations: 0 / 0.5901 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/1.101, allocations: 0 / 0.5901 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003591/1.101, allocations: 309.9 kB / 0.5904 GB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/1.101, allocations: 0 / 0.5904 GB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.608e-05/1.101, allocations: 4 kB / 0.5904 GB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/1.101, allocations: 0 / 0.5904 GB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/1.101, allocations: 8.031 kB / 0.5905 GB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/1.101, allocations: 3.984 kB / 0.5905 GB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/1.101, allocations: 4 kB / 0.5905 GB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001849/1.102, allocations: 170.9 kB / 0.5906 GB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003848/1.102, allocations: 0.5541 MB / 0.5912 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002035/1.102, allocations: 160.5 kB / 0.5913 GB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.22e-05/1.102, allocations: 0 / 0.5913 GB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.973e-05/1.102, allocations: 4 kB / 0.5913 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/1.102, allocations: 7.984 kB / 0.5913 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/1.102, allocations: 4 kB / 0.5913 GB, free: 12.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0007064/1.103, allocations: 0.6004 MB / 0.5919 GB, free: 12.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008665/1.104, allocations: 52 kB / 0.592 GB, free: 12.25 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 (2): * Single equations (assignments): 2 * 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.0006083/1.105, allocations: 268.7 kB / 0.5922 GB, free: 12.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.294e-05/1.105, allocations: 12 kB / 0.5922 GB, free: 12.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.105, allocations: 3.938 kB / 0.5922 GB, free: 12.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.026e-05/1.105, allocations: 7.984 kB / 0.5923 GB, free: 12.03 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/1.105, allocations: 25.38 kB / 0.5923 GB, free: 12.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/1.106, allocations: 0.6837 MB / 0.5929 GB, free: 11.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005959/1.107, allocations: 0.8411 MB / 0.5938 GB, free: 10.43 MB / 410.7 MB Notification: Performance of SimCode: time 3.6e-07/1.107, allocations: 0 / 0.5938 GB, free: 10.43 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1)