Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6",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.001824/0.001824, allocations: 178.6 kB / 8.519 MB, free: 1.832 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.242/1.242, allocations: 221.4 MB / 230.3 MB, free: 7.672 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.0009559/0.0009562, allocations: 85.86 kB / 281.2 MB, free: 5.473 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.1897/0.1897, allocations: 44.15 MB / 376.1 MB, free: 3.242 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2425/0.4322, allocations: 68.03 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.5696, allocations: 61.91 MB / 0.4942 GB, free: 1.543 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3433/0.9129, allocations: 88.09 MB / 0.5802 GB, free: 8.668 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001951/0.9132, allocations: 68.62 kB / 0.5803 GB, free: 8.602 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.01816/0.9314, allocations: 8.095 MB / 0.5882 GB, free: 464 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.9314, allocations: 11.94 kB / 0.5882 GB, free: 452 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/0.9316, allocations: 43.44 kB / 0.5882 GB, free: 408 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005217/0.9321, allocations: 327.3 kB / 0.5885 GB, free: 40 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.9321, allocations: 4 kB / 0.5885 GB, free: 36 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.9321, allocations: 0 / 0.5885 GB, free: 36 kB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.327e-05/0.9322, allocations: 19.94 kB / 0.5886 GB, free: 16 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.9324, allocations: 61.58 kB / 0.5886 GB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.9324, allocations: 3.938 kB / 0.5886 GB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.9324, allocations: 0 / 0.5886 GB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.9324, allocations: 4 kB / 0.5886 GB, free: 15.94 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006288/0.9331, allocations: 429.2 kB / 0.589 GB, free: 15.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.736e-05/0.9331, allocations: 42.34 kB / 0.5891 GB, free: 15.44 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.527e-05/0.9332, allocations: 12.86 kB / 0.5891 GB, free: 15.42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.9332, allocations: 0 / 0.5891 GB, free: 15.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.9332, allocations: 42.56 kB / 0.5891 GB, free: 15.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.9333, allocations: 0 / 0.5891 GB, free: 15.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006298/0.9339, allocations: 240.1 kB / 0.5894 GB, free: 15.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.9339, allocations: 51.41 kB / 0.5894 GB, free: 15.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/0.9351, allocations: 0.7628 MB / 0.5902 GB, free: 14.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.9352, allocations: 29.7 kB / 0.5902 GB, free: 14.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.868e-05/0.9352, allocations: 132.1 kB / 0.5903 GB, free: 14.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.9353, allocations: 19.72 kB / 0.5903 GB, free: 14.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.219e-06/0.9353, allocations: 0 / 0.5903 GB, free: 14.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.9354, allocations: 362.7 kB / 0.5907 GB, free: 13.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.863e-05/0.9355, allocations: 20 kB / 0.5907 GB, free: 13.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.747e-05/0.9355, allocations: 23.98 kB / 0.5907 GB, free: 13.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.603e-05/0.9356, allocations: 23.98 kB / 0.5907 GB, free: 13.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.9356, allocations: 0 / 0.5907 GB, free: 13.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001842/0.9358, allocations: 117.4 kB / 0.5909 GB, free: 13.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.9358, allocations: 4 kB / 0.5909 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.9358, allocations: 0 / 0.5909 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.9358, allocations: 0 / 0.5909 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.936, allocations: 23.98 kB / 0.5909 GB, free: 13.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.936, allocations: 8 kB / 0.5909 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.9361, allocations: 23.92 kB / 0.5909 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.9361, allocations: 4 kB / 0.5909 GB, free: 13.5 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 (7): * Single equations (assignments): 7 * 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.205e-05/0.9362, allocations: 101 kB / 0.591 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.835e-05/0.9363, allocations: 43.44 kB / 0.591 GB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002462/0.9365, allocations: 145.4 kB / 0.5912 GB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.9365, allocations: 7.906 kB / 0.5912 GB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.9365, allocations: 0 / 0.5912 GB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.9366, allocations: 4 kB / 0.5912 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006984/0.9373, allocations: 0.5731 MB / 0.5918 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.9373, allocations: 0 / 0.5918 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.9374, allocations: 19.98 kB / 0.5918 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.9374, allocations: 15.84 kB / 0.5918 GB, free: 12.53 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.9374, allocations: 0 / 0.5918 GB, free: 12.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.9374, allocations: 0 / 0.5918 GB, free: 12.53 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.9374, allocations: 0 / 0.5918 GB, free: 12.53 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002086/0.9376, allocations: 222.8 kB / 0.592 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002952/0.9379, allocations: 0.5934 MB / 0.5926 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001674/0.9381, allocations: 160.5 kB / 0.5927 GB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.622e-05/0.9382, allocations: 4 kB / 0.5927 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.9383, allocations: 11.98 kB / 0.5928 GB, free: 11.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/0.9384, allocations: 11.89 kB / 0.5928 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.9384, allocations: 0 / 0.5928 GB, free: 11.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0006764/0.9391, allocations: 0.6121 MB / 0.5934 GB, free: 10.87 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009504/0.94, allocations: 60 kB / 0.5934 GB, free: 10.81 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 (7): * Single equations (assignments): 7 * 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.000638/0.9407, allocations: 311.8 kB / 0.5937 GB, free: 10.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001334/0.9408, allocations: 47.98 kB / 0.5938 GB, free: 10.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.9408, allocations: 4 kB / 0.5938 GB, free: 10.53 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.718e-05/0.9409, allocations: 27.94 kB / 0.5938 GB, free: 10.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.9412, allocations: 30.56 kB / 0.5938 GB, free: 10.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.9423, allocations: 0.7202 MB / 0.5945 GB, free: 9.723 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004684/0.9428, allocations: 0.8606 MB / 0.5954 GB, free: 8.836 MB / 410.7 MB Notification: Performance of SimCode: time 2.9e-07/0.9428, allocations: 0 / 0.5954 GB, free: 8.836 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1)