Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4",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.00191/0.00191, allocations: 178.8 kB / 8.521 MB, free: 1.84 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.408/1.408, allocations: 221.4 MB / 230.3 MB, free: 2.996 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.0009739/0.000974, allocations: 93.48 kB / 281.2 MB, free: 1.211 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.3643/0.3643, allocations: 44.14 MB / 376.1 MB, free: 43.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1554/0.5198, allocations: 68.04 MB / 444.1 MB, free: 11.57 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.8935, allocations: 61.91 MB / 0.4942 GB, free: 42.39 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1015/0.995, allocations: 87.69 MB / 0.5798 GB, free: 13.58 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001994/0.9953, allocations: 69.12 kB / 0.5799 GB, free: 13.51 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01699/1.012, allocations: 7.95 MB / 0.5876 GB, free: 5.543 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/1.012, allocations: 8 kB / 0.5877 GB, free: 5.535 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.432e-05/1.012, allocations: 43.44 kB / 0.5877 GB, free: 5.492 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004503/1.013, allocations: 319.4 kB / 0.588 GB, free: 5.141 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.622e-06/1.013, allocations: 0 / 0.588 GB, free: 5.141 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/1.013, allocations: 4 kB / 0.588 GB, free: 5.137 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.57e-05/1.013, allocations: 12 kB / 0.588 GB, free: 5.125 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.138e-05/1.013, allocations: 41.69 kB / 0.5881 GB, free: 5.078 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/1.013, allocations: 4 kB / 0.5881 GB, free: 5.074 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/1.013, allocations: 0 / 0.5881 GB, free: 5.074 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/1.013, allocations: 0 / 0.5881 GB, free: 5.074 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005286/1.014, allocations: 421 kB / 0.5885 GB, free: 4.625 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/1.014, allocations: 25.72 kB / 0.5885 GB, free: 4.594 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.929e-05/1.014, allocations: 12.86 kB / 0.5885 GB, free: 4.578 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/1.014, allocations: 4 kB / 0.5885 GB, free: 4.574 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/1.014, allocations: 38.59 kB / 0.5885 GB, free: 4.527 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.794e-06/1.014, allocations: 0 / 0.5885 GB, free: 4.527 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005378/1.014, allocations: 184 kB / 0.5887 GB, free: 4.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/1.015, allocations: 51.41 kB / 0.5888 GB, free: 4.277 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/1.016, allocations: 0.7512 MB / 0.5895 GB, free: 3.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/1.016, allocations: 25.7 kB / 0.5895 GB, free: 3.488 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.192e-05/1.016, allocations: 136 kB / 0.5896 GB, free: 3.352 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/1.016, allocations: 19.75 kB / 0.5897 GB, free: 3.332 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-06/1.016, allocations: 0 / 0.5897 GB, free: 3.332 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001813/1.016, allocations: 358.7 kB / 0.59 GB, free: 2.973 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.019e-05/1.016, allocations: 12 kB / 0.59 GB, free: 2.961 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.202e-05/1.016, allocations: 8 kB / 0.59 GB, free: 2.953 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.259e-05/1.016, allocations: 16.17 kB / 0.59 GB, free: 2.938 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/1.016, allocations: 0 / 0.59 GB, free: 2.938 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001793/1.016, allocations: 101.1 kB / 0.5901 GB, free: 2.832 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/1.016, allocations: 7.984 kB / 0.5901 GB, free: 2.824 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/1.016, allocations: 0 / 0.5901 GB, free: 2.824 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.518e-05/1.016, allocations: 0 / 0.5901 GB, free: 2.824 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.328e-05/1.017, allocations: 12 kB / 0.5902 GB, free: 2.812 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/1.017, allocations: 0 / 0.5902 GB, free: 2.812 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.938e-05/1.017, allocations: 15.98 kB / 0.5902 GB, free: 2.797 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/1.017, allocations: 0 / 0.5902 GB, free: 2.797 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 (5): * Single equations (assignments): 5 * 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.154e-05/1.017, allocations: 109.8 kB / 0.5903 GB, free: 2.684 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.992e-05/1.017, allocations: 39.44 kB / 0.5903 GB, free: 2.645 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002081/1.017, allocations: 117.2 kB / 0.5904 GB, free: 2.523 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/1.017, allocations: 3.984 kB / 0.5904 GB, free: 2.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/1.017, allocations: 0 / 0.5904 GB, free: 2.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/1.017, allocations: 4 kB / 0.5904 GB, free: 2.516 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000701/1.018, allocations: 0.5341 MB / 0.591 GB, free: 1.938 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/1.018, allocations: 0 / 0.591 GB, free: 1.938 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.918e-05/1.018, allocations: 15.98 kB / 0.591 GB, free: 1.922 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/1.018, allocations: 0 / 0.591 GB, free: 1.922 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/1.018, allocations: 0 / 0.591 GB, free: 1.922 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/1.018, allocations: 7.938 kB / 0.591 GB, free: 1.914 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.018, allocations: 4 kB / 0.591 GB, free: 1.91 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001787/1.018, allocations: 191.2 kB / 0.5912 GB, free: 1.707 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002749/1.018, allocations: 0.5659 MB / 0.5917 GB, free: 1.121 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001762/1.019, allocations: 160.5 kB / 0.5919 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.063e-05/1.019, allocations: 0 / 0.5919 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/1.019, allocations: 11.98 kB / 0.5919 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.768e-05/1.019, allocations: 8 kB / 0.5919 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/1.019, allocations: 0 / 0.5919 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0005937/1.02, allocations: 0.612 MB / 0.5925 GB, free: 324 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008782/1.02, allocations: 67.83 kB / 0.5926 GB, free: 256 kB / 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 (5): * Single equations (assignments): 5 * 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.0007826/1.021, allocations: 283.7 kB / 0.5928 GB, free: 60 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001022/1.021, allocations: 31.92 kB / 0.5929 GB, free: 28 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.021, allocations: 0 / 0.5929 GB, free: 28 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.131e-05/1.021, allocations: 19.94 kB / 0.5929 GB, free: 8 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/1.022, allocations: 21.98 kB / 0.5929 GB, free: 15.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/1.023, allocations: 0.6934 MB / 0.5936 GB, free: 15.26 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000514/1.023, allocations: 0.8548 MB / 0.5944 GB, free: 14.38 MB / 426.7 MB Notification: Performance of SimCode: time 2.9e-07/1.023, allocations: 4 kB / 0.5944 GB, free: 14.38 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1)