Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_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.001053/0.001053, allocations: 191.4 kB / 8.529 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.294/1.294, allocations: 221.4 MB / 230.3 MB, free: 7.672 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.00099/0.0009901, allocations: 88.73 kB / 281.2 MB, free: 5.445 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.205/0.205, allocations: 44.14 MB / 376.1 MB, free: 3.215 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2525/0.4575, allocations: 68.03 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.5826, allocations: 61.91 MB / 0.4942 GB, free: 1.512 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3666/0.9493, allocations: 88.21 MB / 0.5803 GB, free: 8.461 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002102/0.9496, allocations: 67.97 kB / 0.5804 GB, free: 8.395 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.01263/0.9622, allocations: 4.607 MB / 0.5849 GB, free: 3.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.9623, allocations: 15.94 kB / 0.5849 GB, free: 3.734 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.17e-05/0.9623, allocations: 7.906 kB / 0.5849 GB, free: 3.727 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.9626, allocations: 211.3 kB / 0.5851 GB, free: 3.477 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.143e-06/0.9626, allocations: 0 / 0.5851 GB, free: 3.477 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.9627, allocations: 4 kB / 0.5851 GB, free: 3.473 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.832e-05/0.9627, allocations: 20 kB / 0.5851 GB, free: 3.453 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.87e-05/0.9628, allocations: 53.62 kB / 0.5852 GB, free: 3.395 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.9629, allocations: 4 kB / 0.5852 GB, free: 3.391 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.9629, allocations: 3.984 kB / 0.5852 GB, free: 3.387 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.905e-06/0.9629, allocations: 0 / 0.5852 GB, free: 3.387 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004607/0.9634, allocations: 301.2 kB / 0.5855 GB, free: 3.055 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.9635, allocations: 37.73 kB / 0.5855 GB, free: 3.012 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.33e-05/0.9636, allocations: 16.98 kB / 0.5855 GB, free: 2.992 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.9636, allocations: 0 / 0.5855 GB, free: 2.992 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.9636, allocations: 42.38 kB / 0.5856 GB, free: 2.945 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.9636, allocations: 0 / 0.5856 GB, free: 2.945 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006083/0.9642, allocations: 229.1 kB / 0.5858 GB, free: 2.715 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.9643, allocations: 52.16 kB / 0.5858 GB, free: 2.652 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.9645, allocations: 163.4 kB / 0.586 GB, free: 2.48 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.958e-05/0.9645, allocations: 29.7 kB / 0.586 GB, free: 2.445 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.237e-05/0.9646, allocations: 88.12 kB / 0.5861 GB, free: 2.355 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.366e-05/0.9646, allocations: 39.45 kB / 0.5861 GB, free: 2.316 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-06/0.9646, allocations: 0 / 0.5861 GB, free: 2.316 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.9647, allocations: 322.8 kB / 0.5865 GB, free: 1.992 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.651e-05/0.9648, allocations: 31.98 kB / 0.5865 GB, free: 1.961 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.483e-05/0.9649, allocations: 37.19 kB / 0.5865 GB, free: 1.926 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.75e-05/0.9649, allocations: 47.91 kB / 0.5866 GB, free: 1.879 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.9649, allocations: 4 kB / 0.5866 GB, free: 1.875 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001958/0.9651, allocations: 125.5 kB / 0.5867 GB, free: 1.746 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.9652, allocations: 4 kB / 0.5867 GB, free: 1.742 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.9652, allocations: 0 / 0.5867 GB, free: 1.742 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.9652, allocations: 0 / 0.5867 GB, free: 1.742 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.9654, allocations: 36.28 kB / 0.5867 GB, free: 1.707 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.9654, allocations: 0 / 0.5867 GB, free: 1.707 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.679e-05/0.9655, allocations: 19.98 kB / 0.5867 GB, free: 1.688 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.9655, allocations: 8 kB / 0.5868 GB, free: 1.68 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 7.741e-05/0.9656, allocations: 108.8 kB / 0.5869 GB, free: 1.566 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.915e-05/0.9656, allocations: 7.906 kB / 0.5869 GB, free: 1.559 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002812/0.9659, allocations: 158.1 kB / 0.587 GB, free: 1.398 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.9659, allocations: 0 / 0.587 GB, free: 1.398 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.9659, allocations: 3.906 kB / 0.587 GB, free: 1.395 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.9659, allocations: 0 / 0.587 GB, free: 1.395 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005027/0.9664, allocations: 436.6 kB / 0.5874 GB, free: 0.918 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.9664, allocations: 4 kB / 0.5874 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.9666, allocations: 36.03 kB / 0.5875 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.9666, allocations: 0 / 0.5875 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.9666, allocations: 4 kB / 0.5875 GB, free: 0.875 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.9666, allocations: 3.938 kB / 0.5875 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.9666, allocations: 0 / 0.5875 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000241/0.9669, allocations: 262.5 kB / 0.5877 GB, free: 0.582 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003464/0.9672, allocations: 0.6218 MB / 0.5883 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.476e-05/0.9673, allocations: 89.02 kB / 0.5884 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.9673, allocations: 7.984 kB / 0.5884 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.9674, allocations: 8 kB / 0.5884 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.296e-05/0.9675, allocations: 15.97 kB / 0.5885 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.9675, allocations: 11.91 kB / 0.5885 GB, free: 15.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001263/0.9677, allocations: 129.5 kB / 0.5886 GB, free: 15.65 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008826/0.9685, allocations: 28.09 kB / 0.5886 GB, free: 15.62 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.0007217/0.9693, allocations: 354.5 kB / 0.589 GB, free: 15.35 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001853/0.9695, allocations: 91.91 kB / 0.589 GB, free: 15.26 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.9695, allocations: 8 kB / 0.589 GB, free: 15.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.701e-05/0.9696, allocations: 47.92 kB / 0.5891 GB, free: 15.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.9698, allocations: 12 kB / 0.5891 GB, free: 15.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004767/0.9703, allocations: 213.1 kB / 0.5893 GB, free: 14.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003725/0.9707, allocations: 0.7309 MB / 0.59 GB, free: 14.2 MB / 410.7 MB Notification: Performance of SimCode: time 3.01e-07/0.9707, allocations: 192 / 0.59 GB, free: 14.2 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat does not exist to compare? outputFormat=mat