Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.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.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test24",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.0009663/0.000966, allocations: 174.8 kB / 8.518 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.34/1.34, allocations: 221.4 MB / 230.3 MB, free: 7.703 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.001161/0.001162, allocations: 91.22 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.217/0.217, allocations: 44.15 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2663/0.4834, allocations: 68.04 MB / 444.1 MB, free: 15.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.6242, allocations: 61.91 MB / 0.4942 GB, free: 1.535 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3782/1.002, allocations: 87.48 MB / 0.5796 GB, free: 9.262 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002135/1.003, allocations: 67.97 kB / 0.5797 GB, free: 9.195 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.01605/1.019, allocations: 6.32 MB / 0.5858 GB, free: 2.848 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/1.019, allocations: 15.94 kB / 0.5859 GB, free: 2.832 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.734e-05/1.019, allocations: 3.906 kB / 0.5859 GB, free: 2.828 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/1.019, allocations: 187 kB / 0.586 GB, free: 2.605 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.195e-06/1.019, allocations: 3.938 kB / 0.586 GB, free: 2.602 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/1.019, allocations: 0 / 0.586 GB, free: 2.602 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.087e-05/1.019, allocations: 12 kB / 0.5861 GB, free: 2.59 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.227e-05/1.019, allocations: 55.31 kB / 0.5861 GB, free: 2.523 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/1.019, allocations: 0 / 0.5861 GB, free: 2.523 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/1.019, allocations: 8 kB / 0.5861 GB, free: 2.516 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/1.019, allocations: 4 kB / 0.5861 GB, free: 2.512 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002973/1.02, allocations: 257.4 kB / 0.5864 GB, free: 2.223 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/1.02, allocations: 33.64 kB / 0.5864 GB, free: 2.184 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.529e-05/1.02, allocations: 8.859 kB / 0.5864 GB, free: 2.172 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/1.02, allocations: 0 / 0.5864 GB, free: 2.172 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/1.02, allocations: 38.64 kB / 0.5864 GB, free: 2.125 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/1.02, allocations: 4 kB / 0.5865 GB, free: 2.121 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003713/1.02, allocations: 89.42 kB / 0.5865 GB, free: 2.027 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/1.02, allocations: 85.02 kB / 0.5866 GB, free: 1.926 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/1.02, allocations: 118.2 kB / 0.5867 GB, free: 1.805 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/1.02, allocations: 29.7 kB / 0.5868 GB, free: 1.77 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.088e-05/1.02, allocations: 88.14 kB / 0.5868 GB, free: 1.68 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/1.02, allocations: 19.73 kB / 0.5869 GB, free: 1.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/1.02, allocations: 3.938 kB / 0.5869 GB, free: 1.656 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.276e-05/1.021, allocations: 314.8 kB / 0.5872 GB, free: 1.34 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.05e-05/1.021, allocations: 8 kB / 0.5872 GB, free: 1.332 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.798e-05/1.021, allocations: 25.7 kB / 0.5872 GB, free: 1.301 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.409e-05/1.021, allocations: 8 kB / 0.5872 GB, free: 1.293 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-07/1.021, allocations: 4.031 kB / 0.5872 GB, free: 1.289 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.943e-05/1.021, allocations: 57.59 kB / 0.5873 GB, free: 1.227 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/1.021, allocations: 4 kB / 0.5873 GB, free: 1.223 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/1.021, allocations: 0 / 0.5873 GB, free: 1.223 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/1.021, allocations: 7.906 kB / 0.5873 GB, free: 1.215 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.462e-05/1.021, allocations: 15.94 kB / 0.5873 GB, free: 1.199 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/1.021, allocations: 0 / 0.5873 GB, free: 1.199 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.937e-05/1.021, allocations: 15.92 kB / 0.5873 GB, free: 1.184 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/1.021, allocations: 7.984 kB / 0.5873 GB, free: 1.176 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 (5): * Single equations (assignments): 5 * 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 6.08e-05/1.021, allocations: 105 kB / 0.5874 GB, free: 1.066 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.335e-05/1.021, allocations: 7.906 kB / 0.5874 GB, free: 1.059 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001389/1.021, allocations: 65.73 kB / 0.5875 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/1.021, allocations: 0 / 0.5875 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/1.021, allocations: 0 / 0.5875 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/1.021, allocations: 0 / 0.5875 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000258/1.021, allocations: 307 kB / 0.5878 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/1.022, allocations: 4.375 kB / 0.5878 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.209e-05/1.022, allocations: 8 kB / 0.5878 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/1.022, allocations: 8 kB / 0.5878 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/1.022, allocations: 0 / 0.5878 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/1.022, allocations: 3.984 kB / 0.5878 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/1.022, allocations: 3.906 kB / 0.5878 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000115/1.022, allocations: 155.4 kB / 0.588 GB, free: 456 kB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002442/1.022, allocations: 0.5274 MB / 0.5885 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.636e-05/1.022, allocations: 85.02 kB / 0.5885 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/1.022, allocations: 0 / 0.5885 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.63e-05/1.022, allocations: 15.98 kB / 0.5886 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/1.022, allocations: 0 / 0.5886 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/1.022, allocations: 4 kB / 0.5886 GB, free: 15.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.256e-05/1.022, allocations: 106.8 kB / 0.5887 GB, free: 15.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008171/1.023, allocations: 35.84 kB / 0.5887 GB, free: 15.64 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 (5): * Single equations (assignments): 5 * 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.0006399/1.024, allocations: 343.8 kB / 0.589 GB, free: 15.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.444e-05/1.024, allocations: 27.98 kB / 0.5891 GB, free: 15.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/1.024, allocations: 0 / 0.5891 GB, free: 15.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.859e-05/1.024, allocations: 16 kB / 0.5891 GB, free: 15.33 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/1.024, allocations: 10.19 kB / 0.5891 GB, free: 15.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002592/1.024, allocations: 99.75 kB / 0.5892 GB, free: 15.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002521/1.025, allocations: 0.7075 MB / 0.5899 GB, free: 14.46 MB / 410.7 MB Notification: Performance of SimCode: time 3.01e-07/1.025, allocations: 0 / 0.5899 GB, free: 14.46 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test24_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat does not exist to compare? outputFormat=mat