Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.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.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test26",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.001022/0.001022, allocations: 187.3 kB / 8.525 MB, free: 1.754 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.237/1.237, allocations: 221.4 MB / 230.3 MB, free: 7.648 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.0009253/0.0009252, allocations: 86.11 kB / 281.2 MB, free: 5.453 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.2157/0.2157, allocations: 44.15 MB / 376.1 MB, free: 3.227 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2506/0.4664, allocations: 68.03 MB / 444.1 MB, free: 15.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.6086, allocations: 61.91 MB / 0.4942 GB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3573/0.966, allocations: 87.75 MB / 0.5799 GB, free: 9.02 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/0.9663, allocations: 64.62 kB / 0.5799 GB, free: 8.957 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.01185/0.9781, allocations: 4.587 MB / 0.5844 GB, free: 4.332 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.9782, allocations: 15.88 kB / 0.5844 GB, free: 4.316 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.695e-05/0.9783, allocations: 11.91 kB / 0.5844 GB, free: 4.305 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002701/0.9785, allocations: 207.3 kB / 0.5846 GB, free: 4.062 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.9786, allocations: 8 kB / 0.5846 GB, free: 4.055 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.9786, allocations: 0 / 0.5846 GB, free: 4.055 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.975e-05/0.9787, allocations: 19.98 kB / 0.5847 GB, free: 4.035 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.289e-05/0.9788, allocations: 49.69 kB / 0.5847 GB, free: 3.98 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.9788, allocations: 3.938 kB / 0.5847 GB, free: 3.977 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.9788, allocations: 0 / 0.5847 GB, free: 3.977 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.9788, allocations: 4 kB / 0.5847 GB, free: 3.973 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000409/0.9792, allocations: 281.2 kB / 0.585 GB, free: 3.66 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.9794, allocations: 33.72 kB / 0.585 GB, free: 3.621 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.643e-05/0.9795, allocations: 12.98 kB / 0.585 GB, free: 3.605 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.9795, allocations: 0 / 0.585 GB, free: 3.605 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.9795, allocations: 38.59 kB / 0.5851 GB, free: 3.559 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.9795, allocations: 0 / 0.5851 GB, free: 3.559 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006306/0.9802, allocations: 197.2 kB / 0.5853 GB, free: 3.363 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/0.9802, allocations: 51.41 kB / 0.5853 GB, free: 3.301 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.9804, allocations: 165.7 kB / 0.5855 GB, free: 3.133 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.9804, allocations: 33.7 kB / 0.5855 GB, free: 3.094 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.177e-05/0.9805, allocations: 92.12 kB / 0.5856 GB, free: 3 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.463e-05/0.9805, allocations: 31.47 kB / 0.5856 GB, free: 2.969 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-06/0.9805, allocations: 0 / 0.5856 GB, free: 2.969 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.9806, allocations: 326.8 kB / 0.5859 GB, free: 2.641 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.318e-05/0.9807, allocations: 23.94 kB / 0.5859 GB, free: 2.617 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.791e-05/0.9807, allocations: 21.25 kB / 0.586 GB, free: 2.598 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.09e-05/0.9808, allocations: 27.98 kB / 0.586 GB, free: 2.57 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.9808, allocations: 0 / 0.586 GB, free: 2.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001641/0.981, allocations: 105.4 kB / 0.5861 GB, free: 2.461 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.981, allocations: 8 kB / 0.5861 GB, free: 2.453 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.981, allocations: 128 / 0.5861 GB, free: 2.453 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.981, allocations: 4 kB / 0.5861 GB, free: 2.449 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.9811, allocations: 31.97 kB / 0.5861 GB, free: 2.418 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.9812, allocations: 0 / 0.5861 GB, free: 2.418 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.819e-05/0.9812, allocations: 19.98 kB / 0.5862 GB, free: 2.398 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.9813, allocations: 3.984 kB / 0.5862 GB, free: 2.395 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 8.826e-05/0.9814, allocations: 112.8 kB / 0.5863 GB, free: 2.277 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.189e-05/0.9814, allocations: 7.906 kB / 0.5863 GB, free: 2.27 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002409/0.9817, allocations: 133.9 kB / 0.5864 GB, free: 2.133 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.9817, allocations: 4 kB / 0.5864 GB, free: 2.129 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.9817, allocations: 0 / 0.5864 GB, free: 2.129 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.9817, allocations: 0 / 0.5864 GB, free: 2.129 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005832/0.9823, allocations: 408.6 kB / 0.5868 GB, free: 1.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.9823, allocations: 0 / 0.5868 GB, free: 1.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.9824, allocations: 36.03 kB / 0.5868 GB, free: 1.645 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.9824, allocations: 0 / 0.5868 GB, free: 1.645 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.9825, allocations: 8 kB / 0.5868 GB, free: 1.637 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.9825, allocations: 0 / 0.5868 GB, free: 1.637 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.9825, allocations: 0 / 0.5868 GB, free: 1.637 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002293/0.9827, allocations: 236.3 kB / 0.5871 GB, free: 1.371 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003862/0.9831, allocations: 0.6044 MB / 0.5876 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.901e-05/0.9832, allocations: 93 kB / 0.5877 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.698e-05/0.9832, allocations: 3.906 kB / 0.5877 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.9834, allocations: 15.98 kB / 0.5878 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.876e-05/0.9835, allocations: 15.98 kB / 0.5878 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.9835, allocations: 4 kB / 0.5878 GB, free: 0.582 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001198/0.9836, allocations: 135.1 kB / 0.5879 GB, free: 460 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009057/0.9845, allocations: 35.94 kB / 0.5879 GB, free: 424 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.000868/0.9854, allocations: 344.5 kB / 0.5883 GB, free: 164 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001677/0.9856, allocations: 67.94 kB / 0.5883 GB, free: 96 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.9856, allocations: 0 / 0.5883 GB, free: 96 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.547e-05/0.9857, allocations: 39.92 kB / 0.5884 GB, free: 56 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.9859, allocations: 15.98 kB / 0.5884 GB, free: 40 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005528/0.9865, allocations: 209 kB / 0.5886 GB, free: 15.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004717/0.987, allocations: 0.7231 MB / 0.5893 GB, free: 15.05 MB / 410.7 MB Notification: Performance of SimCode: time 4.31e-07/0.987, allocations: 0 / 0.5893 GB, free: 15.05 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test26_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test26.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26_res.mat does not exist to compare? outputFormat=mat