Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test31",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 3.2.3+maint.om/package.mo): time 0.001429/0.001429, allocations: 193 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 205.2 MB / 213.4 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009755/0.0009756, allocations: 97.55 kB / 261.4 MB, free: 13.53 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1886/0.1886, allocations: 43.49 MB / 352.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.21/0.3986, allocations: 64.96 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.7195, allocations: 58.84 MB / 476.6 MB, free: 5.168 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1363/0.8559, allocations: 85.67 MB / 0.5491 GB, free: 13.23 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/0.8562, allocations: 75.47 kB / 0.5492 GB, free: 13.16 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.01142/0.8676, allocations: 4.178 MB / 0.5533 GB, free: 8.949 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.8677, allocations: 8 kB / 0.5533 GB, free: 8.941 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.557e-05/0.8678, allocations: 15.81 kB / 0.5533 GB, free: 8.926 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.8681, allocations: 218.6 kB / 0.5535 GB, free: 8.672 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.8681, allocations: 4 kB / 0.5535 GB, free: 8.668 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.8681, allocations: 0 / 0.5535 GB, free: 8.668 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.711e-05/0.8682, allocations: 12 kB / 0.5535 GB, free: 8.656 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.8683, allocations: 41.69 kB / 0.5536 GB, free: 8.609 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.8683, allocations: 0 / 0.5536 GB, free: 8.609 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.8684, allocations: 7.906 kB / 0.5536 GB, free: 8.602 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.8684, allocations: 3.938 kB / 0.5536 GB, free: 8.598 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004454/0.8688, allocations: 285.4 kB / 0.5539 GB, free: 8.281 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.869, allocations: 37.64 kB / 0.5539 GB, free: 8.238 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.266e-05/0.8691, allocations: 16.86 kB / 0.5539 GB, free: 8.219 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.998e-05/0.8691, allocations: 3.984 kB / 0.5539 GB, free: 8.215 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.8692, allocations: 30.56 kB / 0.5539 GB, free: 8.176 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.8692, allocations: 0 / 0.5539 GB, free: 8.176 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000432/0.8696, allocations: 121.2 kB / 0.5541 GB, free: 8.051 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.8697, allocations: 55.41 kB / 0.5541 GB, free: 7.984 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002594/0.8699, allocations: 225.6 kB / 0.5543 GB, free: 7.754 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.8699, allocations: 25.7 kB / 0.5544 GB, free: 7.723 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.435e-05/0.87, allocations: 96.12 kB / 0.5544 GB, free: 7.625 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.827e-05/0.87, allocations: 23.64 kB / 0.5545 GB, free: 7.602 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-06/0.8701, allocations: 0 / 0.5545 GB, free: 7.602 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.8702, allocations: 326.8 kB / 0.5548 GB, free: 7.273 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.663e-05/0.8702, allocations: 15.94 kB / 0.5548 GB, free: 7.258 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.045e-05/0.8702, allocations: 8 kB / 0.5548 GB, free: 7.25 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.021e-05/0.8703, allocations: 20.17 kB / 0.5548 GB, free: 7.23 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-07/0.8703, allocations: 0 / 0.5548 GB, free: 7.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001181/0.8704, allocations: 73.5 kB / 0.5549 GB, free: 7.152 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.8705, allocations: 10.81 kB / 0.5549 GB, free: 7.145 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.8705, allocations: 0 / 0.5549 GB, free: 7.145 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.8705, allocations: 144 / 0.5549 GB, free: 7.145 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.784e-05/0.8706, allocations: 19.92 kB / 0.5549 GB, free: 7.125 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.8706, allocations: 0 / 0.5549 GB, free: 7.125 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.9e-05/0.8706, allocations: 8 kB / 0.5549 GB, free: 7.117 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.8707, allocations: 7.984 kB / 0.5549 GB, free: 7.109 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 (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 7.578e-05/0.8707, allocations: 102.5 kB / 0.555 GB, free: 7.004 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.27e-05/0.8708, allocations: 11.81 kB / 0.555 GB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000197/0.871, allocations: 90.75 kB / 0.5551 GB, free: 6.898 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.871, allocations: 0 / 0.5551 GB, free: 6.898 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.871, allocations: 3.906 kB / 0.5551 GB, free: 6.895 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.871, allocations: 4 kB / 0.5551 GB, free: 6.891 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003639/0.8714, allocations: 347.1 kB / 0.5555 GB, free: 6.508 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.8714, allocations: 0 / 0.5555 GB, free: 6.508 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.725e-05/0.8715, allocations: 15.98 kB / 0.5555 GB, free: 6.492 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.8715, allocations: 0 / 0.5555 GB, free: 6.492 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.8715, allocations: 3.906 kB / 0.5555 GB, free: 6.488 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.8715, allocations: 4 kB / 0.5555 GB, free: 6.484 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.8715, allocations: 4 kB / 0.5555 GB, free: 6.48 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000153/0.8717, allocations: 171.5 kB / 0.5557 GB, free: 6.297 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002447/0.8719, allocations: 0.5389 MB / 0.5562 GB, free: 5.738 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.858e-05/0.872, allocations: 108.8 kB / 0.5563 GB, free: 5.613 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.872, allocations: 0 / 0.5563 GB, free: 5.613 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.14e-05/0.8721, allocations: 8 kB / 0.5563 GB, free: 5.605 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/0.8722, allocations: 7.984 kB / 0.5563 GB, free: 5.598 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.8722, allocations: 0 / 0.5563 GB, free: 5.598 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001611/0.8723, allocations: 192.3 kB / 0.5565 GB, free: 5.41 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008084/0.8732, allocations: 24 kB / 0.5565 GB, free: 5.387 MB / 394.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.0006263/0.8738, allocations: 303.8 kB / 0.5568 GB, free: 5.125 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001068/0.8739, allocations: 35.92 kB / 0.5568 GB, free: 5.09 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.8739, allocations: 0 / 0.5568 GB, free: 5.09 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.375e-05/0.874, allocations: 16 kB / 0.5569 GB, free: 5.074 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.8742, allocations: 23.88 kB / 0.5569 GB, free: 5.047 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004576/0.8747, allocations: 216 kB / 0.5571 GB, free: 4.805 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000411/0.8751, allocations: 0.7381 MB / 0.5578 GB, free: 4.043 MB / 394.7 MB Notification: Performance of SimCode: time 2.71e-07/0.8751, allocations: 0 / 0.5578 GB, free: 4.043 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test31_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test31.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe 2>&1)