Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test30",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.001529/0.001529, allocations: 180.9 kB / 8.52 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.308/1.308, 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.001006/0.001006, allocations: 88.7 kB / 281.2 MB, free: 5.504 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.2023/0.2023, allocations: 44.14 MB / 376.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2646/0.4669, allocations: 68.04 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.6113, allocations: 61.91 MB / 0.4942 GB, free: 1.508 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3826/0.994, allocations: 87.75 MB / 0.5799 GB, free: 8.957 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/0.9943, allocations: 71.97 kB / 0.5799 GB, free: 8.887 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.01404/1.008, allocations: 4.749 MB / 0.5846 GB, free: 4.102 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.504e-05/1.008, allocations: 11.94 kB / 0.5846 GB, free: 4.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.21e-05/1.009, allocations: 11.81 kB / 0.5846 GB, free: 4.078 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003435/1.009, allocations: 210.3 kB / 0.5848 GB, free: 3.832 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/1.009, allocations: 4 kB / 0.5848 GB, free: 3.828 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/1.009, allocations: 8 kB / 0.5848 GB, free: 3.82 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001079/1.009, allocations: 16 kB / 0.5848 GB, free: 3.805 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/1.009, allocations: 45.69 kB / 0.5849 GB, free: 3.754 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/1.009, allocations: 3.906 kB / 0.5849 GB, free: 3.75 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/1.009, allocations: 0 / 0.5849 GB, free: 3.75 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/1.009, allocations: 4 kB / 0.5849 GB, free: 3.746 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004533/1.01, allocations: 289.2 kB / 0.5852 GB, free: 3.426 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/1.01, allocations: 29.72 kB / 0.5852 GB, free: 3.391 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.699e-05/1.01, allocations: 20.97 kB / 0.5852 GB, free: 3.367 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/1.01, allocations: 0 / 0.5852 GB, free: 3.367 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/1.01, allocations: 34.56 kB / 0.5852 GB, free: 3.324 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.503e-06/1.01, allocations: 0 / 0.5852 GB, free: 3.324 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007565/1.011, allocations: 204.9 kB / 0.5854 GB, free: 3.121 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/1.011, allocations: 51.41 kB / 0.5855 GB, free: 3.059 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002435/1.011, allocations: 186.4 kB / 0.5857 GB, free: 2.867 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/1.011, allocations: 29.7 kB / 0.5857 GB, free: 2.832 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.601e-05/1.011, allocations: 96.06 kB / 0.5858 GB, free: 2.734 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.683e-05/1.011, allocations: 31.47 kB / 0.5858 GB, free: 2.703 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-06/1.011, allocations: 0 / 0.5858 GB, free: 2.703 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002189/1.012, allocations: 326.8 kB / 0.5861 GB, free: 2.375 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.581e-05/1.012, allocations: 23.98 kB / 0.5861 GB, free: 2.352 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.284e-05/1.012, allocations: 25.25 kB / 0.5862 GB, free: 2.328 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.628e-05/1.012, allocations: 20 kB / 0.5862 GB, free: 2.309 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/1.012, allocations: 4 kB / 0.5862 GB, free: 2.305 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002468/1.012, allocations: 109.4 kB / 0.5863 GB, free: 2.191 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/1.012, allocations: 4 kB / 0.5863 GB, free: 2.188 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/1.012, allocations: 7.922 kB / 0.5863 GB, free: 2.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/1.012, allocations: 4.375 kB / 0.5863 GB, free: 2.176 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/1.012, allocations: 27.98 kB / 0.5863 GB, free: 2.148 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/1.012, allocations: 0 / 0.5863 GB, free: 2.148 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/1.012, allocations: 23.89 kB / 0.5864 GB, free: 2.125 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/1.013, allocations: 4 kB / 0.5864 GB, free: 2.121 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 0.0001225/1.013, allocations: 104.9 kB / 0.5865 GB, free: 2.012 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.281e-05/1.013, allocations: 19.81 kB / 0.5865 GB, free: 1.992 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003027/1.013, allocations: 121.1 kB / 0.5866 GB, free: 1.871 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/1.013, allocations: 7.984 kB / 0.5866 GB, free: 1.863 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/1.013, allocations: 0 / 0.5866 GB, free: 1.863 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/1.013, allocations: 0 / 0.5866 GB, free: 1.863 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006896/1.014, allocations: 424.5 kB / 0.587 GB, free: 1.398 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/1.014, allocations: 0 / 0.587 GB, free: 1.398 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/1.014, allocations: 32.05 kB / 0.587 GB, free: 1.367 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.507e-06/1.014, allocations: 4 kB / 0.587 GB, free: 1.363 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/1.014, allocations: 7.891 kB / 0.587 GB, free: 1.355 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/1.014, allocations: 0 / 0.587 GB, free: 1.355 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.014, allocations: 0 / 0.587 GB, free: 1.355 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003485/1.014, allocations: 232.5 kB / 0.5873 GB, free: 1.094 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003983/1.015, allocations: 0.6024 MB / 0.5879 GB, free: 464 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.551e-05/1.015, allocations: 100.9 kB / 0.588 GB, free: 344 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/1.015, allocations: 0 / 0.588 GB, free: 344 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/1.015, allocations: 15.98 kB / 0.588 GB, free: 328 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.985e-05/1.015, allocations: 19.83 kB / 0.588 GB, free: 308 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/1.015, allocations: 4 kB / 0.588 GB, free: 304 kB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001312/1.015, allocations: 148 kB / 0.5881 GB, free: 156 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008613/1.016, allocations: 39.94 kB / 0.5882 GB, free: 116 kB / 394.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.0008944/1.017, allocations: 349.3 kB / 0.5885 GB, free: 15.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002/1.017, allocations: 71.92 kB / 0.5886 GB, free: 15.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.017, allocations: 0 / 0.5886 GB, free: 15.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.554e-05/1.017, allocations: 35.94 kB / 0.5886 GB, free: 15.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/1.018, allocations: 14.78 kB / 0.5886 GB, free: 15.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005994/1.018, allocations: 217.1 kB / 0.5888 GB, free: 15.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004364/1.019, allocations: 0.7309 MB / 0.5895 GB, free: 14.73 MB / 410.7 MB Notification: Performance of SimCode: time 3.2e-07/1.019, allocations: 0 / 0.5895 GB, free: 14.73 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test30_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat does not exist to compare? outputFormat=mat