Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3",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.00101/0.00101, allocations: 181.9 kB / 8.521 MB, free: 1.824 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.196/1.196, allocations: 221.4 MB / 230.3 MB, free: 7.621 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.0009179/0.0009178, allocations: 86.36 kB / 281.2 MB, free: 5.449 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.1641/0.1641, allocations: 44.14 MB / 376.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1874/0.3515, allocations: 68.03 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.4592, allocations: 61.91 MB / 0.4942 GB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2713/0.7306, allocations: 88.21 MB / 0.5803 GB, free: 8.477 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001888/0.7308, allocations: 67.97 kB / 0.5804 GB, free: 8.43 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.01951/0.7503, allocations: 8.61 MB / 0.5888 GB, free: 15.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.7504, allocations: 11.94 kB / 0.5888 GB, free: 15.76 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.671e-05/0.7504, allocations: 43.44 kB / 0.5888 GB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004733/0.7509, allocations: 335.3 kB / 0.5892 GB, free: 15.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.976e-06/0.7509, allocations: 0 / 0.5892 GB, free: 15.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.751, allocations: 11.91 kB / 0.5892 GB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.605e-05/0.7511, allocations: 23.94 kB / 0.5892 GB, free: 15.31 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.721e-05/0.7512, allocations: 53.67 kB / 0.5892 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.7512, allocations: 0 / 0.5892 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.7512, allocations: 0 / 0.5892 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.7512, allocations: 0 / 0.5892 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006501/0.7519, allocations: 453 kB / 0.5897 GB, free: 14.78 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.752, allocations: 37.69 kB / 0.5897 GB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.85e-05/0.7521, allocations: 16.98 kB / 0.5897 GB, free: 14.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.7521, allocations: 4 kB / 0.5897 GB, free: 14.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.7521, allocations: 34.47 kB / 0.5898 GB, free: 14.67 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.133e-06/0.7521, allocations: 4 kB / 0.5898 GB, free: 14.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007077/0.7529, allocations: 307.9 kB / 0.5901 GB, free: 14.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.7529, allocations: 55.41 kB / 0.5901 GB, free: 14.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.7541, allocations: 0.7512 MB / 0.5909 GB, free: 13.53 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.7541, allocations: 25.7 kB / 0.5909 GB, free: 13.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.664e-05/0.7542, allocations: 140 kB / 0.591 GB, free: 13.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/0.7542, allocations: 31.55 kB / 0.591 GB, free: 13.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-06/0.7542, allocations: 0 / 0.591 GB, free: 13.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.7544, allocations: 370.7 kB / 0.5914 GB, free: 12.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.042e-05/0.7544, allocations: 32 kB / 0.5914 GB, free: 12.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.237e-05/0.7545, allocations: 37.23 kB / 0.5915 GB, free: 12.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.492e-05/0.7546, allocations: 43.92 kB / 0.5915 GB, free: 12.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.7546, allocations: 0 / 0.5915 GB, free: 12.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002207/0.7548, allocations: 157 kB / 0.5917 GB, free: 12.69 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.7548, allocations: 4 kB / 0.5917 GB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.7548, allocations: 3.938 kB / 0.5917 GB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.7549, allocations: 384 / 0.5917 GB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.755, allocations: 39.98 kB / 0.5917 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.755, allocations: 3.984 kB / 0.5917 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.7551, allocations: 15.98 kB / 0.5917 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.7552, allocations: 8 kB / 0.5917 GB, free: 12.61 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 (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 7.897e-05/0.7552, allocations: 104.9 kB / 0.5918 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.043e-05/0.7553, allocations: 47.42 kB / 0.5919 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003384/0.7557, allocations: 193.3 kB / 0.5921 GB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.7557, allocations: 0 / 0.5921 GB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.7557, allocations: 0 / 0.5921 GB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.7557, allocations: 4 kB / 0.5921 GB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009353/0.7567, allocations: 0.6605 MB / 0.5927 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.7567, allocations: 0 / 0.5927 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/0.7568, allocations: 35.91 kB / 0.5927 GB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.7568, allocations: 4 kB / 0.5927 GB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.7568, allocations: 7.969 kB / 0.5927 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.7569, allocations: 0 / 0.5927 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.7569, allocations: 4 kB / 0.5928 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002971/0.7572, allocations: 288 kB / 0.593 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004193/0.7576, allocations: 0.6586 MB / 0.5937 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00019/0.7578, allocations: 160.5 kB / 0.5938 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.876e-05/0.7579, allocations: 4 kB / 0.5938 GB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.758, allocations: 16 kB / 0.5938 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/0.7581, allocations: 11.89 kB / 0.5939 GB, free: 10.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.7581, allocations: 0 / 0.5939 GB, free: 10.28 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0006513/0.7587, allocations: 0.6121 MB / 0.5945 GB, free: 9.668 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009925/0.7597, allocations: 71.92 kB / 0.5945 GB, free: 9.598 MB / 410.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.000736/0.7605, allocations: 359.2 kB / 0.5949 GB, free: 9.328 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000175/0.7607, allocations: 87.86 kB / 0.5949 GB, free: 9.242 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.7607, allocations: 4 kB / 0.595 GB, free: 9.238 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.996e-05/0.7608, allocations: 51.92 kB / 0.595 GB, free: 9.188 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.7611, allocations: 28.95 kB / 0.595 GB, free: 9.164 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.7624, allocations: 0.7687 MB / 0.5958 GB, free: 8.359 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005568/0.7629, allocations: 0.8645 MB / 0.5966 GB, free: 7.465 MB / 410.7 MB Notification: Performance of SimCode: time 2.81e-07/0.7629, allocations: 0 / 0.5966 GB, free: 7.465 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat does not exist to compare? outputFormat=mat