Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.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.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19",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.001647/0.001647, 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.236/1.236, allocations: 221.4 MB / 230.3 MB, free: 7.691 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.0009202/0.0009202, allocations: 86.36 kB / 281.2 MB, free: 5.492 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.1607/0.1607, allocations: 44.15 MB / 376.1 MB, free: 3.215 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1889/0.3496, allocations: 68.02 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.4527, allocations: 61.91 MB / 0.4942 GB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2933/0.746, allocations: 90.07 MB / 0.5821 GB, free: 6.641 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002043/0.7463, allocations: 75.95 kB / 0.5822 GB, free: 6.566 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.02184/0.7681, allocations: 8.943 MB / 0.5909 GB, free: 13.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.7682, allocations: 11.94 kB / 0.5909 GB, free: 13.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.089e-05/0.7683, allocations: 35.53 kB / 0.591 GB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000531/0.7688, allocations: 333.3 kB / 0.5913 GB, free: 13.17 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.7688, allocations: 4 kB / 0.5913 GB, free: 13.17 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.7689, allocations: 7.906 kB / 0.5913 GB, free: 13.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001336/0.769, allocations: 55.97 kB / 0.5914 GB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.7691, allocations: 81.61 kB / 0.5914 GB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.7692, allocations: 0 / 0.5914 GB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.7692, allocations: 0 / 0.5914 GB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.7692, allocations: 4 kB / 0.5914 GB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006362/0.7698, allocations: 457 kB / 0.5919 GB, free: 12.53 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.923e-05/0.7699, allocations: 70.55 kB / 0.592 GB, free: 12.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.504e-05/0.77, allocations: 24.98 kB / 0.592 GB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.77, allocations: 7.984 kB / 0.592 GB, free: 12.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.7701, allocations: 34.55 kB / 0.592 GB, free: 12.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.7701, allocations: 0 / 0.592 GB, free: 12.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002365/0.7703, allocations: 117.2 kB / 0.5921 GB, free: 12.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.7704, allocations: 59.39 kB / 0.5922 GB, free: 12.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000547/0.7709, allocations: 477 kB / 0.5926 GB, free: 11.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.7709, allocations: 25.7 kB / 0.5927 GB, free: 11.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.602e-05/0.771, allocations: 132.3 kB / 0.5928 GB, free: 11.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.771, allocations: 15.75 kB / 0.5928 GB, free: 11.53 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-06/0.771, allocations: 0 / 0.5928 GB, free: 11.53 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.7712, allocations: 354.7 kB / 0.5931 GB, free: 11.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.019e-05/0.7712, allocations: 27.98 kB / 0.5932 GB, free: 11.15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.12e-05/0.7713, allocations: 19.98 kB / 0.5932 GB, free: 11.13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.878e-05/0.7713, allocations: 27.98 kB / 0.5932 GB, free: 11.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.7713, allocations: 0 / 0.5932 GB, free: 11.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000173/0.7715, allocations: 113.2 kB / 0.5933 GB, free: 10.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.7715, allocations: 8 kB / 0.5933 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.7716, allocations: 0 / 0.5933 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.7716, allocations: 0 / 0.5933 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.99e-05/0.7717, allocations: 12 kB / 0.5933 GB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.7717, allocations: 7.922 kB / 0.5933 GB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.638e-05/0.7718, allocations: 11.94 kB / 0.5934 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.7718, allocations: 7.938 kB / 0.5934 GB, free: 10.94 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 (6): * Single equations (assignments): 6 * 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 5.891e-05/0.7718, allocations: 104.9 kB / 0.5935 GB, free: 10.83 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.794e-05/0.7719, allocations: 35.53 kB / 0.5935 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002554/0.7722, allocations: 141 kB / 0.5936 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.7722, allocations: 4 kB / 0.5936 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.7722, allocations: 4 kB / 0.5936 GB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.7722, allocations: 0 / 0.5936 GB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/0.7725, allocations: 278 kB / 0.5939 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.7725, allocations: 0 / 0.5939 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.575e-05/0.7726, allocations: 12 kB / 0.5939 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.085e-05/0.7726, allocations: 3.984 kB / 0.5939 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.7726, allocations: 0 / 0.5939 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.7726, allocations: 3.938 kB / 0.5939 GB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.7726, allocations: 320 / 0.5939 GB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002048/0.7728, allocations: 219 kB / 0.5941 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003041/0.7731, allocations: 0.5854 MB / 0.5947 GB, free: 9.469 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001621/0.7733, allocations: 144.6 kB / 0.5948 GB, free: 9.309 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.432e-05/0.7734, allocations: 3.938 kB / 0.5949 GB, free: 9.305 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.7735, allocations: 4 kB / 0.5949 GB, free: 9.301 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.7735, allocations: 15.97 kB / 0.5949 GB, free: 9.285 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.7735, allocations: 0 / 0.5949 GB, free: 9.285 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0003845/0.7739, allocations: 383.1 kB / 0.5952 GB, free: 8.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009078/0.7748, allocations: 59.84 kB / 0.5953 GB, free: 8.852 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.0008447/0.7757, allocations: 425.3 kB / 0.5957 GB, free: 8.547 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001216/0.7758, allocations: 55.97 kB / 0.5958 GB, free: 8.492 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.7758, allocations: 0 / 0.5958 GB, free: 8.492 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.509e-05/0.7759, allocations: 27.94 kB / 0.5958 GB, free: 8.465 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000392/0.7763, allocations: 64.44 kB / 0.5958 GB, free: 8.406 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008335/0.7771, allocations: 484.2 kB / 0.5963 GB, free: 7.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004699/0.7776, allocations: 0.8369 MB / 0.5971 GB, free: 7.047 MB / 410.7 MB Notification: Performance of SimCode: time 3.71e-07/0.7776, allocations: 0 / 0.5971 GB, free: 7.047 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1)