Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10",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.001511/0.001511, 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.304/1.304, 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.0009559/0.0009556, allocations: 79.98 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.1905/0.1905, allocations: 44.14 MB / 376.1 MB, free: 3.246 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2757/0.4662, allocations: 68.04 MB / 444.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.5852, allocations: 61.91 MB / 0.4942 GB, free: 1.551 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3466/0.9318, allocations: 88.43 MB / 0.5805 GB, free: 8.332 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001781/0.9321, allocations: 72.62 kB / 0.5806 GB, free: 8.262 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.01617/0.9483, allocations: 6.617 MB / 0.5871 GB, free: 1.617 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.9483, allocations: 11.94 kB / 0.5871 GB, free: 1.605 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.9483, allocations: 15.8 kB / 0.5871 GB, free: 1.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.9485, allocations: 190.9 kB / 0.5873 GB, free: 1.363 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.644e-06/0.9485, allocations: 0 / 0.5873 GB, free: 1.363 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.9486, allocations: 4 kB / 0.5873 GB, free: 1.359 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.862e-05/0.9486, allocations: 20 kB / 0.5873 GB, free: 1.34 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.367e-05/0.9487, allocations: 67.34 kB / 0.5874 GB, free: 1.262 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.9488, allocations: 4 kB / 0.5874 GB, free: 1.258 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.9488, allocations: 0 / 0.5874 GB, free: 1.258 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.9488, allocations: 0 / 0.5874 GB, free: 1.258 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.9492, allocations: 293.3 kB / 0.5876 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.908e-05/0.9492, allocations: 30.58 kB / 0.5877 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.952e-05/0.9493, allocations: 16.86 kB / 0.5877 GB, free: 0.875 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.9493, allocations: 3.906 kB / 0.5877 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.9493, allocations: 34.5 kB / 0.5877 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.9493, allocations: 0 / 0.5877 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004245/0.9497, allocations: 153.4 kB / 0.5879 GB, free: 0.6719 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.9498, allocations: 81.05 kB / 0.5879 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.9499, allocations: 131.4 kB / 0.5881 GB, free: 448 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.9499, allocations: 29.7 kB / 0.5881 GB, free: 412 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.134e-05/0.95, allocations: 99.97 kB / 0.5882 GB, free: 308 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.95, allocations: 15.72 kB / 0.5882 GB, free: 292 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.95, allocations: 0 / 0.5882 GB, free: 292 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.319e-05/0.9501, allocations: 318.8 kB / 0.5885 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.569e-05/0.9501, allocations: 20 kB / 0.5885 GB, free: 15.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.341e-05/0.9502, allocations: 41.64 kB / 0.5886 GB, free: 15.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.055e-05/0.9502, allocations: 24.22 kB / 0.5886 GB, free: 15.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.9502, allocations: 4.031 kB / 0.5886 GB, free: 15.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001262/0.9504, allocations: 85.64 kB / 0.5887 GB, free: 15.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/0.9504, allocations: 4 kB / 0.5887 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.9504, allocations: 0 / 0.5887 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.195e-06/0.9504, allocations: 0 / 0.5887 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.9505, allocations: 31.97 kB / 0.5887 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.9505, allocations: 0 / 0.5887 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.147e-05/0.9506, allocations: 16.14 kB / 0.5887 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.9506, allocations: 11.92 kB / 0.5887 GB, free: 15.72 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 5.364e-05/0.9507, allocations: 112.8 kB / 0.5888 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.665e-05/0.9507, allocations: 11.89 kB / 0.5889 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001667/0.9509, allocations: 98.16 kB / 0.589 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.9509, allocations: 0 / 0.589 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.9509, allocations: 0 / 0.589 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.9509, allocations: 0 / 0.589 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003161/0.9513, allocations: 359 kB / 0.5893 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.9513, allocations: 0 / 0.5893 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.982e-05/0.9514, allocations: 27.98 kB / 0.5893 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.9514, allocations: 0 / 0.5893 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.9514, allocations: 0 / 0.5893 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.9514, allocations: 0 / 0.5893 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.9514, allocations: 0 / 0.5893 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001499/0.9516, allocations: 183.7 kB / 0.5895 GB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002696/0.9518, allocations: 0.5625 MB / 0.59 GB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.223e-05/0.9519, allocations: 89 kB / 0.5901 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.9519, allocations: 7.844 kB / 0.5901 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.952, allocations: 15.98 kB / 0.5902 GB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.097e-05/0.9521, allocations: 3.984 kB / 0.5902 GB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.9521, allocations: 12 kB / 0.5902 GB, free: 14.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.035e-05/0.9521, allocations: 105.6 kB / 0.5903 GB, free: 14.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008088/0.953, allocations: 39.98 kB / 0.5903 GB, free: 14 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.0005781/0.9535, allocations: 338.8 kB / 0.5906 GB, free: 13.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000119/0.9537, allocations: 55.92 kB / 0.5907 GB, free: 13.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.9537, allocations: 0 / 0.5907 GB, free: 13.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.415e-05/0.9537, allocations: 24 kB / 0.5907 GB, free: 13.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001773/0.9539, allocations: 15.89 kB / 0.5907 GB, free: 13.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002967/0.9542, allocations: 127.8 kB / 0.5908 GB, free: 13.51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002625/0.9545, allocations: 0.727 MB / 0.5916 GB, free: 12.75 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.9545, allocations: 0 / 0.5916 GB, free: 12.75 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat does not exist to compare? outputFormat=mat