Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.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.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test14",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.001693/0.001693, allocations: 174.8 kB / 8.518 MB, free: 1.832 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.449/1.449, allocations: 221.4 MB / 230.3 MB, free: 7.672 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.0008324/0.0008324, allocations: 93.97 kB / 281.2 MB, free: 5.484 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.1769/0.1769, allocations: 44.15 MB / 376.1 MB, free: 3.203 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2622/0.4391, allocations: 68.04 MB / 444.1 MB, free: 15.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.5975, allocations: 61.9 MB / 0.4942 GB, free: 1.508 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3166/0.9141, allocations: 88.42 MB / 0.5805 GB, free: 8.293 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/0.9144, allocations: 79.8 kB / 0.5806 GB, free: 8.219 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.01802/0.9325, allocations: 6.609 MB / 0.5871 GB, free: 1.578 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.9325, allocations: 11.94 kB / 0.5871 GB, free: 1.566 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.155e-05/0.9326, allocations: 11.81 kB / 0.5871 GB, free: 1.555 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.9328, allocations: 194.8 kB / 0.5873 GB, free: 1.324 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.729e-06/0.9329, allocations: 0 / 0.5873 GB, free: 1.324 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.9329, allocations: 4 kB / 0.5873 GB, free: 1.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.107e-05/0.933, allocations: 20 kB / 0.5873 GB, free: 1.301 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.9331, allocations: 67.33 kB / 0.5874 GB, free: 1.223 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.9331, allocations: 0 / 0.5874 GB, free: 1.223 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.9331, allocations: 4 kB / 0.5874 GB, free: 1.219 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.9331, allocations: 0 / 0.5874 GB, free: 1.219 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004133/0.9336, allocations: 285.3 kB / 0.5876 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.183e-05/0.9337, allocations: 34.58 kB / 0.5877 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.763e-05/0.9337, allocations: 20.94 kB / 0.5877 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.9337, allocations: 3.906 kB / 0.5877 GB, free: 0.832 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.9338, allocations: 30.56 kB / 0.5877 GB, free: 0.793 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 2.615e-06/0.9338, allocations: 7.938 kB / 0.5877 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005266/0.9343, allocations: 149.4 kB / 0.5879 GB, free: 0.6328 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.9344, allocations: 81.05 kB / 0.5879 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.9345, allocations: 131.4 kB / 0.5881 GB, free: 408 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.9345, allocations: 29.7 kB / 0.5881 GB, free: 372 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.535e-05/0.9346, allocations: 95.97 kB / 0.5882 GB, free: 272 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.9346, allocations: 19.72 kB / 0.5882 GB, free: 252 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-06/0.9346, allocations: 0 / 0.5882 GB, free: 252 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.9347, allocations: 318.8 kB / 0.5885 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.901e-05/0.9348, allocations: 23.98 kB / 0.5885 GB, free: 15.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.92e-05/0.9348, allocations: 29.72 kB / 0.5886 GB, free: 15.87 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.475e-05/0.9349, allocations: 31.95 kB / 0.5886 GB, free: 15.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-07/0.9349, allocations: 4 kB / 0.5886 GB, free: 15.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001299/0.935, allocations: 81.58 kB / 0.5887 GB, free: 15.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.935, allocations: 4 kB / 0.5887 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.935, allocations: 0 / 0.5887 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.9351, allocations: 0 / 0.5887 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.9352, allocations: 23.98 kB / 0.5887 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.9352, allocations: 4 kB / 0.5887 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.644e-05/0.9353, allocations: 15.98 kB / 0.5887 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.9353, allocations: 4 kB / 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.334e-05/0.9354, allocations: 108.8 kB / 0.5888 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.899e-05/0.9354, allocations: 19.84 kB / 0.5888 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001833/0.9356, allocations: 106.4 kB / 0.5889 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.9356, allocations: 0 / 0.5889 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.9356, allocations: 0 / 0.5889 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.9356, allocations: 0 / 0.5889 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003498/0.936, allocations: 355 kB / 0.5893 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.936, allocations: 0 / 0.5893 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.9361, allocations: 27.92 kB / 0.5893 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.9361, allocations: 7.984 kB / 0.5893 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.9361, allocations: 0 / 0.5893 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.9361, allocations: 0 / 0.5893 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.9361, allocations: 144 / 0.5893 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001717/0.9363, allocations: 183.3 kB / 0.5895 GB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002664/0.9366, allocations: 0.5547 MB / 0.59 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.514e-05/0.9367, allocations: 93 kB / 0.5901 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.9367, allocations: 7.844 kB / 0.5901 GB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.9368, allocations: 15.98 kB / 0.5901 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.7e-05/0.9368, allocations: 7.984 kB / 0.5902 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.9369, allocations: 4 kB / 0.5902 GB, free: 14.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.857e-05/0.9369, allocations: 107.3 kB / 0.5903 GB, free: 14.01 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008457/0.9378, allocations: 32 kB / 0.5903 GB, free: 13.98 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.0006633/0.9385, allocations: 345 kB / 0.5906 GB, free: 13.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000132/0.9386, allocations: 55.92 kB / 0.5907 GB, free: 13.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.9386, allocations: 3.938 kB / 0.5907 GB, free: 13.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.72e-05/0.9387, allocations: 27.98 kB / 0.5907 GB, free: 13.63 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.9389, allocations: 16.72 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.0003409/0.9392, allocations: 131.4 kB / 0.5908 GB, free: 13.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003384/0.9396, allocations: 0.727 MB / 0.5916 GB, free: 12.71 MB / 410.7 MB Notification: Performance of SimCode: time 2.9e-07/0.9396, allocations: 0 / 0.5916 GB, free: 12.71 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test14_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test14.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat does not exist to compare? outputFormat=mat