Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.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.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test27",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.001514/0.001514, allocations: 179 kB / 8.519 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.402/1.402, 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.0009101/0.0009102, allocations: 91.97 kB / 281.2 MB, free: 5.457 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.1914/0.1914, allocations: 44.15 MB / 376.1 MB, free: 3.227 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2365/0.4279, allocations: 68.04 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.6073, allocations: 61.9 MB / 0.4942 GB, free: 1.547 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4048/1.012, allocations: 88.21 MB / 0.5803 GB, free: 8.555 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003714/1.013, allocations: 66.72 kB / 0.5804 GB, free: 8.496 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.01388/1.027, allocations: 4.716 MB / 0.585 GB, free: 3.742 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.895e-05/1.027, allocations: 15.94 kB / 0.585 GB, free: 3.727 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.731e-05/1.027, allocations: 7.906 kB / 0.585 GB, free: 3.719 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003144/1.027, allocations: 207.4 kB / 0.5852 GB, free: 3.477 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/1.027, allocations: 0 / 0.5852 GB, free: 3.477 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/1.027, allocations: 4 kB / 0.5852 GB, free: 3.473 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001054/1.027, allocations: 27.98 kB / 0.5852 GB, free: 3.445 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/1.027, allocations: 49.62 kB / 0.5853 GB, free: 3.391 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/1.027, allocations: 4 kB / 0.5853 GB, free: 3.387 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/1.027, allocations: 0 / 0.5853 GB, free: 3.387 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/1.027, allocations: 0 / 0.5853 GB, free: 3.387 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006058/1.028, allocations: 309.2 kB / 0.5856 GB, free: 3.047 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/1.028, allocations: 41.73 kB / 0.5856 GB, free: 3 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.596e-05/1.028, allocations: 16.98 kB / 0.5856 GB, free: 2.98 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.181e-05/1.028, allocations: 3.828 kB / 0.5856 GB, free: 2.98 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/1.028, allocations: 30.56 kB / 0.5857 GB, free: 2.941 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 2.315e-06/1.028, allocations: 0 / 0.5857 GB, free: 2.941 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007818/1.029, allocations: 233.1 kB / 0.5859 GB, free: 2.707 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/1.029, allocations: 55.34 kB / 0.5859 GB, free: 2.641 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/1.029, allocations: 165.3 kB / 0.5861 GB, free: 2.473 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/1.029, allocations: 29.7 kB / 0.5861 GB, free: 2.438 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.068e-05/1.029, allocations: 96.03 kB / 0.5862 GB, free: 2.34 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.738e-05/1.03, allocations: 31.55 kB / 0.5862 GB, free: 2.309 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.602e-06/1.03, allocations: 0 / 0.5862 GB, free: 2.309 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001571/1.03, allocations: 326.7 kB / 0.5866 GB, free: 1.98 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.585e-05/1.03, allocations: 35.98 kB / 0.5866 GB, free: 1.945 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.304e-05/1.03, allocations: 37.25 kB / 0.5866 GB, free: 1.91 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.785e-05/1.03, allocations: 43.91 kB / 0.5867 GB, free: 1.867 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/1.03, allocations: 0 / 0.5867 GB, free: 1.867 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002305/1.03, allocations: 125.5 kB / 0.5868 GB, free: 1.738 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/1.03, allocations: 4 kB / 0.5868 GB, free: 1.734 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/1.03, allocations: 0 / 0.5868 GB, free: 1.734 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/1.03, allocations: 4 kB / 0.5868 GB, free: 1.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/1.03, allocations: 39.81 kB / 0.5868 GB, free: 1.691 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/1.03, allocations: 0 / 0.5868 GB, free: 1.691 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.58e-05/1.031, allocations: 20.36 kB / 0.5869 GB, free: 1.672 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/1.031, allocations: 0 / 0.5869 GB, free: 1.672 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 0.0001442/1.031, allocations: 105 kB / 0.587 GB, free: 1.562 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.86e-05/1.031, allocations: 11.81 kB / 0.587 GB, free: 1.551 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002965/1.031, allocations: 154.1 kB / 0.5871 GB, free: 1.395 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/1.031, allocations: 4 kB / 0.5871 GB, free: 1.391 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/1.031, allocations: 4 kB / 0.5871 GB, free: 1.387 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/1.031, allocations: 0 / 0.5871 GB, free: 1.387 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005713/1.032, allocations: 452.5 kB / 0.5876 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/1.032, allocations: 0 / 0.5876 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/1.032, allocations: 32.05 kB / 0.5876 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.44e-05/1.032, allocations: 7.906 kB / 0.5876 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/1.032, allocations: 3.938 kB / 0.5876 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/1.032, allocations: 0 / 0.5876 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/1.032, allocations: 4 kB / 0.5876 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003032/1.032, allocations: 252.4 kB / 0.5878 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00048/1.033, allocations: 0.6239 MB / 0.5884 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.538e-05/1.033, allocations: 100.9 kB / 0.5885 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/1.033, allocations: 0 / 0.5885 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/1.033, allocations: 15.98 kB / 0.5886 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.93e-05/1.033, allocations: 15.98 kB / 0.5886 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/1.033, allocations: 4 kB / 0.5886 GB, free: 15.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001331/1.033, allocations: 127.3 kB / 0.5887 GB, free: 15.63 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009538/1.034, allocations: 47.83 kB / 0.5887 GB, free: 15.58 MB / 410.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.0008786/1.035, allocations: 353.9 kB / 0.5891 GB, free: 15.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002123/1.035, allocations: 83.92 kB / 0.5892 GB, free: 15.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/1.035, allocations: 4 kB / 0.5892 GB, free: 15.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.482e-05/1.035, allocations: 47.92 kB / 0.5892 GB, free: 15.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/1.036, allocations: 21.39 kB / 0.5892 GB, free: 15.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005787/1.036, allocations: 221.1 kB / 0.5894 GB, free: 14.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005355/1.037, allocations: 0.7348 MB / 0.5902 GB, free: 14.16 MB / 410.7 MB Notification: Performance of SimCode: time 3.51e-07/1.037, allocations: 4 kB / 0.5902 GB, free: 14.15 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test27_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat does not exist to compare? outputFormat=mat