Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_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.001/0.001, allocations: 174.9 kB / 8.518 MB, free: 1.852 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.233/1.233, allocations: 221.4 MB / 230.3 MB, free: 7.691 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.0009838/0.0009838, allocations: 87.61 kB / 281.2 MB, free: 5.508 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.1797/0.1797, allocations: 44.15 MB / 376.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.275/0.4548, allocations: 68.03 MB / 444.1 MB, free: 15.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.5938, allocations: 61.91 MB / 0.4942 GB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3883/0.9821, allocations: 87.97 MB / 0.5801 GB, free: 8.848 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003294/0.9825, allocations: 72.61 kB / 0.5802 GB, free: 8.777 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.01856/1.001, allocations: 6.521 MB / 0.5865 GB, free: 2.223 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/1.001, allocations: 15.94 kB / 0.5865 GB, free: 2.207 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.685e-05/1.001, allocations: 7.906 kB / 0.5865 GB, free: 2.199 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/1.002, allocations: 190.8 kB / 0.5867 GB, free: 1.973 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/1.002, allocations: 7.906 kB / 0.5867 GB, free: 1.965 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.97e-05/1.002, allocations: 0 / 0.5867 GB, free: 1.965 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.172e-05/1.002, allocations: 20 kB / 0.5868 GB, free: 1.945 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/1.002, allocations: 51.41 kB / 0.5868 GB, free: 1.883 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/1.002, allocations: 0 / 0.5868 GB, free: 1.883 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/1.002, allocations: 0 / 0.5868 GB, free: 1.883 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/1.002, allocations: 8 kB / 0.5868 GB, free: 1.875 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003824/1.002, allocations: 269.3 kB / 0.5871 GB, free: 1.574 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.33e-05/1.002, allocations: 30.58 kB / 0.5871 GB, free: 1.535 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.042e-05/1.002, allocations: 12.86 kB / 0.5871 GB, free: 1.52 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/1.002, allocations: 0 / 0.5871 GB, free: 1.52 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/1.002, allocations: 34.56 kB / 0.5871 GB, free: 1.477 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/1.002, allocations: 4 kB / 0.5871 GB, free: 1.473 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004969/1.003, allocations: 133.3 kB / 0.5873 GB, free: 1.336 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/1.003, allocations: 85.11 kB / 0.5874 GB, free: 1.234 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/1.003, allocations: 128.3 kB / 0.5875 GB, free: 1.102 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/1.003, allocations: 25.7 kB / 0.5875 GB, free: 1.07 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.8e-05/1.003, allocations: 84.14 kB / 0.5876 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/1.003, allocations: 23.7 kB / 0.5876 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/1.003, allocations: 0 / 0.5876 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001547/1.003, allocations: 318.8 kB / 0.5879 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.12e-05/1.003, allocations: 12 kB / 0.5879 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.15e-05/1.003, allocations: 37.78 kB / 0.588 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.266e-05/1.003, allocations: 12 kB / 0.588 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.003, allocations: 3.906 kB / 0.588 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001196/1.004, allocations: 77.59 kB / 0.588 GB, free: 500 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/1.004, allocations: 4 kB / 0.588 GB, free: 496 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/1.004, allocations: 3.938 kB / 0.5881 GB, free: 492 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/1.004, allocations: 4 kB / 0.5881 GB, free: 488 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/1.004, allocations: 24.02 kB / 0.5881 GB, free: 464 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/1.004, allocations: 7.984 kB / 0.5881 GB, free: 456 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.388e-05/1.004, allocations: 11.94 kB / 0.5881 GB, free: 444 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/1.004, allocations: 4 kB / 0.5881 GB, free: 440 kB / 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 (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.977e-05/1.004, allocations: 105 kB / 0.5882 GB, free: 328 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.56e-05/1.004, allocations: 11.89 kB / 0.5882 GB, free: 316 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001699/1.004, allocations: 90.02 kB / 0.5883 GB, free: 220 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/1.004, allocations: 0 / 0.5883 GB, free: 220 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/1.004, allocations: 3.938 kB / 0.5883 GB, free: 216 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/1.004, allocations: 0 / 0.5883 GB, free: 216 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003405/1.005, allocations: 323 kB / 0.5886 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/1.005, allocations: 4 kB / 0.5886 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.856e-05/1.005, allocations: 23.98 kB / 0.5886 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/1.005, allocations: 0 / 0.5886 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/1.005, allocations: 4 kB / 0.5886 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/1.005, allocations: 4.391 kB / 0.5886 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.005, allocations: 4.078 kB / 0.5886 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000156/1.005, allocations: 175.4 kB / 0.5888 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002756/1.005, allocations: 0.539 MB / 0.5893 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.275e-05/1.005, allocations: 93 kB / 0.5894 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/1.005, allocations: 3.984 kB / 0.5894 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/1.005, allocations: 16 kB / 0.5895 GB, free: 14.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.587e-05/1.005, allocations: 3.984 kB / 0.5895 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/1.005, allocations: 4 kB / 0.5895 GB, free: 14.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.522e-05/1.006, allocations: 103.3 kB / 0.5896 GB, free: 14.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008374/1.006, allocations: 43.89 kB / 0.5896 GB, free: 14.79 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.000781/1.007, allocations: 347.6 kB / 0.5899 GB, free: 14.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001327/1.007, allocations: 44.14 kB / 0.59 GB, free: 14.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.007, allocations: 0 / 0.59 GB, free: 14.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.426e-05/1.007, allocations: 28.09 kB / 0.59 GB, free: 14.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/1.008, allocations: 8.953 kB / 0.59 GB, free: 14.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003365/1.008, allocations: 115.5 kB / 0.5901 GB, free: 14.31 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003467/1.008, allocations: 0.7153 MB / 0.5908 GB, free: 13.57 MB / 410.7 MB Notification: Performance of SimCode: time 2.81e-07/1.008, allocations: 0 / 0.5908 GB, free: 13.57 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test14_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test14.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14_res.mat does not exist to compare? outputFormat=mat