Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",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.00113/0.00113, allocations: 185.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.295/1.295, allocations: 221.4 MB / 230.3 MB, free: 7.656 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.0009457/0.0009457, allocations: 92.66 kB / 281.2 MB, free: 5.441 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.1776/0.1776, allocations: 44.15 MB / 376.1 MB, free: 3.211 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1995/0.3771, allocations: 68.04 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.4813, allocations: 61.9 MB / 0.4942 GB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2979/0.7793, allocations: 88.24 MB / 0.5803 GB, free: 8.465 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.7796, allocations: 70.14 kB / 0.5804 GB, free: 8.402 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.01253/0.7921, allocations: 4.215 MB / 0.5845 GB, free: 4.156 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.7922, allocations: 11.94 kB / 0.5845 GB, free: 4.145 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.059e-05/0.7923, allocations: 11.89 kB / 0.5845 GB, free: 4.133 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.7926, allocations: 195.5 kB / 0.5847 GB, free: 3.898 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.534e-06/0.7926, allocations: 7.938 kB / 0.5847 GB, free: 3.891 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.7926, allocations: 0 / 0.5847 GB, free: 3.891 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001138/0.7927, allocations: 28 kB / 0.5848 GB, free: 3.863 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.7929, allocations: 75.3 kB / 0.5848 GB, free: 3.777 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.7929, allocations: 0 / 0.5848 GB, free: 3.777 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.7929, allocations: 0 / 0.5848 GB, free: 3.777 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.7929, allocations: 0 / 0.5848 GB, free: 3.777 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005931/0.7935, allocations: 333.2 kB / 0.5852 GB, free: 3.414 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.439e-05/0.7936, allocations: 37.7 kB / 0.5852 GB, free: 3.371 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.32e-05/0.7937, allocations: 24.98 kB / 0.5852 GB, free: 3.344 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.7937, allocations: 4 kB / 0.5852 GB, free: 3.34 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.7938, allocations: 34.55 kB / 0.5853 GB, free: 3.297 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.323e-06/0.7938, allocations: 3.828 kB / 0.5853 GB, free: 3.297 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009389/0.7947, allocations: 257.1 kB / 0.5855 GB, free: 3.039 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.605e-05/0.7948, allocations: 81.11 kB / 0.5856 GB, free: 2.941 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.795, allocations: 137 kB / 0.5857 GB, free: 2.797 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.795, allocations: 25.7 kB / 0.5857 GB, free: 2.766 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.175e-05/0.7951, allocations: 92.22 kB / 0.5858 GB, free: 2.672 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.219e-05/0.7951, allocations: 28.3 kB / 0.5859 GB, free: 2.645 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.724e-06/0.7951, allocations: 4 kB / 0.5859 GB, free: 2.641 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.7953, allocations: 322.8 kB / 0.5862 GB, free: 2.316 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.956e-05/0.7954, allocations: 32 kB / 0.5862 GB, free: 2.285 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.566e-05/0.7955, allocations: 57.67 kB / 0.5863 GB, free: 2.223 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.792e-05/0.7956, allocations: 27.98 kB / 0.5863 GB, free: 2.195 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.7956, allocations: 0 / 0.5863 GB, free: 2.195 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002236/0.7958, allocations: 113.6 kB / 0.5864 GB, free: 2.078 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.7958, allocations: 13.02 kB / 0.5864 GB, free: 2.066 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.7958, allocations: 0 / 0.5864 GB, free: 2.066 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.7959, allocations: 0 / 0.5864 GB, free: 2.066 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00027/0.7962, allocations: 56 kB / 0.5865 GB, free: 2.012 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.7962, allocations: 7.891 kB / 0.5865 GB, free: 2.004 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.7964, allocations: 35.97 kB / 0.5865 GB, free: 1.969 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.7964, allocations: 4 kB / 0.5865 GB, free: 1.965 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 (10): * Single equations (assignments): 10 * 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 8.536e-05/0.7965, allocations: 101 kB / 0.5866 GB, free: 1.859 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.743e-05/0.7965, allocations: 11.91 kB / 0.5866 GB, free: 1.848 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002658/0.7968, allocations: 134 kB / 0.5867 GB, free: 1.711 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.7968, allocations: 4 kB / 0.5867 GB, free: 1.707 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.7968, allocations: 0 / 0.5867 GB, free: 1.707 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.7968, allocations: 0 / 0.5867 GB, free: 1.707 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000495/0.7973, allocations: 407 kB / 0.5871 GB, free: 1.266 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.7974, allocations: 480 / 0.5871 GB, free: 1.266 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002172/0.7976, allocations: 55.89 kB / 0.5872 GB, free: 1.211 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.7976, allocations: 0 / 0.5872 GB, free: 1.211 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.7976, allocations: 0 / 0.5872 GB, free: 1.211 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.7976, allocations: 11.94 kB / 0.5872 GB, free: 1.199 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.7976, allocations: 7.922 kB / 0.5872 GB, free: 1.191 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002439/0.7979, allocations: 203.3 kB / 0.5874 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002969/0.7982, allocations: 0.574 MB / 0.588 GB, free: 392 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.185e-05/0.7982, allocations: 89.02 kB / 0.588 GB, free: 284 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.7983, allocations: 4.188 kB / 0.588 GB, free: 280 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.7985, allocations: 43.95 kB / 0.5881 GB, free: 236 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.991e-05/0.7986, allocations: 15.83 kB / 0.5881 GB, free: 220 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.649e-06/0.7986, allocations: 4 kB / 0.5881 GB, free: 216 kB / 394.7 MB Notification: Performance of sort global known variables: time 8.84e-05/0.7987, allocations: 111.8 kB / 0.5882 GB, free: 104 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.001008/0.7997, allocations: 43.94 kB / 0.5882 GB, free: 60 kB / 394.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 (9): * Single equations (assignments): 9 * 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.0007988/0.8005, allocations: 347.5 kB / 0.5886 GB, free: 15.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002103/0.8007, allocations: 79.92 kB / 0.5887 GB, free: 15.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8008, allocations: 0 / 0.5887 GB, free: 15.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.936e-05/0.8008, allocations: 43.94 kB / 0.5887 GB, free: 15.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.8011, allocations: 15.98 kB / 0.5887 GB, free: 15.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004498/0.8016, allocations: 155.8 kB / 0.5889 GB, free: 15.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003224/0.8019, allocations: 0.7305 MB / 0.5896 GB, free: 14.73 MB / 410.7 MB Notification: Performance of SimCode: time 2.81e-07/0.8019, allocations: 0 / 0.5896 GB, free: 14.73 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat does not exist to compare? outputFormat=mat