Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.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.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test11",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.001537/0.001537, 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.248/1.248, allocations: 221.4 MB / 230.3 MB, free: 7.707 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.0009738/0.000974, allocations: 80.69 kB / 281.2 MB, free: 5.457 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.1607/0.1607, allocations: 44.15 MB / 376.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2323/0.3931, allocations: 68.03 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.5315, allocations: 61.91 MB / 0.4942 GB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2889/0.8204, allocations: 87.97 MB / 0.5801 GB, free: 8.742 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002235/0.8207, allocations: 71.97 kB / 0.5802 GB, free: 8.672 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.01746/0.8382, allocations: 6.501 MB / 0.5865 GB, free: 2.137 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.8382, allocations: 11.94 kB / 0.5865 GB, free: 2.125 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.788e-05/0.8383, allocations: 11.91 kB / 0.5865 GB, free: 2.113 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002556/0.8385, allocations: 197.5 kB / 0.5867 GB, free: 1.883 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.517e-06/0.8386, allocations: 3.906 kB / 0.5867 GB, free: 1.879 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.8386, allocations: 4 kB / 0.5867 GB, free: 1.875 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.373e-05/0.8387, allocations: 15.94 kB / 0.5867 GB, free: 1.859 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.8388, allocations: 63.41 kB / 0.5868 GB, free: 1.785 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.8388, allocations: 7.984 kB / 0.5868 GB, free: 1.777 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.8388, allocations: 3.938 kB / 0.5868 GB, free: 1.773 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.8388, allocations: 0 / 0.5868 GB, free: 1.773 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003471/0.8392, allocations: 253.4 kB / 0.5871 GB, free: 1.488 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.092e-05/0.8393, allocations: 46.5 kB / 0.5871 GB, free: 1.434 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.85e-05/0.8393, allocations: 8.859 kB / 0.5871 GB, free: 1.422 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.216e-05/0.8393, allocations: 4 kB / 0.5871 GB, free: 1.418 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.8394, allocations: 34.56 kB / 0.5871 GB, free: 1.375 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/0.8394, allocations: 0 / 0.5871 GB, free: 1.375 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004629/0.8399, allocations: 133.4 kB / 0.5873 GB, free: 1.238 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.8399, allocations: 81.05 kB / 0.5873 GB, free: 1.141 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.84, allocations: 133.2 kB / 0.5875 GB, free: 1 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.8401, allocations: 25.7 kB / 0.5875 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.399e-05/0.8401, allocations: 84.14 kB / 0.5876 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.8402, allocations: 19.7 kB / 0.5876 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/0.8402, allocations: 4 kB / 0.5876 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.8403, allocations: 318.8 kB / 0.5879 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.31e-05/0.8403, allocations: 16 kB / 0.5879 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.476e-05/0.8404, allocations: 25.7 kB / 0.5879 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.547e-05/0.8404, allocations: 16.23 kB / 0.588 GB, free: 488 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.8404, allocations: 3.906 kB / 0.588 GB, free: 484 kB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001204/0.8406, allocations: 73.58 kB / 0.588 GB, free: 404 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.8406, allocations: 4 kB / 0.588 GB, free: 400 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.8406, allocations: 4.031 kB / 0.588 GB, free: 396 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.8406, allocations: 3.938 kB / 0.588 GB, free: 392 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.8408, allocations: 27.92 kB / 0.5881 GB, free: 364 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.8408, allocations: 0 / 0.5881 GB, free: 364 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.829e-05/0.8409, allocations: 23.92 kB / 0.5881 GB, free: 340 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.8409, allocations: 0 / 0.5881 GB, free: 340 kB / 394.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 7.511e-05/0.8409, allocations: 105 kB / 0.5882 GB, free: 228 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.438e-05/0.841, allocations: 8.047 kB / 0.5882 GB, free: 220 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000171/0.8412, allocations: 90.05 kB / 0.5883 GB, free: 124 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.8412, allocations: 4 kB / 0.5883 GB, free: 120 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.8412, allocations: 0 / 0.5883 GB, free: 120 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.8412, allocations: 4 kB / 0.5883 GB, free: 116 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003479/0.8416, allocations: 331 kB / 0.5886 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.8416, allocations: 0 / 0.5886 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.8417, allocations: 23.98 kB / 0.5886 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.8417, allocations: 0 / 0.5886 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.8417, allocations: 0 / 0.5886 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.8417, allocations: 4 kB / 0.5886 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.8417, allocations: 0 / 0.5886 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000159/0.8419, allocations: 171.7 kB / 0.5888 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002995/0.8422, allocations: 0.5468 MB / 0.5893 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.515e-05/0.8422, allocations: 93 kB / 0.5894 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/0.8423, allocations: 4 kB / 0.5894 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.8424, allocations: 11.98 kB / 0.5894 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-05/0.8424, allocations: 7.984 kB / 0.5895 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.8425, allocations: 0 / 0.5895 GB, free: 14.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.036e-05/0.8425, allocations: 109.9 kB / 0.5896 GB, free: 14.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000868/0.8434, allocations: 39.91 kB / 0.5896 GB, free: 14.69 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.0007486/0.8442, allocations: 345.6 kB / 0.5899 GB, free: 14.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001208/0.8443, allocations: 43.98 kB / 0.59 GB, free: 14.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8443, allocations: 0 / 0.59 GB, free: 14.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.399e-05/0.8444, allocations: 27.94 kB / 0.59 GB, free: 14.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.8446, allocations: 15.98 kB / 0.59 GB, free: 14.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003356/0.845, allocations: 111.8 kB / 0.5901 GB, free: 14.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003748/0.8453, allocations: 0.7114 MB / 0.5908 GB, free: 13.47 MB / 410.7 MB Notification: Performance of SimCode: time 2.8e-07/0.8453, allocations: 8 kB / 0.5908 GB, free: 13.46 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test11_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat does not exist to compare? outputFormat=mat