Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_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.001127/0.001127, allocations: 182.3 kB / 8.52 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.32/1.32, allocations: 221.4 MB / 230.3 MB, free: 7.648 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.0009125/0.0009125, allocations: 89.98 kB / 281.2 MB, free: 5.465 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.2141/0.2141, allocations: 44.15 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2618/0.4759, allocations: 68.03 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.6196, allocations: 61.91 MB / 0.4942 GB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3456/0.9653, allocations: 87.79 MB / 0.5799 GB, free: 8.949 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/0.9657, allocations: 71.97 kB / 0.58 GB, free: 8.879 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.01169/0.9774, allocations: 4.116 MB / 0.584 GB, free: 4.723 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.9774, allocations: 11.94 kB / 0.584 GB, free: 4.711 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.675e-05/0.9775, allocations: 11.91 kB / 0.584 GB, free: 4.699 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002987/0.9778, allocations: 190.9 kB / 0.5842 GB, free: 4.473 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.9778, allocations: 6.844 kB / 0.5842 GB, free: 4.469 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.9779, allocations: 0 / 0.5842 GB, free: 4.469 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001044/0.978, allocations: 20 kB / 0.5842 GB, free: 4.449 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.9781, allocations: 67.39 kB / 0.5843 GB, free: 4.371 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.9781, allocations: 11.84 kB / 0.5843 GB, free: 4.359 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.9782, allocations: 0 / 0.5843 GB, free: 4.359 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.9782, allocations: 0 / 0.5843 GB, free: 4.359 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004624/0.9787, allocations: 277.3 kB / 0.5846 GB, free: 4.051 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.326e-05/0.9788, allocations: 33.72 kB / 0.5846 GB, free: 4.012 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.09e-05/0.9788, allocations: 20.98 kB / 0.5846 GB, free: 3.988 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.9789, allocations: 0 / 0.5846 GB, free: 3.988 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.9789, allocations: 38.5 kB / 0.5847 GB, free: 3.941 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.9789, allocations: 0 / 0.5847 GB, free: 3.941 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008546/0.9798, allocations: 225.2 kB / 0.5849 GB, free: 3.715 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.9798, allocations: 85.11 kB / 0.585 GB, free: 3.613 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.98, allocations: 133.4 kB / 0.5851 GB, free: 3.473 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.98, allocations: 29.7 kB / 0.5851 GB, free: 3.438 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.619e-05/0.9801, allocations: 88.31 kB / 0.5852 GB, free: 3.348 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/0.9801, allocations: 31.55 kB / 0.5852 GB, free: 3.316 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.9801, allocations: 0 / 0.5852 GB, free: 3.316 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.9802, allocations: 322.8 kB / 0.5855 GB, free: 2.992 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.139e-05/0.9803, allocations: 20 kB / 0.5856 GB, free: 2.973 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.073e-05/0.9804, allocations: 42.47 kB / 0.5856 GB, free: 2.926 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.681e-05/0.9804, allocations: 32.11 kB / 0.5856 GB, free: 2.895 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.9804, allocations: 0 / 0.5856 GB, free: 2.895 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000177/0.9806, allocations: 93.36 kB / 0.5857 GB, free: 2.801 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.9806, allocations: 4 kB / 0.5857 GB, free: 2.797 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.9807, allocations: 4 kB / 0.5857 GB, free: 2.793 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.9807, allocations: 0 / 0.5857 GB, free: 2.793 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/0.9809, allocations: 52.17 kB / 0.5858 GB, free: 2.742 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.981, allocations: 4 kB / 0.5858 GB, free: 2.738 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.9812, allocations: 47.97 kB / 0.5858 GB, free: 2.691 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.9812, allocations: 4 kB / 0.5858 GB, free: 2.688 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 9.66e-05/0.9813, allocations: 108.8 kB / 0.5859 GB, free: 2.574 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.9813, allocations: 7.906 kB / 0.5859 GB, free: 2.566 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002405/0.9816, allocations: 102.1 kB / 0.586 GB, free: 2.461 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.9816, allocations: 4 kB / 0.586 GB, free: 2.457 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.9816, allocations: 0 / 0.586 GB, free: 2.457 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.9816, allocations: 3.938 kB / 0.586 GB, free: 2.453 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005189/0.9821, allocations: 374.8 kB / 0.5864 GB, free: 2.039 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.9822, allocations: 0 / 0.5864 GB, free: 2.039 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002238/0.9824, allocations: 51.95 kB / 0.5864 GB, free: 1.988 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.9824, allocations: 4 kB / 0.5864 GB, free: 1.984 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.9824, allocations: 0 / 0.5864 GB, free: 1.984 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.9824, allocations: 0 / 0.5864 GB, free: 1.984 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.9824, allocations: 0 / 0.5864 GB, free: 1.984 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002214/0.9827, allocations: 199.5 kB / 0.5866 GB, free: 1.773 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003273/0.983, allocations: 0.5506 MB / 0.5872 GB, free: 1.203 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.976e-05/0.9831, allocations: 100.9 kB / 0.5873 GB, free: 1.086 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.687e-05/0.9831, allocations: 0 / 0.5873 GB, free: 1.086 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.9833, allocations: 39.97 kB / 0.5873 GB, free: 1.047 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.38e-05/0.9834, allocations: 15.97 kB / 0.5873 GB, free: 1.031 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.9834, allocations: 4 kB / 0.5873 GB, free: 1.027 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001099/0.9835, allocations: 112.1 kB / 0.5874 GB, free: 0.9219 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008918/0.9844, allocations: 47.88 kB / 0.5875 GB, free: 0.875 MB / 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.0008223/0.9853, allocations: 350.1 kB / 0.5878 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001887/0.9855, allocations: 60 kB / 0.5879 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.9855, allocations: 0 / 0.5879 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.343e-05/0.9856, allocations: 39.92 kB / 0.5879 GB, free: 0.5156 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.9858, allocations: 12.72 kB / 0.5879 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004264/0.9862, allocations: 139.8 kB / 0.5881 GB, free: 348 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004977/0.9867, allocations: 0.7231 MB / 0.5888 GB, free: 15.59 MB / 410.7 MB Notification: Performance of SimCode: time 2.81e-07/0.9868, allocations: 7.938 kB / 0.5888 GB, free: 15.58 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat does not exist to compare? outputFormat=mat