Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20",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.001411/0.00141, allocations: 190.5 kB / 8.523 MB, free: 1.734 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.352/1.352, allocations: 221.4 MB / 230.3 MB, free: 7.699 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.001207/0.001207, allocations: 84.69 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.2151/0.2151, allocations: 44.15 MB / 376.1 MB, free: 3.227 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.203/0.4182, allocations: 68.02 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.554, allocations: 61.91 MB / 0.4942 GB, free: 1.535 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3736/0.9277, allocations: 89.79 MB / 0.5819 GB, free: 6.938 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/0.928, allocations: 74.95 kB / 0.5819 GB, free: 6.867 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.02469/0.9527, allocations: 8.829 MB / 0.5906 GB, free: 14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.9528, allocations: 11.94 kB / 0.5906 GB, free: 13.99 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.9529, allocations: 39.53 kB / 0.5906 GB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006726/0.9536, allocations: 349 kB / 0.5909 GB, free: 13.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.9537, allocations: 0 / 0.5909 GB, free: 13.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.527e-05/0.9537, allocations: 8 kB / 0.5909 GB, free: 13.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001627/0.9539, allocations: 51.98 kB / 0.591 GB, free: 13.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.9541, allocations: 89.55 kB / 0.5911 GB, free: 13.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.9541, allocations: 0 / 0.5911 GB, free: 13.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.9541, allocations: 4 kB / 0.5911 GB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.9541, allocations: 4 kB / 0.5911 GB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008369/0.955, allocations: 476.7 kB / 0.5915 GB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.9551, allocations: 77.64 kB / 0.5916 GB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.203e-05/0.9552, allocations: 33.02 kB / 0.5917 GB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.238e-05/0.9552, allocations: 7.984 kB / 0.5917 GB, free: 12.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.9553, allocations: 34.56 kB / 0.5917 GB, free: 12.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 3.126e-06/0.9553, allocations: 0 / 0.5917 GB, free: 12.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008222/0.9561, allocations: 306.4 kB / 0.592 GB, free: 12.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.9561, allocations: 55.41 kB / 0.592 GB, free: 12.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006701/0.9569, allocations: 473 kB / 0.5925 GB, free: 11.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.9569, allocations: 25.7 kB / 0.5925 GB, free: 11.87 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.315e-05/0.957, allocations: 132.4 kB / 0.5926 GB, free: 11.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.164e-05/0.9571, allocations: 59.09 kB / 0.5927 GB, free: 11.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.434e-06/0.9571, allocations: 0 / 0.5927 GB, free: 11.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.9573, allocations: 350.8 kB / 0.593 GB, free: 11.33 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.058e-05/0.9573, allocations: 36 kB / 0.5931 GB, free: 11.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.043e-05/0.9574, allocations: 40 kB / 0.5931 GB, free: 11.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.835e-05/0.9575, allocations: 43.98 kB / 0.5931 GB, free: 11.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.9576, allocations: 0 / 0.5931 GB, free: 11.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002981/0.9579, allocations: 167.4 kB / 0.5933 GB, free: 11.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.9579, allocations: 4 kB / 0.5933 GB, free: 11.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.9579, allocations: 3.938 kB / 0.5933 GB, free: 11.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.9579, allocations: 4 kB / 0.5933 GB, free: 11.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/0.9581, allocations: 35.97 kB / 0.5933 GB, free: 11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.9581, allocations: 3.906 kB / 0.5934 GB, free: 10.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.9583, allocations: 12 kB / 0.5934 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.9583, allocations: 8 kB / 0.5934 GB, free: 10.97 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 (17): * Single equations (assignments): 17 * 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.000115/0.9584, allocations: 104.9 kB / 0.5935 GB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.9585, allocations: 47.42 kB / 0.5935 GB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000476/0.959, allocations: 205.2 kB / 0.5937 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.959, allocations: 4 kB / 0.5937 GB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.9591, allocations: 0 / 0.5937 GB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/0.9591, allocations: 3.984 kB / 0.5937 GB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008475/0.9599, allocations: 0.608 MB / 0.5943 GB, free: 9.945 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.9599, allocations: 0 / 0.5943 GB, free: 9.945 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/0.9601, allocations: 47.91 kB / 0.5944 GB, free: 9.898 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.9601, allocations: 4 kB / 0.5944 GB, free: 9.895 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.9601, allocations: 0 / 0.5944 GB, free: 9.895 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.9601, allocations: 4 kB / 0.5944 GB, free: 9.891 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.9601, allocations: 4 kB / 0.5944 GB, free: 9.887 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003425/0.9605, allocations: 266.1 kB / 0.5946 GB, free: 9.613 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005625/0.9611, allocations: 0.6439 MB / 0.5953 GB, free: 8.949 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000171/0.9613, allocations: 148.5 kB / 0.5954 GB, free: 8.785 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.771e-05/0.9613, allocations: 3.906 kB / 0.5954 GB, free: 8.781 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.9615, allocations: 8 kB / 0.5954 GB, free: 8.773 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.254e-05/0.9616, allocations: 15.97 kB / 0.5954 GB, free: 8.758 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.9616, allocations: 4 kB / 0.5954 GB, free: 8.754 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0005985/0.9622, allocations: 379.2 kB / 0.5958 GB, free: 8.383 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001137/0.9633, allocations: 67.92 kB / 0.5959 GB, free: 8.316 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 (17): * Single equations (assignments): 17 * 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.001333/0.9647, allocations: 0.4958 MB / 0.5963 GB, free: 7.938 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000294/0.965, allocations: 110.4 kB / 0.5964 GB, free: 7.832 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.965, allocations: 4 kB / 0.5964 GB, free: 7.828 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.9651, allocations: 63.94 kB / 0.5965 GB, free: 7.766 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000536/0.9657, allocations: 56.44 kB / 0.5966 GB, free: 7.715 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.9669, allocations: 0.504 MB / 0.5971 GB, free: 7.188 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00055/0.9675, allocations: 0.8526 MB / 0.5979 GB, free: 6.309 MB / 410.7 MB Notification: Performance of SimCode: time 8.21e-07/0.9675, allocations: 0 / 0.5979 GB, free: 6.309 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1)