Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_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.001157/0.001157, allocations: 169.4 kB / 8.513 MB, free: 1.848 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.294/1.294, allocations: 221.4 MB / 230.3 MB, free: 7.688 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.001009/0.001009, allocations: 96.66 kB / 281.2 MB, free: 5.441 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.2009/0.2009, allocations: 44.15 MB / 376.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2043/0.4052, allocations: 68.03 MB / 444.1 MB, free: 15.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.5144, allocations: 61.91 MB / 0.4942 GB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2875/0.8019, allocations: 88.26 MB / 0.5804 GB, free: 8.453 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/0.8022, allocations: 76.17 kB / 0.5804 GB, free: 8.383 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.01958/0.8218, allocations: 8.549 MB / 0.5888 GB, free: 15.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.8219, allocations: 11.94 kB / 0.5888 GB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.419e-05/0.822, allocations: 43.44 kB / 0.5888 GB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005282/0.8225, allocations: 327.3 kB / 0.5892 GB, free: 15.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.8225, allocations: 0 / 0.5892 GB, free: 15.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.746e-05/0.8226, allocations: 7.984 kB / 0.5892 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.835e-05/0.8226, allocations: 20 kB / 0.5892 GB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.638e-05/0.8228, allocations: 53.59 kB / 0.5892 GB, free: 15.28 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.8228, allocations: 7.938 kB / 0.5892 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.8228, allocations: 0 / 0.5892 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.8228, allocations: 0 / 0.5892 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006628/0.8235, allocations: 437.1 kB / 0.5897 GB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.298e-05/0.8236, allocations: 33.7 kB / 0.5897 GB, free: 14.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.327e-05/0.8236, allocations: 16.86 kB / 0.5897 GB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.8236, allocations: 0 / 0.5897 GB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.8237, allocations: 34.47 kB / 0.5897 GB, free: 14.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.8237, allocations: 0 / 0.5897 GB, free: 14.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006799/0.8244, allocations: 240.2 kB / 0.59 GB, free: 14.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.8244, allocations: 51.41 kB / 0.59 GB, free: 14.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/0.8256, allocations: 0.7511 MB / 0.5907 GB, free: 13.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.8257, allocations: 25.7 kB / 0.5908 GB, free: 13.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.434e-05/0.8257, allocations: 140.2 kB / 0.5909 GB, free: 13.47 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/0.8258, allocations: 27.56 kB / 0.5909 GB, free: 13.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/0.8258, allocations: 0 / 0.5909 GB, free: 13.44 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.8259, allocations: 366.8 kB / 0.5913 GB, free: 13.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.718e-05/0.826, allocations: 23.98 kB / 0.5913 GB, free: 13.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.639e-05/0.826, allocations: 17.25 kB / 0.5913 GB, free: 13.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.356e-05/0.8261, allocations: 32.2 kB / 0.5914 GB, free: 13 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.8261, allocations: 0 / 0.5914 GB, free: 13 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002005/0.8263, allocations: 125 kB / 0.5915 GB, free: 12.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.8263, allocations: 4 kB / 0.5915 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.8263, allocations: 0 / 0.5915 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.8264, allocations: 3.938 kB / 0.5915 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.8265, allocations: 24.27 kB / 0.5915 GB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.8265, allocations: 8 kB / 0.5915 GB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.624e-05/0.8266, allocations: 4 kB / 0.5915 GB, free: 12.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.8266, allocations: 8 kB / 0.5915 GB, free: 12.82 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 8.211e-05/0.8267, allocations: 108.9 kB / 0.5916 GB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.639e-05/0.8268, allocations: 47.44 kB / 0.5917 GB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002728/0.8271, allocations: 153.4 kB / 0.5918 GB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.8271, allocations: 0 / 0.5918 GB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.8271, allocations: 0 / 0.5918 GB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.84e-06/0.8271, allocations: 0 / 0.5918 GB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007581/0.8279, allocations: 0.609 MB / 0.5924 GB, free: 11.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.8279, allocations: 0 / 0.5924 GB, free: 11.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.547e-05/0.828, allocations: 19.98 kB / 0.5924 GB, free: 11.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.828, allocations: 4 kB / 0.5924 GB, free: 11.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-06/0.828, allocations: 0 / 0.5924 GB, free: 11.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.828, allocations: 0 / 0.5924 GB, free: 11.83 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.828, allocations: 7.891 kB / 0.5924 GB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002414/0.8283, allocations: 241.5 kB / 0.5927 GB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003271/0.8286, allocations: 0.6074 MB / 0.5933 GB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001743/0.8288, allocations: 164.5 kB / 0.5934 GB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.781e-05/0.8289, allocations: 3.984 kB / 0.5934 GB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.829, allocations: 4 kB / 0.5934 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.829, allocations: 11.89 kB / 0.5934 GB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.8291, allocations: 8 kB / 0.5934 GB, free: 10.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0006826/0.8298, allocations: 0.6043 MB / 0.594 GB, free: 10.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009416/0.8307, allocations: 71.94 kB / 0.5941 GB, free: 10.04 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.0007589/0.8315, allocations: 346.7 kB / 0.5944 GB, free: 9.777 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001679/0.8316, allocations: 52.22 kB / 0.5945 GB, free: 9.727 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.8317, allocations: 0 / 0.5945 GB, free: 9.727 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.289e-05/0.8317, allocations: 36.09 kB / 0.5945 GB, free: 9.691 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.8321, allocations: 29.33 kB / 0.5946 GB, free: 9.668 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.8334, allocations: 0.7327 MB / 0.5953 GB, free: 8.902 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005016/0.8339, allocations: 0.8567 MB / 0.5961 GB, free: 8.02 MB / 410.7 MB Notification: Performance of SimCode: time 2.91e-07/0.834, allocations: 0 / 0.5961 GB, free: 8.02 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat does not exist to compare? outputFormat=mat