Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_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.001304/0.001304, allocations: 174.5 kB / 8.519 MB, free: 1.828 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.318/1.318, allocations: 221.4 MB / 230.3 MB, free: 7.707 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.0009312/0.0009312, allocations: 88.7 kB / 281.2 MB, free: 5.465 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.1583/0.1583, allocations: 44.15 MB / 376.1 MB, free: 3.242 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1707/0.329, allocations: 68.04 MB / 444.1 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.4341, allocations: 61.91 MB / 0.4942 GB, free: 1.551 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2678/0.702, allocations: 87.74 MB / 0.5799 GB, free: 9.004 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001979/0.7022, allocations: 71.41 kB / 0.5799 GB, free: 8.953 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.01145/0.7137, allocations: 4.522 MB / 0.5844 GB, free: 4.391 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.7137, allocations: 11.94 kB / 0.5844 GB, free: 4.379 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.849e-05/0.7138, allocations: 7.906 kB / 0.5844 GB, free: 4.371 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/0.714, allocations: 198.3 kB / 0.5846 GB, free: 4.137 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.714, allocations: 0 / 0.5846 GB, free: 4.137 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.714, allocations: 7.906 kB / 0.5846 GB, free: 4.129 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.41e-05/0.7141, allocations: 20 kB / 0.5846 GB, free: 4.109 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.7142, allocations: 45.62 kB / 0.5846 GB, free: 4.059 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.7142, allocations: 4 kB / 0.5846 GB, free: 4.055 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.7143, allocations: 7.984 kB / 0.5846 GB, free: 4.047 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.7143, allocations: 0 / 0.5846 GB, free: 4.047 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003416/0.7146, allocations: 281.3 kB / 0.5849 GB, free: 3.734 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.7148, allocations: 41.64 kB / 0.585 GB, free: 3.688 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.247e-05/0.7148, allocations: 12.98 kB / 0.585 GB, free: 3.672 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.7149, allocations: 4 kB / 0.585 GB, free: 3.668 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.7149, allocations: 34.56 kB / 0.585 GB, free: 3.625 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.7149, allocations: 0 / 0.585 GB, free: 3.625 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.000603/0.7155, allocations: 201 kB / 0.5852 GB, free: 3.426 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.7155, allocations: 55.34 kB / 0.5852 GB, free: 3.359 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.7157, allocations: 153.7 kB / 0.5854 GB, free: 3.199 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.588e-05/0.7157, allocations: 25.7 kB / 0.5854 GB, free: 3.168 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.97e-05/0.7158, allocations: 96.03 kB / 0.5855 GB, free: 3.07 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.7158, allocations: 35.45 kB / 0.5855 GB, free: 3.035 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-06/0.7158, allocations: 0 / 0.5855 GB, free: 3.035 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.716, allocations: 326.8 kB / 0.5859 GB, free: 2.707 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.075e-05/0.716, allocations: 20 kB / 0.5859 GB, free: 2.688 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.933e-05/0.7161, allocations: 25.25 kB / 0.5859 GB, free: 2.664 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.782e-05/0.7161, allocations: 24 kB / 0.5859 GB, free: 2.641 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.7161, allocations: 0 / 0.5859 GB, free: 2.641 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001617/0.7163, allocations: 101.4 kB / 0.586 GB, free: 2.535 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.7163, allocations: 8 kB / 0.586 GB, free: 2.527 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.7163, allocations: 0 / 0.586 GB, free: 2.527 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.7163, allocations: 0 / 0.586 GB, free: 2.527 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.7165, allocations: 39.92 kB / 0.5861 GB, free: 2.488 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.7165, allocations: 0 / 0.5861 GB, free: 2.488 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.361e-05/0.7166, allocations: 15.98 kB / 0.5861 GB, free: 2.473 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.7166, allocations: 8 kB / 0.5861 GB, free: 2.465 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 6.886e-05/0.7167, allocations: 104.9 kB / 0.5862 GB, free: 2.355 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.926e-05/0.7167, allocations: 11.81 kB / 0.5862 GB, free: 2.344 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002289/0.7169, allocations: 118.1 kB / 0.5863 GB, free: 2.223 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.7169, allocations: 0 / 0.5863 GB, free: 2.223 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/0.717, allocations: 0 / 0.5863 GB, free: 2.223 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.717, allocations: 3.938 kB / 0.5863 GB, free: 2.219 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004664/0.7174, allocations: 416.5 kB / 0.5867 GB, free: 1.762 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.7174, allocations: 0 / 0.5867 GB, free: 1.762 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.7176, allocations: 35.88 kB / 0.5867 GB, free: 1.727 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.7176, allocations: 7.938 kB / 0.5868 GB, free: 1.719 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.096e-06/0.7176, allocations: 64 / 0.5868 GB, free: 1.719 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.7176, allocations: 4 kB / 0.5868 GB, free: 1.715 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.7176, allocations: 4 kB / 0.5868 GB, free: 1.711 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001977/0.7178, allocations: 226.6 kB / 0.587 GB, free: 1.457 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000306/0.7181, allocations: 0.6023 MB / 0.5876 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.649e-05/0.7182, allocations: 93.28 kB / 0.5877 GB, free: 0.707 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.7182, allocations: 0 / 0.5877 GB, free: 0.707 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.7184, allocations: 23.98 kB / 0.5877 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/0.7184, allocations: 11.98 kB / 0.5877 GB, free: 0.6719 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.7184, allocations: 7.984 kB / 0.5877 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.67e-05/0.7185, allocations: 127.8 kB / 0.5878 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008414/0.7194, allocations: 28 kB / 0.5878 GB, free: 0.5117 MB / 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.0006916/0.7201, allocations: 349.8 kB / 0.5882 GB, free: 252 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001428/0.7202, allocations: 60 kB / 0.5882 GB, free: 192 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.7202, allocations: 0 / 0.5882 GB, free: 192 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.978e-05/0.7203, allocations: 43.94 kB / 0.5883 GB, free: 148 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.7205, allocations: 19.89 kB / 0.5883 GB, free: 128 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000414/0.7209, allocations: 181.1 kB / 0.5885 GB, free: 15.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003321/0.7213, allocations: 0.7188 MB / 0.5892 GB, free: 15.18 MB / 410.7 MB Notification: Performance of SimCode: time 2.8e-07/0.7213, allocations: 4.125 kB / 0.5892 GB, free: 15.18 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test24_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat does not exist to compare? outputFormat=mat