Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test23",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.00167/0.00167, allocations: 183.2 kB / 8.521 MB, free: 1.793 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.334/1.334, allocations: 221.4 MB / 230.3 MB, free: 7.609 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.0009737/0.000974, allocations: 84.75 kB / 281.2 MB, free: 5.434 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.2133/0.2133, allocations: 44.15 MB / 376.1 MB, free: 3.195 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2769/0.4903, allocations: 68.02 MB / 444.1 MB, free: 15.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.6255, allocations: 61.92 MB / 0.4942 GB, free: 1.5 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3787/1.004, allocations: 87.48 MB / 0.5796 GB, free: 9.215 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/1.005, allocations: 75.55 kB / 0.5797 GB, free: 9.145 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.01687/1.021, allocations: 6.312 MB / 0.5858 GB, free: 2.809 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/1.021, allocations: 15.94 kB / 0.5859 GB, free: 2.793 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.227e-05/1.021, allocations: 7.906 kB / 0.5859 GB, free: 2.785 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/1.022, allocations: 183 kB / 0.586 GB, free: 2.566 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/1.022, allocations: 3.938 kB / 0.586 GB, free: 2.562 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/1.022, allocations: 4 kB / 0.586 GB, free: 2.559 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.512e-05/1.022, allocations: 12 kB / 0.5861 GB, free: 2.547 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.656e-05/1.022, allocations: 63.25 kB / 0.5861 GB, free: 2.473 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/1.022, allocations: 0 / 0.5861 GB, free: 2.473 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/1.022, allocations: 0 / 0.5861 GB, free: 2.473 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/1.022, allocations: 4 kB / 0.5861 GB, free: 2.469 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003287/1.022, allocations: 257.4 kB / 0.5864 GB, free: 2.18 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/1.023, allocations: 33.7 kB / 0.5864 GB, free: 2.141 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.603e-05/1.023, allocations: 4.859 kB / 0.5864 GB, free: 2.133 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/1.023, allocations: 4 kB / 0.5864 GB, free: 2.129 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/1.023, allocations: 42.5 kB / 0.5864 GB, free: 2.078 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/1.023, allocations: 0 / 0.5864 GB, free: 2.078 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003883/1.023, allocations: 85.58 kB / 0.5865 GB, free: 1.988 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/1.023, allocations: 85.02 kB / 0.5866 GB, free: 1.887 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/1.023, allocations: 119.1 kB / 0.5867 GB, free: 1.766 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/1.023, allocations: 25.7 kB / 0.5867 GB, free: 1.734 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.88e-05/1.023, allocations: 96.12 kB / 0.5868 GB, free: 1.637 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/1.023, allocations: 11.75 kB / 0.5869 GB, free: 1.625 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/1.023, allocations: 0 / 0.5869 GB, free: 1.625 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/1.023, allocations: 326.8 kB / 0.5872 GB, free: 1.297 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.216e-05/1.023, allocations: 8 kB / 0.5872 GB, free: 1.289 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.711e-05/1.023, allocations: 25.66 kB / 0.5872 GB, free: 1.258 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.91e-05/1.024, allocations: 8 kB / 0.5872 GB, free: 1.25 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/1.024, allocations: 0 / 0.5872 GB, free: 1.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001012/1.024, allocations: 65.62 kB / 0.5873 GB, free: 1.18 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/1.024, allocations: 4 kB / 0.5873 GB, free: 1.176 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/1.024, allocations: 0 / 0.5873 GB, free: 1.176 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/1.024, allocations: 3.906 kB / 0.5873 GB, free: 1.172 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.763e-05/1.024, allocations: 15.98 kB / 0.5873 GB, free: 1.156 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/1.024, allocations: 0 / 0.5873 GB, free: 1.156 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.042e-05/1.024, allocations: 12 kB / 0.5873 GB, free: 1.145 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/1.024, allocations: 0 / 0.5873 GB, free: 1.145 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 0.0001065/1.024, allocations: 104.9 kB / 0.5874 GB, free: 1.035 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.725e-05/1.024, allocations: 7.906 kB / 0.5874 GB, free: 1.027 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000146/1.024, allocations: 73.72 kB / 0.5875 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/1.024, allocations: 0 / 0.5875 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/1.024, allocations: 0 / 0.5875 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/1.024, allocations: 144 / 0.5875 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003153/1.024, allocations: 311.3 kB / 0.5878 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/1.025, allocations: 3.984 kB / 0.5878 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.082e-05/1.025, allocations: 15.98 kB / 0.5878 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/1.025, allocations: 3.938 kB / 0.5878 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/1.025, allocations: 0 / 0.5878 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/1.025, allocations: 0 / 0.5878 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.178e-05/1.025, allocations: 7.906 kB / 0.5878 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001411/1.025, allocations: 159.5 kB / 0.588 GB, free: 404 kB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002482/1.025, allocations: 0.5234 MB / 0.5885 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.698e-05/1.025, allocations: 89.02 kB / 0.5886 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/1.025, allocations: 0 / 0.5886 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.402e-05/1.025, allocations: 11.98 kB / 0.5886 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/1.025, allocations: 4 kB / 0.5886 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.319e-06/1.025, allocations: 0 / 0.5886 GB, free: 15.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.427e-05/1.025, allocations: 99.27 kB / 0.5887 GB, free: 15.63 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008413/1.026, allocations: 43.83 kB / 0.5887 GB, free: 15.59 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.0007492/1.027, allocations: 341.3 kB / 0.589 GB, free: 15.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001043/1.027, allocations: 27.94 kB / 0.5891 GB, free: 15.31 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.027, allocations: 0 / 0.5891 GB, free: 15.31 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.832e-05/1.027, allocations: 19.94 kB / 0.5891 GB, free: 15.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/1.027, allocations: 11.98 kB / 0.5891 GB, free: 15.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002972/1.028, allocations: 87.83 kB / 0.5892 GB, free: 15.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003102/1.028, allocations: 0.7114 MB / 0.5899 GB, free: 14.43 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/1.028, allocations: 0 / 0.5899 GB, free: 14.43 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test23_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat does not exist to compare? outputFormat=mat