Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.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.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test25",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.001193/0.001193, allocations: 178.2 kB / 8.519 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.195/1.195, allocations: 221.4 MB / 230.3 MB, free: 7.711 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.0009259/0.0009259, allocations: 81.86 kB / 281.2 MB, free: 5.535 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.1863/0.1863, allocations: 44.15 MB / 376.1 MB, free: 3.254 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2113/0.3977, allocations: 68.03 MB / 444.1 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.544, allocations: 61.91 MB / 0.4942 GB, free: 1.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3727/0.9168, allocations: 87.75 MB / 0.5799 GB, free: 9.039 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/0.9171, allocations: 67.97 kB / 0.5799 GB, free: 8.973 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.01224/0.9293, allocations: 4.519 MB / 0.5843 GB, free: 4.414 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.9294, allocations: 15.94 kB / 0.5844 GB, free: 4.398 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.817e-05/0.9294, allocations: 11.91 kB / 0.5844 GB, free: 4.387 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.9297, allocations: 202.3 kB / 0.5846 GB, free: 4.148 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.9297, allocations: 0 / 0.5846 GB, free: 4.148 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.9298, allocations: 8.562 kB / 0.5846 GB, free: 4.141 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.382e-05/0.9299, allocations: 20 kB / 0.5846 GB, free: 4.121 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.104e-05/0.93, allocations: 49.62 kB / 0.5846 GB, free: 4.066 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.93, allocations: 3.938 kB / 0.5846 GB, free: 4.062 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.93, allocations: 0 / 0.5846 GB, free: 4.062 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.93, allocations: 0 / 0.5846 GB, free: 4.062 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004051/0.9304, allocations: 281.3 kB / 0.5849 GB, free: 3.75 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.9306, allocations: 37.66 kB / 0.585 GB, free: 3.707 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.499e-05/0.9306, allocations: 16.98 kB / 0.585 GB, free: 3.688 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.9307, allocations: 3.984 kB / 0.585 GB, free: 3.684 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.9307, allocations: 30.56 kB / 0.585 GB, free: 3.645 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.964e-06/0.9307, allocations: 4 kB / 0.585 GB, free: 3.641 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006291/0.9313, allocations: 193 kB / 0.5852 GB, free: 3.449 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.9314, allocations: 59.34 kB / 0.5852 GB, free: 3.379 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.9316, allocations: 157.7 kB / 0.5854 GB, free: 3.215 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.9316, allocations: 25.7 kB / 0.5854 GB, free: 3.184 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.206e-05/0.9316, allocations: 96.03 kB / 0.5855 GB, free: 3.086 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.249e-05/0.9317, allocations: 31.47 kB / 0.5855 GB, free: 3.055 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/0.9317, allocations: 0 / 0.5855 GB, free: 3.055 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.9318, allocations: 322.8 kB / 0.5858 GB, free: 2.73 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.704e-05/0.9319, allocations: 20 kB / 0.5859 GB, free: 2.711 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.876e-05/0.9319, allocations: 29.25 kB / 0.5859 GB, free: 2.684 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.84e-05/0.932, allocations: 23.98 kB / 0.5859 GB, free: 2.66 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.932, allocations: 4 kB / 0.5859 GB, free: 2.656 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001632/0.9321, allocations: 101.4 kB / 0.586 GB, free: 2.551 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.9322, allocations: 4 kB / 0.586 GB, free: 2.547 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.136e-05/0.9322, allocations: 0 / 0.586 GB, free: 2.547 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.9322, allocations: 0 / 0.586 GB, free: 2.547 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.9324, allocations: 40.28 kB / 0.5861 GB, free: 2.508 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.9324, allocations: 4 kB / 0.5861 GB, free: 2.504 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.042e-05/0.9324, allocations: 11.98 kB / 0.5861 GB, free: 2.492 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.9325, allocations: 12 kB / 0.5861 GB, free: 2.48 MB / 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 (11): * Single equations (assignments): 11 * 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.565e-05/0.9325, allocations: 101 kB / 0.5862 GB, free: 2.375 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.868e-05/0.9326, allocations: 15.81 kB / 0.5862 GB, free: 2.359 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/0.9328, allocations: 118.1 kB / 0.5863 GB, free: 2.238 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.9328, allocations: 0 / 0.5863 GB, free: 2.238 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.9328, allocations: 0 / 0.5863 GB, free: 2.238 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.9328, allocations: 0 / 0.5863 GB, free: 2.238 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004671/0.9333, allocations: 412.5 kB / 0.5867 GB, free: 1.785 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.9333, allocations: 8.156 kB / 0.5867 GB, free: 1.777 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.9335, allocations: 39.83 kB / 0.5868 GB, free: 1.738 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.9335, allocations: 0 / 0.5868 GB, free: 1.738 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.9335, allocations: 7.938 kB / 0.5868 GB, free: 1.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.9335, allocations: 3.984 kB / 0.5868 GB, free: 1.727 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.9335, allocations: 0 / 0.5868 GB, free: 1.727 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002451/0.9338, allocations: 226.6 kB / 0.587 GB, free: 1.473 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000345/0.9341, allocations: 0.6062 MB / 0.5876 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.767e-05/0.9342, allocations: 92.91 kB / 0.5877 GB, free: 0.7188 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.9342, allocations: 4 kB / 0.5877 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.9343, allocations: 15.98 kB / 0.5877 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/0.9344, allocations: 11.98 kB / 0.5877 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.9344, allocations: 4 kB / 0.5877 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.956e-05/0.9345, allocations: 119.8 kB / 0.5878 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008193/0.9353, allocations: 35.98 kB / 0.5878 GB, free: 0.5312 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0007246/0.9361, allocations: 356.6 kB / 0.5882 GB, free: 268 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001638/0.9362, allocations: 60 kB / 0.5882 GB, free: 208 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.9363, allocations: 0 / 0.5882 GB, free: 208 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.991e-05/0.9363, allocations: 39.94 kB / 0.5883 GB, free: 168 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.9365, allocations: 16.5 kB / 0.5883 GB, free: 152 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004317/0.937, allocations: 189.2 kB / 0.5885 GB, free: 15.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003571/0.9374, allocations: 0.7227 MB / 0.5892 GB, free: 15.19 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.9374, allocations: 0 / 0.5892 GB, free: 15.19 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test25_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test25.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat does not exist to compare? outputFormat=mat