Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2",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.001018/0.001018, allocations: 174.8 kB / 8.518 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.255/1.255, allocations: 221.4 MB / 230.3 MB, free: 7.699 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.0008746/0.0008746, allocations: 90.03 kB / 281.2 MB, free: 5.52 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.191/0.191, allocations: 44.15 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2374/0.4284, allocations: 68.04 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.5445, allocations: 61.9 MB / 0.4942 GB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3475/0.892, allocations: 87.8 MB / 0.5799 GB, free: 8.949 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/0.8923, allocations: 68.06 kB / 0.58 GB, free: 8.891 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.01916/0.9115, allocations: 8.473 MB / 0.5883 GB, free: 376 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.9116, allocations: 11.94 kB / 0.5883 GB, free: 364 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.516e-05/0.9117, allocations: 43.44 kB / 0.5883 GB, free: 320 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005019/0.9122, allocations: 319.4 kB / 0.5886 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.9122, allocations: 0 / 0.5886 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.9122, allocations: 4 kB / 0.5886 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.354e-05/0.9123, allocations: 16 kB / 0.5886 GB, free: 15.94 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.602e-05/0.9124, allocations: 49.62 kB / 0.5887 GB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.9124, allocations: 3.906 kB / 0.5887 GB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.9124, allocations: 0 / 0.5887 GB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.9124, allocations: 0 / 0.5887 GB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000555/0.913, allocations: 429.2 kB / 0.5891 GB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.493e-05/0.9131, allocations: 33.73 kB / 0.5891 GB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.791e-05/0.9131, allocations: 12.86 kB / 0.5891 GB, free: 15.37 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.9131, allocations: 0 / 0.5891 GB, free: 15.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.9132, allocations: 34.56 kB / 0.5892 GB, free: 15.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.9132, allocations: 4 kB / 0.5892 GB, free: 15.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000644/0.9138, allocations: 212.1 kB / 0.5894 GB, free: 15.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.9139, allocations: 55.34 kB / 0.5894 GB, free: 15.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.9151, allocations: 0.7512 MB / 0.5902 GB, free: 14.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.9152, allocations: 29.7 kB / 0.5902 GB, free: 14.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.483e-05/0.9153, allocations: 140.1 kB / 0.5903 GB, free: 14.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.97e-05/0.9153, allocations: 23.64 kB / 0.5904 GB, free: 14.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-06/0.9153, allocations: 0 / 0.5904 GB, free: 14.08 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002251/0.9156, allocations: 366.7 kB / 0.5907 GB, free: 13.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.046e-05/0.9156, allocations: 12 kB / 0.5907 GB, free: 13.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.882e-05/0.9157, allocations: 21.14 kB / 0.5907 GB, free: 13.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.154e-05/0.9157, allocations: 19.98 kB / 0.5908 GB, free: 13.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.9157, allocations: 0 / 0.5908 GB, free: 13.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001949/0.9159, allocations: 117.1 kB / 0.5909 GB, free: 13.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.916, allocations: 8 kB / 0.5909 GB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.916, allocations: 0 / 0.5909 GB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.916, allocations: 0 / 0.5909 GB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.9162, allocations: 23.92 kB / 0.5909 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.9162, allocations: 3.938 kB / 0.5909 GB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.216e-05/0.9163, allocations: 8 kB / 0.5909 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.9163, allocations: 4 kB / 0.5909 GB, free: 13.5 MB / 410.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 9.836e-05/0.9164, allocations: 105 kB / 0.591 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.587e-05/0.9165, allocations: 43.44 kB / 0.5911 GB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002585/0.9168, allocations: 133.7 kB / 0.5912 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.9168, allocations: 3.906 kB / 0.5912 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.9168, allocations: 4 kB / 0.5912 GB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.9168, allocations: 4.281 kB / 0.5912 GB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008116/0.9176, allocations: 0.5816 MB / 0.5918 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.9176, allocations: 0 / 0.5918 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.738e-05/0.9177, allocations: 27.92 kB / 0.5918 GB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.235e-05/0.9177, allocations: 7.984 kB / 0.5918 GB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.9178, allocations: 8.031 kB / 0.5918 GB, free: 12.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.9178, allocations: 0 / 0.5918 GB, free: 12.53 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.9178, allocations: 0 / 0.5918 GB, free: 12.53 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002256/0.918, allocations: 217.5 kB / 0.592 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003639/0.9184, allocations: 0.6112 MB / 0.5926 GB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002053/0.9186, allocations: 160.5 kB / 0.5928 GB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.781e-05/0.9187, allocations: 4 kB / 0.5928 GB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.9188, allocations: 4 kB / 0.5928 GB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.145e-05/0.9188, allocations: 7.984 kB / 0.5928 GB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.9189, allocations: 8 kB / 0.5928 GB, free: 11.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0007803/0.9197, allocations: 0.6043 MB / 0.5934 GB, free: 10.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009975/0.9207, allocations: 67.94 kB / 0.5934 GB, free: 10.78 MB / 410.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.0008066/0.9215, allocations: 339.5 kB / 0.5938 GB, free: 10.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001399/0.9216, allocations: 51.86 kB / 0.5938 GB, free: 10.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.9216, allocations: 0 / 0.5938 GB, free: 10.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.771e-05/0.9217, allocations: 31.98 kB / 0.5938 GB, free: 10.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.922, allocations: 16.81 kB / 0.5939 GB, free: 10.44 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.9234, allocations: 0.7249 MB / 0.5946 GB, free: 9.672 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005606/0.9239, allocations: 0.8606 MB / 0.5954 GB, free: 8.785 MB / 410.7 MB Notification: Performance of SimCode: time 2.91e-07/0.924, allocations: 0 / 0.5954 GB, free: 8.785 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat does not exist to compare? outputFormat=mat