Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.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.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test9",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.001181/0.001181, allocations: 190.3 kB / 7.8 MB, free: 2.449 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.306/1.306, allocations: 205.2 MB / 213.4 MB, free: 13.99 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.0009082/0.0009082, allocations: 103.2 kB / 261.4 MB, free: 13.56 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.2243/0.2243, allocations: 43.5 MB / 352.9 MB, free: 1.973 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2165/0.4409, allocations: 64.96 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.7239, allocations: 58.84 MB / 476.7 MB, free: 5.285 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1251/0.8491, allocations: 86.24 MB / 0.5497 GB, free: 12.74 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/0.8493, allocations: 67.97 kB / 0.5498 GB, free: 12.68 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.01751/0.8669, allocations: 8.016 MB / 0.5576 GB, free: 4.602 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.8669, allocations: 8 kB / 0.5576 GB, free: 4.594 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.665e-05/0.867, allocations: 43.44 kB / 0.5576 GB, free: 4.551 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004918/0.8675, allocations: 327.3 kB / 0.558 GB, free: 4.188 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.8675, allocations: 3.938 kB / 0.558 GB, free: 4.184 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.8676, allocations: 4 kB / 0.558 GB, free: 4.18 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.976e-05/0.8676, allocations: 23.98 kB / 0.558 GB, free: 4.156 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.809e-05/0.8677, allocations: 41.69 kB / 0.558 GB, free: 4.109 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.8677, allocations: 0 / 0.558 GB, free: 4.109 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.8678, allocations: 3.906 kB / 0.558 GB, free: 4.105 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.8678, allocations: 0 / 0.558 GB, free: 4.105 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000606/0.8684, allocations: 421.4 kB / 0.5584 GB, free: 3.656 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.717e-05/0.8685, allocations: 42.42 kB / 0.5585 GB, free: 3.605 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.525e-05/0.8685, allocations: 16.8 kB / 0.5585 GB, free: 3.586 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.8685, allocations: 4.078 kB / 0.5585 GB, free: 3.582 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.8686, allocations: 34.56 kB / 0.5585 GB, free: 3.539 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.8686, allocations: 4 kB / 0.5585 GB, free: 3.535 MB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002385/0.8688, allocations: 81.22 kB / 0.5586 GB, free: 3.449 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.8689, allocations: 59.31 kB / 0.5587 GB, free: 3.379 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.87, allocations: 0.7512 MB / 0.5594 GB, free: 2.617 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.87, allocations: 25.7 kB / 0.5594 GB, free: 2.586 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.525e-05/0.87, allocations: 132.1 kB / 0.5596 GB, free: 2.453 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.8701, allocations: 11.84 kB / 0.5596 GB, free: 2.441 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-06/0.8701, allocations: 0 / 0.5596 GB, free: 2.441 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.8702, allocations: 366.8 kB / 0.5599 GB, free: 2.074 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.387e-05/0.8703, allocations: 8 kB / 0.5599 GB, free: 2.066 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.154e-05/0.8703, allocations: 15.92 kB / 0.5599 GB, free: 2.051 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.746e-05/0.8703, allocations: 8 kB / 0.5599 GB, free: 2.043 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.8703, allocations: 3.906 kB / 0.5599 GB, free: 2.039 MB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001316/0.8705, allocations: 89.22 kB / 0.56 GB, free: 1.945 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.8705, allocations: 8 kB / 0.56 GB, free: 1.938 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.8705, allocations: 0 / 0.56 GB, free: 1.938 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.8705, allocations: 0 / 0.56 GB, free: 1.938 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.971e-05/0.8706, allocations: 19.98 kB / 0.5601 GB, free: 1.918 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.8706, allocations: 3.906 kB / 0.5601 GB, free: 1.914 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.598e-05/0.8707, allocations: 8 kB / 0.5601 GB, free: 1.906 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.8707, allocations: 0 / 0.5601 GB, free: 1.906 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 (3): * Single equations (assignments): 3 * 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 6.632e-05/0.8708, allocations: 110.3 kB / 0.5602 GB, free: 1.793 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.686e-05/0.8709, allocations: 43.44 kB / 0.5602 GB, free: 1.75 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001835/0.8711, allocations: 113 kB / 0.5603 GB, free: 1.625 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.8711, allocations: 0 / 0.5603 GB, free: 1.625 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.8711, allocations: 0 / 0.5603 GB, free: 1.625 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.8711, allocations: 0 / 0.5603 GB, free: 1.625 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002796/0.8714, allocations: 305.9 kB / 0.5606 GB, free: 1.289 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.8714, allocations: 0 / 0.5606 GB, free: 1.289 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.959e-05/0.8715, allocations: 11.98 kB / 0.5606 GB, free: 1.277 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.8715, allocations: 0 / 0.5606 GB, free: 1.277 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.8715, allocations: 0 / 0.5606 GB, free: 1.277 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.8715, allocations: 4 kB / 0.5606 GB, free: 1.273 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.8715, allocations: 7.938 kB / 0.5606 GB, free: 1.266 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001803/0.8717, allocations: 191.1 kB / 0.5608 GB, free: 1.062 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002803/0.872, allocations: 0.5619 MB / 0.5614 GB, free: 492 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000174/0.8722, allocations: 160.5 kB / 0.5615 GB, free: 312 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.168e-05/0.8722, allocations: 8 kB / 0.5615 GB, free: 304 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.8723, allocations: 4 kB / 0.5615 GB, free: 300 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.8724, allocations: 3.984 kB / 0.5615 GB, free: 296 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.8724, allocations: 4 kB / 0.5615 GB, free: 292 kB / 394.7 MB Notification: Performance of sort global known variables: time 0.0006784/0.8731, allocations: 0.6082 MB / 0.5621 GB, free: 15.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008596/0.8739, allocations: 55.91 kB / 0.5622 GB, free: 15.62 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 (3): * Single equations (assignments): 3 * 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.0006176/0.8746, allocations: 263 kB / 0.5624 GB, free: 15.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001053/0.8747, allocations: 31.94 kB / 0.5625 GB, free: 15.37 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.8747, allocations: 0 / 0.5625 GB, free: 15.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.761e-05/0.8747, allocations: 8 kB / 0.5625 GB, free: 15.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.875, allocations: 25.95 kB / 0.5625 GB, free: 15.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.8762, allocations: 0.6916 MB / 0.5632 GB, free: 14.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005086/0.8767, allocations: 0.8524 MB / 0.564 GB, free: 13.73 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.8767, allocations: 0 / 0.564 GB, free: 13.73 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test9_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test9.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1)