Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21",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.001016/0.001016, allocations: 183.9 kB / 8.523 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.271/1.271, allocations: 221.4 MB / 230.3 MB, free: 3.23 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.001037/0.001036, allocations: 86.77 kB / 281.2 MB, free: 1.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4069/0.4069, allocations: 44.14 MB / 376.1 MB, free: 43.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1524/0.5593, allocations: 68.04 MB / 444.1 MB, free: 11.55 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3935/0.9529, allocations: 61.89 MB / 0.4942 GB, free: 42.46 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1234/1.076, allocations: 87.48 MB / 0.5796 GB, free: 13.84 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/1.077, allocations: 71.97 kB / 0.5797 GB, free: 13.77 MB / 410.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.01686/1.093, allocations: 6.325 MB / 0.5858 GB, free: 7.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/1.094, allocations: 8 kB / 0.5859 GB, free: 7.422 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.073e-05/1.094, allocations: 7.906 kB / 0.5859 GB, free: 7.414 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/1.094, allocations: 190.9 kB / 0.586 GB, free: 7.188 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/1.094, allocations: 7.938 kB / 0.5861 GB, free: 7.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/1.094, allocations: 0 / 0.5861 GB, free: 7.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.193e-05/1.094, allocations: 16 kB / 0.5861 GB, free: 7.164 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.707e-05/1.094, allocations: 55.31 kB / 0.5861 GB, free: 7.098 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/1.094, allocations: 0 / 0.5861 GB, free: 7.098 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/1.094, allocations: 0 / 0.5861 GB, free: 7.098 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/1.094, allocations: 4 kB / 0.5861 GB, free: 7.094 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003319/1.094, allocations: 253.4 kB / 0.5864 GB, free: 6.809 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/1.095, allocations: 33.66 kB / 0.5864 GB, free: 6.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.895e-05/1.095, allocations: 8.859 kB / 0.5864 GB, free: 6.758 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/1.095, allocations: 0 / 0.5864 GB, free: 6.758 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/1.095, allocations: 34.64 kB / 0.5864 GB, free: 6.715 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/1.095, allocations: 0 / 0.5864 GB, free: 6.715 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003964/1.095, allocations: 97.42 kB / 0.5865 GB, free: 6.613 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.375e-05/1.095, allocations: 85.02 kB / 0.5866 GB, free: 6.512 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/1.095, allocations: 117 kB / 0.5867 GB, free: 6.391 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/1.095, allocations: 25.7 kB / 0.5867 GB, free: 6.359 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.085e-05/1.095, allocations: 84.14 kB / 0.5868 GB, free: 6.273 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/1.095, allocations: 19.73 kB / 0.5868 GB, free: 6.254 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-06/1.095, allocations: 7.938 kB / 0.5869 GB, free: 6.246 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/1.096, allocations: 314.8 kB / 0.5872 GB, free: 5.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.899e-05/1.096, allocations: 8 kB / 0.5872 GB, free: 5.922 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.211e-05/1.096, allocations: 29.77 kB / 0.5872 GB, free: 5.887 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.718e-05/1.096, allocations: 8.125 kB / 0.5872 GB, free: 5.879 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-07/1.096, allocations: 0 / 0.5872 GB, free: 5.879 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.197e-05/1.096, allocations: 61.59 kB / 0.5873 GB, free: 5.812 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/1.096, allocations: 6.031 kB / 0.5873 GB, free: 5.809 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/1.096, allocations: 0 / 0.5873 GB, free: 5.809 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/1.096, allocations: 7.906 kB / 0.5873 GB, free: 5.801 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.468e-05/1.096, allocations: 15.97 kB / 0.5873 GB, free: 5.785 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/1.096, allocations: 4 kB / 0.5873 GB, free: 5.781 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.711e-05/1.096, allocations: 7.984 kB / 0.5873 GB, free: 5.773 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/1.096, allocations: 0 / 0.5873 GB, free: 5.773 MB / 410.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 7.483e-05/1.096, allocations: 109.9 kB / 0.5874 GB, free: 5.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/1.096, allocations: 7.906 kB / 0.5874 GB, free: 5.652 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000148/1.096, allocations: 69.72 kB / 0.5875 GB, free: 5.578 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/1.096, allocations: 4 kB / 0.5875 GB, free: 5.574 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/1.096, allocations: 0 / 0.5875 GB, free: 5.574 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/1.096, allocations: 0 / 0.5875 GB, free: 5.574 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003018/1.097, allocations: 307 kB / 0.5878 GB, free: 5.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/1.097, allocations: 0 / 0.5878 GB, free: 5.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.669e-05/1.097, allocations: 12 kB / 0.5878 GB, free: 5.219 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/1.097, allocations: 7.938 kB / 0.5878 GB, free: 5.211 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/1.097, allocations: 4 kB / 0.5878 GB, free: 5.207 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/1.097, allocations: 3.984 kB / 0.5878 GB, free: 5.203 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.097, allocations: 3.906 kB / 0.5878 GB, free: 5.199 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001324/1.097, allocations: 155.6 kB / 0.588 GB, free: 5.031 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002882/1.097, allocations: 0.5313 MB / 0.5885 GB, free: 4.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.591e-05/1.097, allocations: 85.02 kB / 0.5886 GB, free: 4.379 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/1.097, allocations: 0 / 0.5886 GB, free: 4.379 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/1.097, allocations: 11.98 kB / 0.5886 GB, free: 4.367 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.289e-05/1.097, allocations: 0 / 0.5886 GB, free: 4.367 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/1.097, allocations: 0 / 0.5886 GB, free: 4.367 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.259e-05/1.097, allocations: 107.8 kB / 0.5887 GB, free: 4.262 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008923/1.098, allocations: 35.84 kB / 0.5887 GB, free: 4.227 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.0007459/1.099, allocations: 345.2 kB / 0.589 GB, free: 3.977 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001042/1.099, allocations: 27.98 kB / 0.5891 GB, free: 3.949 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.099, allocations: 4 kB / 0.5891 GB, free: 3.945 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.842e-05/1.099, allocations: 15.94 kB / 0.5891 GB, free: 3.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/1.1, allocations: 15.98 kB / 0.5891 GB, free: 3.914 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003089/1.1, allocations: 96.97 kB / 0.5892 GB, free: 3.793 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003322/1.1, allocations: 0.7036 MB / 0.5899 GB, free: 3.062 MB / 410.7 MB Notification: Performance of SimCode: time 3.01e-07/1.1, allocations: 0 / 0.5899 GB, free: 3.062 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat does not exist to compare? outputFormat=mat