Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12",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.00185/0.00185, allocations: 183.9 kB / 8.521 MB, free: 1.789 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.37/1.37, allocations: 221.4 MB / 230.3 MB, free: 7.652 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.0007425/0.0007425, allocations: 93.66 kB / 281.2 MB, free: 5.445 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.2038/0.2038, allocations: 44.15 MB / 376.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2528/0.4567, allocations: 68.03 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.5978, allocations: 61.91 MB / 0.4942 GB, free: 1.535 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3294/0.9273, allocations: 88.43 MB / 0.5805 GB, free: 8.297 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000186/0.9275, allocations: 73.47 kB / 0.5806 GB, free: 8.227 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.01608/0.9436, allocations: 6.605 MB / 0.5871 GB, free: 1.59 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.9436, allocations: 11.94 kB / 0.5871 GB, free: 1.578 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.613e-05/0.9437, allocations: 11.81 kB / 0.5871 GB, free: 1.566 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.9439, allocations: 198.8 kB / 0.5873 GB, free: 1.332 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.534e-06/0.9439, allocations: 0 / 0.5873 GB, free: 1.332 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.9439, allocations: 4 kB / 0.5873 GB, free: 1.328 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.383e-05/0.944, allocations: 24 kB / 0.5873 GB, free: 1.305 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.9441, allocations: 55.41 kB / 0.5873 GB, free: 1.238 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.9442, allocations: 0 / 0.5873 GB, free: 1.238 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.9442, allocations: 0 / 0.5873 GB, free: 1.238 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.9442, allocations: 4 kB / 0.5874 GB, free: 1.234 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003621/0.9445, allocations: 289.3 kB / 0.5876 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.336e-05/0.9446, allocations: 38.56 kB / 0.5877 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.829e-05/0.9447, allocations: 16.86 kB / 0.5877 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.9447, allocations: 7.969 kB / 0.5877 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.9447, allocations: 34.56 kB / 0.5877 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.9447, allocations: 0 / 0.5877 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004435/0.9452, allocations: 153.4 kB / 0.5879 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.9452, allocations: 85.05 kB / 0.5879 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.9453, allocations: 131.2 kB / 0.5881 GB, free: 412 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.9453, allocations: 25.7 kB / 0.5881 GB, free: 380 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.589e-05/0.9454, allocations: 95.97 kB / 0.5882 GB, free: 280 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/0.9454, allocations: 19.72 kB / 0.5882 GB, free: 260 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-06/0.9454, allocations: 0 / 0.5882 GB, free: 260 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.645e-05/0.9455, allocations: 318.8 kB / 0.5885 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.567e-05/0.9456, allocations: 20 kB / 0.5885 GB, free: 15.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.173e-05/0.9456, allocations: 37.7 kB / 0.5886 GB, free: 15.87 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.947e-05/0.9456, allocations: 23.98 kB / 0.5886 GB, free: 15.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.9457, allocations: 0 / 0.5886 GB, free: 15.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001306/0.9458, allocations: 93.73 kB / 0.5887 GB, free: 15.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.377e-06/0.9458, allocations: 4 kB / 0.5887 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.9458, allocations: 0 / 0.5887 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.686e-06/0.9458, allocations: 0 / 0.5887 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.946, allocations: 32 kB / 0.5887 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.946, allocations: 3.938 kB / 0.5887 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.931e-05/0.9461, allocations: 12 kB / 0.5887 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.9461, allocations: 0 / 0.5887 GB, free: 15.7 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.145e-05/0.9461, allocations: 120.8 kB / 0.5888 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.519e-05/0.9462, allocations: 11.91 kB / 0.5889 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001683/0.9463, allocations: 94.25 kB / 0.5889 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.9464, allocations: 3.984 kB / 0.5889 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.9464, allocations: 3.984 kB / 0.589 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.9464, allocations: 0 / 0.589 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003108/0.9467, allocations: 347 kB / 0.5893 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.9467, allocations: 4 kB / 0.5893 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.896e-05/0.9468, allocations: 27.92 kB / 0.5893 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.9468, allocations: 0 / 0.5893 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.9468, allocations: 8 kB / 0.5893 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.9468, allocations: 0 / 0.5893 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.9468, allocations: 0 / 0.5893 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001479/0.947, allocations: 187.3 kB / 0.5895 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002379/0.9472, allocations: 0.5511 MB / 0.59 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.264e-05/0.9473, allocations: 93 kB / 0.5901 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.9473, allocations: 11.78 kB / 0.5901 GB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.9474, allocations: 15.98 kB / 0.5902 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.394e-05/0.9475, allocations: 4 kB / 0.5902 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.9475, allocations: 7.984 kB / 0.5902 GB, free: 14.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.132e-05/0.9476, allocations: 105.5 kB / 0.5903 GB, free: 14.01 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008285/0.9484, allocations: 39.97 kB / 0.5903 GB, free: 13.97 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.0006025/0.949, allocations: 335.5 kB / 0.5906 GB, free: 13.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001175/0.9491, allocations: 55.92 kB / 0.5907 GB, free: 13.67 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.9491, allocations: 4 kB / 0.5907 GB, free: 13.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.219e-05/0.9492, allocations: 24 kB / 0.5907 GB, free: 13.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001827/0.9494, allocations: 19.89 kB / 0.5907 GB, free: 13.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002933/0.9497, allocations: 127.5 kB / 0.5908 GB, free: 13.47 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002582/0.9499, allocations: 0.7231 MB / 0.5915 GB, free: 12.72 MB / 410.7 MB Notification: Performance of SimCode: time 3.2e-07/0.95, allocations: 3.938 kB / 0.5916 GB, free: 12.72 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat does not exist to compare? outputFormat=mat