Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1",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.001007/0.001007, allocations: 178.2 kB / 8.52 MB, free: 1.824 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.369/1.369, allocations: 221.4 MB / 230.3 MB, free: 7.664 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.000924/0.0009241, allocations: 86.36 kB / 281.2 MB, free: 5.465 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.1901/0.1901, allocations: 44.15 MB / 376.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2362/0.4264, allocations: 68.03 MB / 444.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.5608, allocations: 61.91 MB / 0.4942 GB, free: 1.535 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3819/0.9427, allocations: 87.8 MB / 0.5799 GB, free: 9 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002259/0.943, allocations: 79.81 kB / 0.58 GB, free: 8.926 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.01926/0.9623, allocations: 8.466 MB / 0.5883 GB, free: 424 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.9623, allocations: 11.94 kB / 0.5883 GB, free: 412 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.9624, allocations: 43.44 kB / 0.5883 GB, free: 368 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004786/0.9629, allocations: 319.4 kB / 0.5886 GB, free: 8 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.9629, allocations: 4 kB / 0.5886 GB, free: 4 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.963, allocations: 0 / 0.5886 GB, free: 4 kB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.479e-05/0.9631, allocations: 24.06 kB / 0.5886 GB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.899e-05/0.9632, allocations: 49.64 kB / 0.5887 GB, free: 15.92 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.9632, allocations: 3.906 kB / 0.5887 GB, free: 15.92 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.9632, allocations: 0 / 0.5887 GB, free: 15.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.9632, allocations: 0 / 0.5887 GB, free: 15.92 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000639/0.9638, allocations: 421.2 kB / 0.5891 GB, free: 15.47 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.141e-05/0.964, allocations: 29.75 kB / 0.5891 GB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.979e-05/0.964, allocations: 16.86 kB / 0.5891 GB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.964, allocations: 0 / 0.5891 GB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.9641, allocations: 34.56 kB / 0.5892 GB, free: 15.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.9641, allocations: 0 / 0.5892 GB, free: 15.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006282/0.9647, allocations: 220 kB / 0.5894 GB, free: 15.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.9648, allocations: 59.34 kB / 0.5894 GB, free: 15.08 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.9659, allocations: 0.7473 MB / 0.5902 GB, free: 14.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.9659, allocations: 25.7 kB / 0.5902 GB, free: 14.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.513e-05/0.966, allocations: 148.1 kB / 0.5903 GB, free: 14.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.966, allocations: 19.66 kB / 0.5904 GB, free: 14.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/0.966, allocations: 0 / 0.5904 GB, free: 14.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.9662, allocations: 366.7 kB / 0.5907 GB, free: 13.76 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.259e-05/0.9662, allocations: 12 kB / 0.5907 GB, free: 13.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.897e-05/0.9662, allocations: 25.08 kB / 0.5907 GB, free: 13.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.228e-05/0.9663, allocations: 15.98 kB / 0.5908 GB, free: 13.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.9663, allocations: 4 kB / 0.5908 GB, free: 13.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001685/0.9665, allocations: 105.1 kB / 0.5909 GB, free: 13.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.9665, allocations: 7.984 kB / 0.5909 GB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.9665, allocations: 0 / 0.5909 GB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.9665, allocations: 0 / 0.5909 GB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.9667, allocations: 19.94 kB / 0.5909 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.9667, allocations: 8.234 kB / 0.5909 GB, free: 13.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.623e-05/0.9668, allocations: 12 kB / 0.5909 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.9668, allocations: 0 / 0.5909 GB, free: 13.55 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 (8): * Single equations (assignments): 8 * 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.825e-05/0.9669, allocations: 109 kB / 0.591 GB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.268e-05/0.967, allocations: 39.44 kB / 0.591 GB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000262/0.9672, allocations: 141.4 kB / 0.5912 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.9673, allocations: 7.906 kB / 0.5912 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.9673, allocations: 288 / 0.5912 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.9673, allocations: 0 / 0.5912 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007984/0.9681, allocations: 0.5855 MB / 0.5918 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.9681, allocations: 0 / 0.5918 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.95e-05/0.9682, allocations: 31.94 kB / 0.5918 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.9682, allocations: 0 / 0.5918 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.9682, allocations: 4 kB / 0.5918 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.9682, allocations: 0 / 0.5918 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.9682, allocations: 0 / 0.5918 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002338/0.9685, allocations: 233.6 kB / 0.592 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003661/0.9688, allocations: 0.5957 MB / 0.5926 GB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002257/0.9691, allocations: 164.5 kB / 0.5928 GB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.411e-05/0.9691, allocations: 0 / 0.5928 GB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.9693, allocations: 11.98 kB / 0.5928 GB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/0.9693, allocations: 4 kB / 0.5928 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.9693, allocations: 8 kB / 0.5928 GB, free: 11.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0006312/0.97, allocations: 0.6043 MB / 0.5934 GB, free: 10.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009077/0.9709, allocations: 71.92 kB / 0.5934 GB, free: 10.82 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0008343/0.9717, allocations: 348.2 kB / 0.5938 GB, free: 10.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001315/0.9719, allocations: 47.88 kB / 0.5938 GB, free: 10.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.9719, allocations: 0 / 0.5938 GB, free: 10.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.113e-05/0.972, allocations: 20 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.0002963/0.9723, allocations: 24.95 kB / 0.5939 GB, free: 10.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.9735, allocations: 0.7288 MB / 0.5946 GB, free: 9.719 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005047/0.974, allocations: 0.8528 MB / 0.5954 GB, free: 8.84 MB / 410.7 MB Notification: Performance of SimCode: time 4.1e-07/0.974, allocations: 0 / 0.5954 GB, free: 8.84 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat does not exist to compare? outputFormat=mat