Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.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.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test28",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.0009761/0.0009761, allocations: 173.8 kB / 8.515 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.254/1.254, allocations: 221.4 MB / 230.3 MB, free: 7.789 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.0009669/0.000967, allocations: 95.59 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.1919/0.1919, allocations: 44.15 MB / 376.1 MB, free: 3.242 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2585/0.4505, allocations: 68.03 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.5816, allocations: 61.91 MB / 0.4942 GB, free: 1.535 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3649/0.9466, allocations: 87.75 MB / 0.5799 GB, free: 8.977 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/0.9469, allocations: 75.95 kB / 0.5799 GB, free: 8.902 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.01226/0.9592, allocations: 4.653 MB / 0.5845 GB, free: 4.203 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.9592, allocations: 11.94 kB / 0.5845 GB, free: 4.191 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.704e-05/0.9593, allocations: 11.91 kB / 0.5845 GB, free: 4.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/0.9595, allocations: 206.4 kB / 0.5847 GB, free: 3.941 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.9596, allocations: 4 kB / 0.5847 GB, free: 3.938 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.9596, allocations: 0 / 0.5847 GB, free: 3.938 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.551e-05/0.9597, allocations: 20 kB / 0.5847 GB, free: 3.918 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.128e-05/0.9598, allocations: 45.69 kB / 0.5848 GB, free: 3.867 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.9598, allocations: 0 / 0.5848 GB, free: 3.867 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.9598, allocations: 0 / 0.5848 GB, free: 3.867 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.9598, allocations: 0 / 0.5848 GB, free: 3.867 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003966/0.9602, allocations: 297.2 kB / 0.5851 GB, free: 3.539 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.9604, allocations: 33.7 kB / 0.5851 GB, free: 3.5 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.407e-05/0.9604, allocations: 12.98 kB / 0.5851 GB, free: 3.484 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.9605, allocations: 0 / 0.5851 GB, free: 3.484 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.9605, allocations: 34.56 kB / 0.5851 GB, free: 3.441 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 2.635e-06/0.9605, allocations: 4 kB / 0.5851 GB, free: 3.438 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006149/0.9611, allocations: 201 kB / 0.5853 GB, free: 3.238 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.259e-05/0.9612, allocations: 56.16 kB / 0.5854 GB, free: 3.172 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.9613, allocations: 165.3 kB / 0.5855 GB, free: 3.004 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.9614, allocations: 25.7 kB / 0.5856 GB, free: 2.973 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.73e-05/0.9614, allocations: 100 kB / 0.5857 GB, free: 2.871 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.9614, allocations: 35.48 kB / 0.5857 GB, free: 2.836 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.65e-06/0.9615, allocations: 0 / 0.5857 GB, free: 2.836 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.215e-05/0.9615, allocations: 326.7 kB / 0.586 GB, free: 2.508 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.311e-05/0.9616, allocations: 24 kB / 0.586 GB, free: 2.484 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.592e-05/0.9616, allocations: 25.19 kB / 0.5861 GB, free: 2.461 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.273e-05/0.9617, allocations: 35.92 kB / 0.5861 GB, free: 2.426 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.72e-07/0.9617, allocations: 0 / 0.5861 GB, free: 2.426 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001546/0.9619, allocations: 97.53 kB / 0.5862 GB, free: 2.324 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.9619, allocations: 8 kB / 0.5862 GB, free: 2.316 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.9619, allocations: 0 / 0.5862 GB, free: 2.316 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.9619, allocations: 0 / 0.5862 GB, free: 2.316 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.962, allocations: 27.98 kB / 0.5862 GB, free: 2.289 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.9621, allocations: 11.89 kB / 0.5862 GB, free: 2.277 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.447e-05/0.9621, allocations: 12 kB / 0.5862 GB, free: 2.266 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.9621, allocations: 0 / 0.5862 GB, free: 2.266 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 7.056e-05/0.9622, allocations: 108.9 kB / 0.5863 GB, free: 2.152 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.185e-05/0.9623, allocations: 15.8 kB / 0.5864 GB, free: 2.137 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002262/0.9625, allocations: 126.2 kB / 0.5865 GB, free: 2.008 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.9625, allocations: 0 / 0.5865 GB, free: 2.008 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.9625, allocations: 0 / 0.5865 GB, free: 2.008 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.9625, allocations: 3.984 kB / 0.5865 GB, free: 2.004 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004589/0.963, allocations: 412.5 kB / 0.5869 GB, free: 1.551 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.963, allocations: 448 / 0.5869 GB, free: 1.551 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.9632, allocations: 39.97 kB / 0.5869 GB, free: 1.512 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.9632, allocations: 4 kB / 0.5869 GB, free: 1.508 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.9632, allocations: 11.89 kB / 0.5869 GB, free: 1.496 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.9632, allocations: 0 / 0.5869 GB, free: 1.496 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.9632, allocations: 4 kB / 0.5869 GB, free: 1.492 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002165/0.9634, allocations: 226.5 kB / 0.5871 GB, free: 1.238 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003309/0.9638, allocations: 0.6063 MB / 0.5877 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.156e-05/0.9638, allocations: 92.91 kB / 0.5878 GB, free: 496 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.9639, allocations: 7.938 kB / 0.5878 GB, free: 488 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.964, allocations: 19.98 kB / 0.5879 GB, free: 468 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.9641, allocations: 11.98 kB / 0.5879 GB, free: 456 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.9641, allocations: 0 / 0.5879 GB, free: 456 kB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001094/0.9642, allocations: 136.1 kB / 0.588 GB, free: 320 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008971/0.9651, allocations: 43.94 kB / 0.588 GB, free: 276 kB / 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.0007528/0.9658, allocations: 340.2 kB / 0.5884 GB, free: 8 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001774/0.966, allocations: 64.02 kB / 0.5884 GB, free: 15.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.966, allocations: 0 / 0.5884 GB, free: 15.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.045e-05/0.9661, allocations: 43.92 kB / 0.5885 GB, free: 15.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.9663, allocations: 14.03 kB / 0.5885 GB, free: 15.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004476/0.9668, allocations: 201.1 kB / 0.5887 GB, free: 15.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003482/0.9672, allocations: 0.7311 MB / 0.5894 GB, free: 14.9 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.9672, allocations: 0 / 0.5894 GB, free: 14.9 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test28_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat does not exist to compare? outputFormat=mat