Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20",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.0009971/0.0009971, allocations: 171.4 kB / 8.514 MB, free: 1.848 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.283/1.283, allocations: 221.4 MB / 230.3 MB, free: 7.707 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.000965/0.0009649, allocations: 96.66 kB / 281.2 MB, free: 5.461 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.1844/0.1844, allocations: 44.15 MB / 376.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2436/0.4281, allocations: 68.02 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.5599, allocations: 61.91 MB / 0.4942 GB, free: 1.543 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3582/0.9181, allocations: 90.25 MB / 0.5823 GB, free: 6.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/0.9185, allocations: 72.61 kB / 0.5824 GB, free: 6.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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.02437/0.9428, allocations: 9.042 MB / 0.5912 GB, free: 13.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.9429, allocations: 15.94 kB / 0.5912 GB, free: 13.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.943, allocations: 39.44 kB / 0.5913 GB, free: 13.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00065/0.9437, allocations: 345.1 kB / 0.5916 GB, free: 12.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.9437, allocations: 8 kB / 0.5916 GB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.137e-05/0.9438, allocations: 11.91 kB / 0.5916 GB, free: 12.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000174/0.9439, allocations: 75.97 kB / 0.5917 GB, free: 12.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.9441, allocations: 105.5 kB / 0.5918 GB, free: 12.72 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.9442, allocations: 0 / 0.5918 GB, free: 12.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.9442, allocations: 0 / 0.5918 GB, free: 12.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.9442, allocations: 7.984 kB / 0.5918 GB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008184/0.945, allocations: 0.5085 MB / 0.5923 GB, free: 12.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.9452, allocations: 89.62 kB / 0.5924 GB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.744e-05/0.9452, allocations: 33.02 kB / 0.5924 GB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.404e-05/0.9453, allocations: 7.984 kB / 0.5924 GB, free: 12.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.9453, allocations: 34.56 kB / 0.5924 GB, free: 11.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.452e-06/0.9453, allocations: 0 / 0.5924 GB, free: 11.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008418/0.9462, allocations: 363.9 kB / 0.5928 GB, free: 11.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.9462, allocations: 59.34 kB / 0.5928 GB, free: 11.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000609/0.9468, allocations: 477 kB / 0.5933 GB, free: 11.08 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.9469, allocations: 25.7 kB / 0.5933 GB, free: 11.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.589e-05/0.9469, allocations: 132.4 kB / 0.5935 GB, free: 10.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.703e-05/0.947, allocations: 59.09 kB / 0.5935 GB, free: 10.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.386e-06/0.947, allocations: 8 kB / 0.5935 GB, free: 10.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.9472, allocations: 350.8 kB / 0.5939 GB, free: 10.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.251e-05/0.9473, allocations: 51.98 kB / 0.5939 GB, free: 10.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.255e-05/0.9473, allocations: 55.98 kB / 0.594 GB, free: 10.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.802e-05/0.9474, allocations: 66.22 kB / 0.594 GB, free: 10.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.9475, allocations: 0 / 0.594 GB, free: 10.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003116/0.9478, allocations: 197.1 kB / 0.5942 GB, free: 10.13 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.9478, allocations: 8 kB / 0.5942 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.9478, allocations: 7.922 kB / 0.5942 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.9478, allocations: 4 kB / 0.5942 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.948, allocations: 39.92 kB / 0.5943 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.948, allocations: 0 / 0.5943 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.681e-05/0.9481, allocations: 8 kB / 0.5943 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.9481, allocations: 7.984 kB / 0.5943 GB, free: 10.06 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 (17): * Single equations (assignments): 17 * 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.157e-05/0.9482, allocations: 109 kB / 0.5944 GB, free: 9.945 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.745e-05/0.9483, allocations: 39.44 kB / 0.5944 GB, free: 9.906 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004474/0.9488, allocations: 263.5 kB / 0.5947 GB, free: 9.641 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.9488, allocations: 4 kB / 0.5947 GB, free: 9.637 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.9488, allocations: 0 / 0.5947 GB, free: 9.637 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.9488, allocations: 0 / 0.5947 GB, free: 9.637 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008739/0.9497, allocations: 0.6781 MB / 0.5953 GB, free: 8.914 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.9497, allocations: 0 / 0.5953 GB, free: 8.914 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001327/0.9498, allocations: 39.97 kB / 0.5954 GB, free: 8.875 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.9499, allocations: 0 / 0.5954 GB, free: 8.875 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.9499, allocations: 7.938 kB / 0.5954 GB, free: 8.867 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.9499, allocations: 0 / 0.5954 GB, free: 8.867 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.9499, allocations: 0 / 0.5954 GB, free: 8.867 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003481/0.9502, allocations: 309 kB / 0.5957 GB, free: 8.547 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004621/0.9507, allocations: 0.675 MB / 0.5963 GB, free: 7.852 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/0.9509, allocations: 148.6 kB / 0.5965 GB, free: 7.688 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.391e-05/0.9509, allocations: 3.906 kB / 0.5965 GB, free: 7.684 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.9511, allocations: 19.98 kB / 0.5965 GB, free: 7.664 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.897e-05/0.9511, allocations: 7.984 kB / 0.5965 GB, free: 7.656 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.9511, allocations: 4 kB / 0.5965 GB, free: 7.652 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0004194/0.9516, allocations: 379.1 kB / 0.5969 GB, free: 7.281 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009866/0.9526, allocations: 67.94 kB / 0.5969 GB, free: 7.215 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 (17): * Single equations (assignments): 17 * 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.001111/0.9537, allocations: 0.5098 MB / 0.5974 GB, free: 6.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002576/0.9539, allocations: 142.8 kB / 0.5976 GB, free: 6.684 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.954, allocations: 0 / 0.5976 GB, free: 6.684 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.9541, allocations: 79.91 kB / 0.5977 GB, free: 6.605 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004413/0.9545, allocations: 64.44 kB / 0.5977 GB, free: 6.547 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.9556, allocations: 0.5352 MB / 0.5982 GB, free: 5.988 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006302/0.9562, allocations: 0.8643 MB / 0.5991 GB, free: 5.098 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.9562, allocations: 0 / 0.5991 GB, free: 5.098 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1)