Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7",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.001677/0.001677, allocations: 179.4 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.322/1.322, 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.001011/0.00101, allocations: 84.73 kB / 281.2 MB, free: 5.531 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.1916/0.1916, allocations: 44.15 MB / 376.1 MB, free: 3.254 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2437/0.4354, allocations: 68.03 MB / 444.1 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.56, allocations: 61.91 MB / 0.4942 GB, free: 1.566 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3108/0.8709, allocations: 87.99 MB / 0.5801 GB, free: 8.754 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003162/0.8713, allocations: 70.28 kB / 0.5802 GB, free: 8.719 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.01921/0.8905, allocations: 8.111 MB / 0.5881 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.8906, allocations: 11.94 kB / 0.5881 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.8907, allocations: 43.44 kB / 0.5881 GB, free: 0.5156 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005847/0.8913, allocations: 323.3 kB / 0.5884 GB, free: 164 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.8913, allocations: 4 kB / 0.5885 GB, free: 160 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.8913, allocations: 4 kB / 0.5885 GB, free: 156 kB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.848e-05/0.8914, allocations: 19.92 kB / 0.5885 GB, free: 136 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.65e-05/0.8915, allocations: 37.7 kB / 0.5885 GB, free: 92 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.8916, allocations: 3.984 kB / 0.5885 GB, free: 88 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.8916, allocations: 4 kB / 0.5885 GB, free: 84 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.8916, allocations: 0 / 0.5885 GB, free: 84 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007262/0.8923, allocations: 417.3 kB / 0.5889 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.443e-05/0.8924, allocations: 30.34 kB / 0.5889 GB, free: 15.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.833e-05/0.8924, allocations: 20.81 kB / 0.589 GB, free: 15.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/0.8925, allocations: 0 / 0.589 GB, free: 15.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.8925, allocations: 30.56 kB / 0.589 GB, free: 15.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.8925, allocations: 0 / 0.589 GB, free: 15.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002617/0.8928, allocations: 81.23 kB / 0.5891 GB, free: 15.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.8928, allocations: 51.41 kB / 0.5891 GB, free: 15.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.8941, allocations: 0.7512 MB / 0.5899 GB, free: 14.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.8941, allocations: 25.7 kB / 0.5899 GB, free: 14.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.029e-05/0.8942, allocations: 140 kB / 0.59 GB, free: 14.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.614e-05/0.8942, allocations: 3.906 kB / 0.59 GB, free: 14.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-06/0.8942, allocations: 0 / 0.59 GB, free: 14.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.8944, allocations: 358.8 kB / 0.5904 GB, free: 14.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.811e-05/0.8944, allocations: 12.03 kB / 0.5904 GB, free: 14.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.452e-05/0.8944, allocations: 7.938 kB / 0.5904 GB, free: 14.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.496e-05/0.8945, allocations: 8 kB / 0.5904 GB, free: 14.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.8945, allocations: 0 / 0.5904 GB, free: 14.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001257/0.8946, allocations: 85.12 kB / 0.5905 GB, free: 13.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.8946, allocations: 4 kB / 0.5905 GB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.8947, allocations: 0 / 0.5905 GB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.8947, allocations: 0 / 0.5905 GB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.8e-05/0.8948, allocations: 12.09 kB / 0.5905 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.8948, allocations: 3.984 kB / 0.5905 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.866e-05/0.8948, allocations: 7.938 kB / 0.5905 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.8949, allocations: 0 / 0.5905 GB, free: 13.95 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 8.001e-05/0.8949, allocations: 108.8 kB / 0.5906 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.623e-05/0.895, allocations: 39.53 kB / 0.5906 GB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002235/0.8953, allocations: 100.6 kB / 0.5907 GB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.8953, allocations: 4.031 kB / 0.5907 GB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.8953, allocations: 7.906 kB / 0.5907 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.8953, allocations: 0 / 0.5907 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003173/0.8956, allocations: 298 kB / 0.591 GB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.8956, allocations: 0 / 0.591 GB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.513e-05/0.8957, allocations: 8 kB / 0.591 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.8957, allocations: 0 / 0.591 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.8957, allocations: 3.938 kB / 0.591 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.8957, allocations: 0 / 0.591 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.8957, allocations: 0 / 0.591 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002088/0.896, allocations: 187 kB / 0.5912 GB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000323/0.8963, allocations: 0.5579 MB / 0.5918 GB, free: 12.56 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001818/0.8965, allocations: 160.5 kB / 0.5919 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.214e-05/0.8965, allocations: 0 / 0.5919 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.805e-05/0.8966, allocations: 8.062 kB / 0.5919 GB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-05/0.8967, allocations: 3.984 kB / 0.5919 GB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.8967, allocations: 0 / 0.5919 GB, free: 12.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.000683/0.8974, allocations: 0.612 MB / 0.5925 GB, free: 11.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008786/0.8983, allocations: 52 kB / 0.5926 GB, free: 11.71 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.0006079/0.8989, allocations: 265.5 kB / 0.5928 GB, free: 11.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.525e-05/0.899, allocations: 19.92 kB / 0.5928 GB, free: 11.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.899, allocations: 0 / 0.5928 GB, free: 11.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.194e-05/0.899, allocations: 12.06 kB / 0.5929 GB, free: 11.49 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.8994, allocations: 23.11 kB / 0.5929 GB, free: 11.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.9007, allocations: 0.6875 MB / 0.5935 GB, free: 10.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005767/0.9013, allocations: 0.8411 MB / 0.5944 GB, free: 9.879 MB / 410.7 MB Notification: Performance of SimCode: time 4.01e-07/0.9013, allocations: 0 / 0.5944 GB, free: 9.879 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1)