Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20",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.001037/0.001037, allocations: 184.3 kB / 8.523 MB, free: 1.84 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.259/1.259, allocations: 221.4 MB / 230.3 MB, free: 3.008 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.0009961/0.0009962, allocations: 85.11 kB / 281.2 MB, free: 1.223 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.4086/0.4086, allocations: 44.13 MB / 376.1 MB, free: 43.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.156/0.5647, allocations: 68.03 MB / 444.1 MB, free: 11.57 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.9574, allocations: 61.9 MB / 0.4942 GB, free: 42.34 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1265/1.084, allocations: 87.48 MB / 0.5796 GB, free: 13.79 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/1.084, allocations: 67.97 kB / 0.5797 GB, free: 13.73 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.0177/1.102, allocations: 6.323 MB / 0.5858 GB, free: 7.406 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/1.102, allocations: 12 kB / 0.5859 GB, free: 7.395 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.672e-05/1.102, allocations: 7.906 kB / 0.5859 GB, free: 7.387 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/1.102, allocations: 189.8 kB / 0.586 GB, free: 7.164 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/1.102, allocations: 0 / 0.586 GB, free: 7.164 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.277e-05/1.102, allocations: 4 kB / 0.586 GB, free: 7.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.928e-05/1.103, allocations: 8 kB / 0.5861 GB, free: 7.152 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/1.103, allocations: 63.31 kB / 0.5861 GB, free: 7.078 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/1.103, allocations: 0 / 0.5861 GB, free: 7.078 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/1.103, allocations: 0 / 0.5861 GB, free: 7.078 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/1.103, allocations: 0 / 0.5861 GB, free: 7.078 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000351/1.103, allocations: 257.3 kB / 0.5864 GB, free: 6.789 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/1.103, allocations: 33.64 kB / 0.5864 GB, free: 6.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.808e-05/1.103, allocations: 8.859 kB / 0.5864 GB, free: 6.738 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/1.103, allocations: 4 kB / 0.5864 GB, free: 6.734 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/1.103, allocations: 34.56 kB / 0.5864 GB, free: 6.691 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.412e-06/1.103, allocations: 0 / 0.5864 GB, free: 6.691 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004068/1.104, allocations: 97.5 kB / 0.5865 GB, free: 6.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/1.104, allocations: 81.02 kB / 0.5866 GB, free: 6.492 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/1.104, allocations: 125 kB / 0.5867 GB, free: 6.363 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/1.104, allocations: 25.7 kB / 0.5868 GB, free: 6.332 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.293e-05/1.104, allocations: 84.14 kB / 0.5868 GB, free: 6.246 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/1.104, allocations: 15.75 kB / 0.5868 GB, free: 6.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/1.104, allocations: 3.938 kB / 0.5869 GB, free: 6.227 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/1.104, allocations: 318.8 kB / 0.5872 GB, free: 5.906 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.45e-05/1.104, allocations: 12 kB / 0.5872 GB, free: 5.895 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.87e-05/1.104, allocations: 21.78 kB / 0.5872 GB, free: 5.867 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.04e-05/1.104, allocations: 20.02 kB / 0.5872 GB, free: 5.848 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/1.104, allocations: 0 / 0.5872 GB, free: 5.848 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001019/1.104, allocations: 53.55 kB / 0.5873 GB, free: 5.789 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/1.104, allocations: 8.781 kB / 0.5873 GB, free: 5.781 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/1.104, allocations: 0 / 0.5873 GB, free: 5.781 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/1.104, allocations: 3.906 kB / 0.5873 GB, free: 5.777 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.967e-05/1.105, allocations: 15.98 kB / 0.5873 GB, free: 5.762 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/1.105, allocations: 0 / 0.5873 GB, free: 5.762 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.161e-05/1.105, allocations: 15.98 kB / 0.5873 GB, free: 5.746 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/1.105, allocations: 4 kB / 0.5873 GB, free: 5.742 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.043e-05/1.105, allocations: 101.9 kB / 0.5874 GB, free: 5.637 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.72e-05/1.105, allocations: 7.906 kB / 0.5874 GB, free: 5.629 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001576/1.105, allocations: 63.23 kB / 0.5875 GB, free: 5.562 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/1.105, allocations: 3.938 kB / 0.5875 GB, free: 5.559 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/1.105, allocations: 0 / 0.5875 GB, free: 5.559 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/1.105, allocations: 7.984 kB / 0.5875 GB, free: 5.551 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002996/1.105, allocations: 299.1 kB / 0.5878 GB, free: 5.215 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/1.105, allocations: 144 / 0.5878 GB, free: 5.215 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.094e-05/1.105, allocations: 15.98 kB / 0.5878 GB, free: 5.199 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/1.105, allocations: 3.984 kB / 0.5878 GB, free: 5.195 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/1.105, allocations: 0 / 0.5878 GB, free: 5.195 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/1.105, allocations: 0.5469 kB / 0.5878 GB, free: 5.195 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.105, allocations: 8.219 kB / 0.5878 GB, free: 5.188 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001388/1.106, allocations: 159.4 kB / 0.5879 GB, free: 5.016 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002487/1.106, allocations: 0.5274 MB / 0.5885 GB, free: 4.469 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.733e-05/1.106, allocations: 85 kB / 0.5885 GB, free: 4.367 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/1.106, allocations: 4 kB / 0.5885 GB, free: 4.363 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.229e-05/1.106, allocations: 11.94 kB / 0.5886 GB, free: 4.352 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/1.106, allocations: 7.984 kB / 0.5886 GB, free: 4.344 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/1.106, allocations: 4 kB / 0.5886 GB, free: 4.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001044/1.106, allocations: 99.27 kB / 0.5887 GB, free: 4.242 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008915/1.107, allocations: 35.84 kB / 0.5887 GB, free: 4.207 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.0007574/1.108, allocations: 347.6 kB / 0.589 GB, free: 3.961 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001255/1.108, allocations: 24 kB / 0.5891 GB, free: 3.938 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.108, allocations: 0 / 0.5891 GB, free: 3.938 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.402e-05/1.108, allocations: 19.94 kB / 0.5891 GB, free: 3.918 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/1.108, allocations: 19.97 kB / 0.5891 GB, free: 3.898 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003227/1.109, allocations: 93.03 kB / 0.5892 GB, free: 3.781 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003267/1.109, allocations: 0.7075 MB / 0.5899 GB, free: 3.047 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/1.109, allocations: 3.938 kB / 0.5899 GB, free: 3.043 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat does not exist to compare? outputFormat=mat