Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17",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.001009/0.001009, allocations: 174.9 kB / 8.516 MB, free: 1.844 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.274/1.274, allocations: 221.4 MB / 230.3 MB, free: 2.988 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.0009916/0.0009915, allocations: 88.52 kB / 281.2 MB, free: 1.215 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4/0.4, allocations: 44.14 MB / 376.1 MB, free: 43.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1456/0.5456, allocations: 68.04 MB / 444.1 MB, free: 11.57 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4002/0.9458, allocations: 61.9 MB / 0.4942 GB, free: 42.62 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1011/1.047, allocations: 86.92 MB / 0.5791 GB, free: 14.44 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/1.047, allocations: 75.95 kB / 0.5791 GB, free: 14.37 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.01203/1.059, allocations: 4.574 MB / 0.5836 GB, free: 9.777 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/1.059, allocations: 8 kB / 0.5836 GB, free: 9.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/1.059, allocations: 15.8 kB / 0.5836 GB, free: 9.754 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/1.06, allocations: 171 kB / 0.5838 GB, free: 9.547 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/1.06, allocations: 3.938 kB / 0.5838 GB, free: 9.543 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/1.06, allocations: 4 kB / 0.5838 GB, free: 9.539 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001005/1.06, allocations: 35.98 kB / 0.5838 GB, free: 9.504 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/1.06, allocations: 183.2 kB / 0.584 GB, free: 9.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/1.06, allocations: 0 / 0.584 GB, free: 9.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/1.06, allocations: 4 kB / 0.584 GB, free: 9.266 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.836e-05/1.06, allocations: 11.98 kB / 0.584 GB, free: 9.254 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/1.061, allocations: 1.674 MB / 0.5856 GB, free: 7.484 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.167e-05/1.061, allocations: 165.1 kB / 0.5858 GB, free: 7.312 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.611e-05/1.061, allocations: 92.05 kB / 0.5859 GB, free: 7.219 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/1.061, allocations: 79.28 kB / 0.586 GB, free: 7.141 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/1.061, allocations: 105.8 kB / 0.5861 GB, free: 7.027 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 2.394e-06/1.061, allocations: 0 / 0.5861 GB, free: 7.027 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 8.582e-05/1.061, allocations: 37.55 kB / 0.5861 GB, free: 6.984 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/1.062, allocations: 55.39 kB / 0.5862 GB, free: 6.918 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/1.062, allocations: 161.2 kB / 0.5863 GB, free: 6.754 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/1.062, allocations: 29.7 kB / 0.5863 GB, free: 6.719 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.944e-05/1.062, allocations: 147.1 kB / 0.5865 GB, free: 6.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.099e-06/1.062, allocations: 4 kB / 0.5865 GB, free: 6.566 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-06/1.062, allocations: 0 / 0.5865 GB, free: 6.566 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001454/1.062, allocations: 318.8 kB / 0.5868 GB, free: 6.246 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.303e-05/1.062, allocations: 28 kB / 0.5868 GB, free: 6.219 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/1.062, allocations: 154.5 kB / 0.587 GB, free: 6.008 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.899e-05/1.062, allocations: 63.91 kB / 0.587 GB, free: 5.945 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/1.062, allocations: 4 kB / 0.587 GB, free: 5.941 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003202/1.063, allocations: 161.7 kB / 0.5872 GB, free: 5.777 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/1.063, allocations: 4.781 kB / 0.5872 GB, free: 5.773 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/1.063, allocations: 8 kB / 0.5872 GB, free: 5.766 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/1.063, allocations: 4 kB / 0.5872 GB, free: 5.762 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/1.063, allocations: 39.92 kB / 0.5872 GB, free: 5.723 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/1.063, allocations: 11.92 kB / 0.5872 GB, free: 5.711 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.976e-05/1.063, allocations: 23.75 kB / 0.5873 GB, free: 5.688 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/1.063, allocations: 8 kB / 0.5873 GB, free: 5.68 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 0.000138/1.063, allocations: 193.2 kB / 0.5875 GB, free: 5.484 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.499e-05/1.063, allocations: 116.7 kB / 0.5876 GB, free: 5.363 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.548e-05/1.063, allocations: 116.6 kB / 0.5877 GB, free: 5.246 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.028e-05/1.063, allocations: 180.3 kB / 0.5879 GB, free: 5.062 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-05/1.063, allocations: 182.6 kB / 0.588 GB, free: 4.879 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.483e-05/1.064, allocations: 176.3 kB / 0.5882 GB, free: 4.699 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003106/1.064, allocations: 409.8 kB / 0.5886 GB, free: 4.254 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.516e-05/1.064, allocations: 104.9 kB / 0.5887 GB, free: 4.145 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.591e-05/1.064, allocations: 101 kB / 0.5888 GB, free: 4.039 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.059e-05/1.064, allocations: 184.2 kB / 0.589 GB, free: 3.852 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.909e-05/1.064, allocations: 184.1 kB / 0.5891 GB, free: 3.664 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.763e-05/1.064, allocations: 188.2 kB / 0.5893 GB, free: 3.473 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.469e-05/1.064, allocations: 176.3 kB / 0.5895 GB, free: 3.293 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001623/1.064, allocations: 307.7 kB / 0.5898 GB, free: 2.969 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003447/1.065, allocations: 0.6885 MB / 0.5904 GB, free: 2.254 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/1.065, allocations: 190 kB / 0.5906 GB, free: 2.043 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.078e-05/1.065, allocations: 180.2 kB / 0.5908 GB, free: 1.859 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.1e-05/1.065, allocations: 104.9 kB / 0.5909 GB, free: 1.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/1.065, allocations: 176.3 kB / 0.5911 GB, free: 1.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-05/1.065, allocations: 109 kB / 0.5912 GB, free: 1.457 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001021/1.065, allocations: 132.7 kB / 0.5913 GB, free: 1.328 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009293/1.066, allocations: 15.91 kB / 0.5913 GB, free: 1.312 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 (0): * Single equations (assignments): 0 * 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.0004634/1.067, allocations: 245.7 kB / 0.5915 GB, free: 1.094 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001491/1.067, allocations: 63.86 kB / 0.5916 GB, free: 1.031 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.067, allocations: 1.25 kB / 0.5916 GB, free: 1.031 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/1.067, allocations: 0 / 0.5916 GB, free: 1.031 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/1.067, allocations: 0.533 MB / 0.5921 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000415/1.068, allocations: 192 kB / 0.5923 GB, free: 292 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004888/1.068, allocations: 0.7178 MB / 0.593 GB, free: 15.54 MB / 426.7 MB Notification: Performance of SimCode: time 3.046e-06/1.068, allocations: 0 / 0.593 GB, free: 15.54 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1)