Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31",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.001036/0.001036, allocations: 188.3 kB / 8.521 MB, free: 1.82 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.193/1.193, allocations: 221.4 MB / 230.3 MB, free: 7.715 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.0008655/0.0008655, allocations: 94.22 kB / 281.2 MB, free: 5.527 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.1746/0.1746, allocations: 44.15 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2055/0.3802, allocations: 68.03 MB / 444.1 MB, free: 15.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.4831, allocations: 61.91 MB / 0.4942 GB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2986/0.7817, allocations: 88.42 MB / 0.5805 GB, free: 8.402 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/0.782, allocations: 75.95 kB / 0.5806 GB, free: 8.328 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.01832/0.8003, allocations: 6.594 MB / 0.587 GB, free: 1.699 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.8004, allocations: 11.94 kB / 0.5871 GB, free: 1.688 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.7e-05/0.8004, allocations: 15.8 kB / 0.5871 GB, free: 1.672 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002394/0.8007, allocations: 194.9 kB / 0.5873 GB, free: 1.441 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.8007, allocations: 0 / 0.5873 GB, free: 1.441 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.8007, allocations: 4 kB / 0.5873 GB, free: 1.438 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.507e-05/0.8008, allocations: 16 kB / 0.5873 GB, free: 1.422 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.8009, allocations: 67.34 kB / 0.5873 GB, free: 1.344 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.801, allocations: 0 / 0.5873 GB, free: 1.344 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.801, allocations: 3.938 kB / 0.5873 GB, free: 1.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.801, allocations: 0 / 0.5873 GB, free: 1.34 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004751/0.8015, allocations: 297.3 kB / 0.5876 GB, free: 1.012 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.043e-05/0.8016, allocations: 30.58 kB / 0.5877 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.099e-05/0.8016, allocations: 20.8 kB / 0.5877 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.8016, allocations: 3.906 kB / 0.5877 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.8017, allocations: 30.56 kB / 0.5877 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.173e-06/0.8017, allocations: 0 / 0.5877 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004986/0.8022, allocations: 153.4 kB / 0.5879 GB, free: 0.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.8022, allocations: 81.05 kB / 0.5879 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.8024, allocations: 131.5 kB / 0.5881 GB, free: 0.5156 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.8024, allocations: 25.7 kB / 0.5881 GB, free: 496 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.123e-05/0.8025, allocations: 104 kB / 0.5882 GB, free: 388 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.8025, allocations: 11.72 kB / 0.5882 GB, free: 376 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.884e-06/0.8025, allocations: 0 / 0.5882 GB, free: 376 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.8026, allocations: 326.8 kB / 0.5885 GB, free: 40 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.908e-05/0.8027, allocations: 20 kB / 0.5885 GB, free: 20 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.8028, allocations: 33.75 kB / 0.5886 GB, free: 15.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.673e-05/0.8028, allocations: 23.94 kB / 0.5886 GB, free: 15.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.8028, allocations: 4.031 kB / 0.5886 GB, free: 15.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001454/0.803, allocations: 93.88 kB / 0.5887 GB, free: 15.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.803, allocations: 4 kB / 0.5887 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.803, allocations: 0 / 0.5887 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.803, allocations: 3.984 kB / 0.5887 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.8032, allocations: 23.98 kB / 0.5887 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.8032, allocations: 0 / 0.5887 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.063e-05/0.8033, allocations: 20.12 kB / 0.5887 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.617e-06/0.8033, allocations: 3.938 kB / 0.5887 GB, free: 15.8 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 7.813e-05/0.8034, allocations: 112.8 kB / 0.5888 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.854e-05/0.8034, allocations: 11.89 kB / 0.5888 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001973/0.8036, allocations: 102.2 kB / 0.5889 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.8036, allocations: 4 kB / 0.5889 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.8037, allocations: 0 / 0.5889 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.8037, allocations: 0 / 0.5889 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003889/0.8041, allocations: 347 kB / 0.5893 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.8041, allocations: 0 / 0.5893 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.8042, allocations: 27.98 kB / 0.5893 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.8042, allocations: 0 / 0.5893 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.8042, allocations: 4 kB / 0.5893 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.8042, allocations: 0 / 0.5893 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.8042, allocations: 0 / 0.5893 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001814/0.8044, allocations: 183.3 kB / 0.5895 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002948/0.8047, allocations: 0.5666 MB / 0.59 GB, free: 14.37 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.756e-05/0.8048, allocations: 85 kB / 0.5901 GB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.8048, allocations: 11.84 kB / 0.5901 GB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.8049, allocations: 11.98 kB / 0.5901 GB, free: 14.24 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/0.805, allocations: 11.98 kB / 0.5901 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.805, allocations: 4 kB / 0.5901 GB, free: 14.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001035/0.8051, allocations: 107.3 kB / 0.5903 GB, free: 14.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009004/0.806, allocations: 39.98 kB / 0.5903 GB, free: 14.08 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.0007346/0.8068, allocations: 339 kB / 0.5906 GB, free: 13.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001342/0.8069, allocations: 51.98 kB / 0.5907 GB, free: 13.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.8069, allocations: 0 / 0.5907 GB, free: 13.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.08e-05/0.807, allocations: 28 kB / 0.5907 GB, free: 13.76 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.8072, allocations: 16.7 kB / 0.5907 GB, free: 13.74 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003537/0.8076, allocations: 131.3 kB / 0.5908 GB, free: 13.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003478/0.8079, allocations: 0.7231 MB / 0.5915 GB, free: 12.84 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.8079, allocations: 4 kB / 0.5915 GB, free: 12.84 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat does not exist to compare? outputFormat=mat