Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9",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.001817/0.001816, allocations: 178.2 kB / 8.52 MB, free: 1.828 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.342/1.342, allocations: 221.4 MB / 230.3 MB, free: 7.727 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.001078/0.001078, allocations: 87.73 kB / 281.2 MB, free: 5.48 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.2058/0.2058, allocations: 44.15 MB / 376.1 MB, free: 3.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2698/0.4756, allocations: 68.03 MB / 444.1 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.6137, allocations: 61.91 MB / 0.4942 GB, free: 1.547 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4037/1.017, allocations: 87.48 MB / 0.5796 GB, free: 9.254 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004173/1.018, allocations: 75.89 kB / 0.5797 GB, free: 9.195 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.02823/1.046, allocations: 8.075 MB / 0.5876 GB, free: 1.066 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/1.046, allocations: 15.94 kB / 0.5876 GB, free: 1.051 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/1.046, allocations: 39.44 kB / 0.5876 GB, free: 1.012 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006547/1.047, allocations: 327.3 kB / 0.5879 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/1.047, allocations: 0 / 0.5879 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/1.047, allocations: 0 / 0.5879 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.092e-05/1.047, allocations: 12 kB / 0.5879 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.101e-05/1.047, allocations: 37.7 kB / 0.588 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/1.047, allocations: 0 / 0.588 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/1.047, allocations: 7.984 kB / 0.588 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/1.047, allocations: 7.938 kB / 0.588 GB, free: 0.582 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007187/1.048, allocations: 409.3 kB / 0.5884 GB, free: 148 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.61e-05/1.048, allocations: 26.58 kB / 0.5884 GB, free: 112 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.437e-05/1.048, allocations: 8.859 kB / 0.5884 GB, free: 100 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.07e-05/1.048, allocations: 0 / 0.5884 GB, free: 100 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/1.048, allocations: 42.56 kB / 0.5885 GB, free: 48 kB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/1.048, allocations: 0 / 0.5885 GB, free: 48 kB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003101/1.049, allocations: 85.16 kB / 0.5885 GB, free: 15.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/1.049, allocations: 51.41 kB / 0.5886 GB, free: 15.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002048/1.051, allocations: 0.7512 MB / 0.5893 GB, free: 15.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/1.051, allocations: 25.7 kB / 0.5893 GB, free: 15.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/1.051, allocations: 132 kB / 0.5895 GB, free: 14.97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/1.051, allocations: 15.83 kB / 0.5895 GB, free: 14.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/1.051, allocations: 8 kB / 0.5895 GB, free: 14.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001715/1.051, allocations: 354.8 kB / 0.5898 GB, free: 14.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.009e-05/1.051, allocations: 11.83 kB / 0.5898 GB, free: 14.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.088e-05/1.051, allocations: 0 / 0.5898 GB, free: 14.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.45e-05/1.051, allocations: 8 kB / 0.5898 GB, free: 14.58 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/1.051, allocations: 0 / 0.5898 GB, free: 14.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002009/1.052, allocations: 85.12 kB / 0.5899 GB, free: 14.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/1.052, allocations: 8.781 kB / 0.5899 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/1.052, allocations: 0 / 0.5899 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/1.052, allocations: 0 / 0.5899 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/1.052, allocations: 19.92 kB / 0.59 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/1.052, allocations: 0 / 0.59 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/1.052, allocations: 11.94 kB / 0.59 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/1.052, allocations: 3.906 kB / 0.59 GB, free: 14.45 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 (3): * Single equations (assignments): 3 * 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.788e-05/1.052, allocations: 101 kB / 0.5901 GB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/1.052, allocations: 51.42 kB / 0.5901 GB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002523/1.052, allocations: 97.12 kB / 0.5902 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/1.052, allocations: 0 / 0.5902 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/1.052, allocations: 0 / 0.5902 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/1.052, allocations: 0 / 0.5902 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004487/1.053, allocations: 298 kB / 0.5905 GB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/1.053, allocations: 0 / 0.5905 GB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.078e-05/1.053, allocations: 15.98 kB / 0.5905 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/1.053, allocations: 7.906 kB / 0.5905 GB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/1.053, allocations: 3.938 kB / 0.5905 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/1.053, allocations: 0 / 0.5905 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/1.053, allocations: 0 / 0.5905 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002584/1.053, allocations: 183.2 kB / 0.5907 GB, free: 13.63 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004182/1.054, allocations: 0.558 MB / 0.5912 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002856/1.054, allocations: 160.5 kB / 0.5914 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.271e-05/1.054, allocations: 0 / 0.5914 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/1.054, allocations: 11.98 kB / 0.5914 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/1.054, allocations: 0 / 0.5914 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/1.054, allocations: 0 / 0.5914 GB, free: 12.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0009991/1.055, allocations: 0.612 MB / 0.592 GB, free: 12.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001576/1.057, allocations: 52 kB / 0.5921 GB, free: 12.2 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 (3): * Single equations (assignments): 3 * 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.00083/1.058, allocations: 272.2 kB / 0.5923 GB, free: 12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001196/1.058, allocations: 21.09 kB / 0.5923 GB, free: 11.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/1.058, allocations: 0 / 0.5923 GB, free: 11.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.754e-05/1.058, allocations: 8 kB / 0.5923 GB, free: 11.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/1.058, allocations: 29.84 kB / 0.5924 GB, free: 11.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/1.06, allocations: 0.6875 MB / 0.593 GB, free: 11.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006916/1.061, allocations: 0.8407 MB / 0.5939 GB, free: 10.36 MB / 410.7 MB Notification: Performance of SimCode: time 4.7e-07/1.061, allocations: 4 kB / 0.5939 GB, free: 10.36 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1)