Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31",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.001774/0.001773, allocations: 174.6 kB / 8.517 MB, free: 1.844 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.525/1.525, allocations: 221.4 MB / 230.3 MB, free: 7.734 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.001111/0.001111, allocations: 88.73 kB / 281.2 MB, free: 5.477 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.1991/0.1991, allocations: 44.15 MB / 376.1 MB, free: 3.258 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2804/0.4795, allocations: 68.03 MB / 444.1 MB, free: 15.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.6157, allocations: 61.92 MB / 0.4942 GB, free: 1.562 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3902/1.006, allocations: 87.35 MB / 0.5795 GB, free: 9.418 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/1.006, allocations: 74.09 kB / 0.5796 GB, free: 9.367 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01411/1.02, allocations: 4.524 MB / 0.584 GB, free: 4.82 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.14e-05/1.021, allocations: 11.94 kB / 0.584 GB, free: 4.809 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.773e-05/1.021, allocations: 11.81 kB / 0.584 GB, free: 4.797 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003505/1.021, allocations: 222.4 kB / 0.5842 GB, free: 4.539 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/1.021, allocations: 0 / 0.5842 GB, free: 4.539 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.238e-05/1.021, allocations: 8 kB / 0.5842 GB, free: 4.531 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.099e-05/1.021, allocations: 15.98 kB / 0.5842 GB, free: 4.516 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.848e-05/1.021, allocations: 49.59 kB / 0.5843 GB, free: 4.461 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/1.021, allocations: 0 / 0.5843 GB, free: 4.461 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/1.021, allocations: 0 / 0.5843 GB, free: 4.461 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/1.021, allocations: 0 / 0.5843 GB, free: 4.461 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004645/1.022, allocations: 297.3 kB / 0.5846 GB, free: 4.133 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.077e-05/1.022, allocations: 33.66 kB / 0.5846 GB, free: 4.094 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.213e-05/1.022, allocations: 16.94 kB / 0.5846 GB, free: 4.074 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.993e-05/1.022, allocations: 7.984 kB / 0.5846 GB, free: 4.066 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/1.022, allocations: 34.56 kB / 0.5847 GB, free: 4.023 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.462e-06/1.022, allocations: 0 / 0.5847 GB, free: 4.023 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005775/1.022, allocations: 169 kB / 0.5848 GB, free: 3.852 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.822e-05/1.023, allocations: 51.41 kB / 0.5849 GB, free: 3.789 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002859/1.023, allocations: 237.5 kB / 0.5851 GB, free: 3.547 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/1.023, allocations: 29.69 kB / 0.5851 GB, free: 3.512 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.054e-05/1.023, allocations: 92.12 kB / 0.5852 GB, free: 3.418 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.233e-05/1.023, allocations: 27.56 kB / 0.5852 GB, free: 3.391 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/1.023, allocations: 0 / 0.5852 GB, free: 3.391 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001383/1.023, allocations: 322.8 kB / 0.5855 GB, free: 3.066 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.01e-05/1.023, allocations: 23.98 kB / 0.5856 GB, free: 3.043 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.666e-05/1.023, allocations: 20.75 kB / 0.5856 GB, free: 3.023 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.668e-05/1.023, allocations: 24.22 kB / 0.5856 GB, free: 3 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/1.023, allocations: 4 kB / 0.5856 GB, free: 2.996 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001542/1.023, allocations: 93.42 kB / 0.5857 GB, free: 2.898 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/1.023, allocations: 11.98 kB / 0.5857 GB, free: 2.887 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/1.023, allocations: 0 / 0.5857 GB, free: 2.887 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/1.024, allocations: 0 / 0.5857 GB, free: 2.887 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/1.024, allocations: 16 kB / 0.5857 GB, free: 2.871 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/1.024, allocations: 7.922 kB / 0.5857 GB, free: 2.863 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.483e-05/1.024, allocations: 11.91 kB / 0.5857 GB, free: 2.852 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/1.024, allocations: 4 kB / 0.5857 GB, free: 2.848 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 (8): * Single equations (assignments): 8 * 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 8.91e-05/1.024, allocations: 105 kB / 0.5858 GB, free: 2.738 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.39e-05/1.024, allocations: 19.81 kB / 0.5859 GB, free: 2.719 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002262/1.024, allocations: 115 kB / 0.586 GB, free: 2.602 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/1.024, allocations: 0 / 0.586 GB, free: 2.602 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/1.024, allocations: 0 / 0.586 GB, free: 2.602 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/1.024, allocations: 3.984 kB / 0.586 GB, free: 2.598 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004744/1.025, allocations: 407.9 kB / 0.5864 GB, free: 2.152 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/1.025, allocations: 0 / 0.5864 GB, free: 2.152 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.164e-05/1.025, allocations: 19.94 kB / 0.5864 GB, free: 2.133 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/1.025, allocations: 0 / 0.5864 GB, free: 2.133 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/1.025, allocations: 3.906 kB / 0.5864 GB, free: 2.129 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/1.025, allocations: 8.016 kB / 0.5864 GB, free: 2.121 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/1.025, allocations: 4.078 kB / 0.5864 GB, free: 2.117 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001963/1.025, allocations: 205.8 kB / 0.5866 GB, free: 1.891 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000311/1.025, allocations: 0.5764 MB / 0.5872 GB, free: 1.285 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.206e-05/1.025, allocations: 101 kB / 0.5873 GB, free: 1.168 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/1.025, allocations: 3.906 kB / 0.5873 GB, free: 1.164 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.917e-05/1.026, allocations: 11.98 kB / 0.5873 GB, free: 1.152 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.202e-05/1.026, allocations: 4 kB / 0.5873 GB, free: 1.148 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/1.026, allocations: 0 / 0.5873 GB, free: 1.148 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001708/1.026, allocations: 200.3 kB / 0.5875 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009113/1.027, allocations: 31.94 kB / 0.5875 GB, free: 0.9219 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0009252/1.028, allocations: 344.3 kB / 0.5878 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000182/1.028, allocations: 51.98 kB / 0.5879 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/1.028, allocations: 0 / 0.5879 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.682e-05/1.028, allocations: 36.23 kB / 0.5879 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/1.028, allocations: 12.33 kB / 0.5879 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006738/1.029, allocations: 244 kB / 0.5882 GB, free: 304 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005446/1.029, allocations: 0.7388 MB / 0.5889 GB, free: 15.53 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/1.029, allocations: 0 / 0.5889 GB, free: 15.53 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat does not exist to compare? outputFormat=mat