Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test30",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.001164/0.001164, allocations: 179.4 kB / 8.517 MB, free: 1.855 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.389/1.389, allocations: 221.4 MB / 230.3 MB, free: 7.645 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.001221/0.001221, allocations: 92.09 kB / 281.2 MB, free: 5.445 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.301/0.301, allocations: 44.15 MB / 376.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2144/0.5154, allocations: 68.03 MB / 444.1 MB, free: 15.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.6265, allocations: 61.91 MB / 0.4942 GB, free: 1.508 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2953/0.9218, allocations: 88.2 MB / 0.5803 GB, free: 8.516 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/0.9221, allocations: 71.95 kB / 0.5804 GB, free: 8.445 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.01266/0.9348, allocations: 4.858 MB / 0.5851 GB, free: 3.551 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.9348, allocations: 11.94 kB / 0.5851 GB, free: 3.539 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.248e-05/0.9349, allocations: 11.81 kB / 0.5851 GB, free: 3.527 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.9351, allocations: 207.5 kB / 0.5853 GB, free: 3.281 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.9351, allocations: 0 / 0.5853 GB, free: 3.281 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.9351, allocations: 4 kB / 0.5853 GB, free: 3.277 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.451e-05/0.9352, allocations: 27.89 kB / 0.5854 GB, free: 3.25 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.421e-05/0.9353, allocations: 49.69 kB / 0.5854 GB, free: 3.195 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.9353, allocations: 4 kB / 0.5854 GB, free: 3.191 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.9354, allocations: 0 / 0.5854 GB, free: 3.191 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.9354, allocations: 3.984 kB / 0.5854 GB, free: 3.188 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004268/0.9358, allocations: 317.2 kB / 0.5857 GB, free: 2.84 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.936, allocations: 37.7 kB / 0.5858 GB, free: 2.797 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.846e-05/0.936, allocations: 16.98 kB / 0.5858 GB, free: 2.777 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.9361, allocations: 4 kB / 0.5858 GB, free: 2.773 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.9361, allocations: 34.39 kB / 0.5858 GB, free: 2.734 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.543e-06/0.9361, allocations: 0 / 0.5858 GB, free: 2.734 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006624/0.9368, allocations: 233.4 kB / 0.586 GB, free: 2.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.9368, allocations: 51.41 kB / 0.5861 GB, free: 2.438 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.937, allocations: 198.6 kB / 0.5863 GB, free: 2.238 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.937, allocations: 25.7 kB / 0.5863 GB, free: 2.207 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.598e-05/0.9371, allocations: 96.03 kB / 0.5864 GB, free: 2.109 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.459e-05/0.9371, allocations: 31.55 kB / 0.5864 GB, free: 2.078 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-06/0.9371, allocations: 0 / 0.5864 GB, free: 2.078 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.696e-05/0.9372, allocations: 326.7 kB / 0.5867 GB, free: 1.75 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.089e-05/0.9373, allocations: 39.98 kB / 0.5868 GB, free: 1.711 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.981e-05/0.9374, allocations: 33.25 kB / 0.5868 GB, free: 1.68 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.715e-05/0.9374, allocations: 47.91 kB / 0.5869 GB, free: 1.633 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.9374, allocations: 7.938 kB / 0.5869 GB, free: 1.625 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001854/0.9376, allocations: 117.6 kB / 0.587 GB, free: 1.504 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.9377, allocations: 5.094 kB / 0.587 GB, free: 1.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.9377, allocations: 7.906 kB / 0.587 GB, free: 1.492 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.9377, allocations: 3.984 kB / 0.587 GB, free: 1.488 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.9378, allocations: 27.98 kB / 0.587 GB, free: 1.461 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.748e-06/0.9378, allocations: 0 / 0.587 GB, free: 1.461 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.806e-05/0.9379, allocations: 19.98 kB / 0.587 GB, free: 1.441 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.9379, allocations: 8 kB / 0.587 GB, free: 1.434 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.605e-05/0.938, allocations: 104.9 kB / 0.5871 GB, free: 1.324 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.278e-05/0.9381, allocations: 15.75 kB / 0.5872 GB, free: 1.309 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002625/0.9383, allocations: 155 kB / 0.5873 GB, free: 1.152 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.9383, allocations: 4 kB / 0.5873 GB, free: 1.148 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.9383, allocations: 0 / 0.5873 GB, free: 1.148 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.9384, allocations: 3.984 kB / 0.5873 GB, free: 1.145 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005299/0.9389, allocations: 456.5 kB / 0.5877 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.9389, allocations: 0 / 0.5877 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.939, allocations: 40.03 kB / 0.5878 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.939, allocations: 0 / 0.5878 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.9391, allocations: 4 kB / 0.5878 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.9391, allocations: 0 / 0.5878 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.9391, allocations: 0 / 0.5878 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002212/0.9393, allocations: 262.4 kB / 0.588 GB, free: 320 kB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000332/0.9396, allocations: 0.6219 MB / 0.5886 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.721e-05/0.9397, allocations: 92.92 kB / 0.5887 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/0.9398, allocations: 7.984 kB / 0.5887 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.9399, allocations: 12 kB / 0.5888 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.869e-05/0.9399, allocations: 19.92 kB / 0.5888 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.94, allocations: 0 / 0.5888 GB, free: 15.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001194/0.9401, allocations: 159.2 kB / 0.5889 GB, free: 15.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008508/0.9409, allocations: 35.94 kB / 0.589 GB, free: 15.31 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.0006784/0.9416, allocations: 343.6 kB / 0.5893 GB, free: 15.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001747/0.9418, allocations: 91.86 kB / 0.5894 GB, free: 14.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.9418, allocations: 0 / 0.5894 GB, free: 14.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.88e-05/0.9419, allocations: 47.92 kB / 0.5894 GB, free: 14.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.9421, allocations: 24.69 kB / 0.5894 GB, free: 14.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004749/0.9426, allocations: 237.2 kB / 0.5897 GB, free: 14.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003578/0.943, allocations: 0.7464 MB / 0.5904 GB, free: 13.86 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.943, allocations: 0 / 0.5904 GB, free: 13.86 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test30_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat does not exist to compare? outputFormat=mat