Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.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.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test1",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.001524/0.001524, allocations: 190 kB / 7.807 MB, free: 2.445 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.573/1.573, 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.001188/0.001189, allocations: 87.39 kB / 261.4 MB, free: 13.54 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.2634/0.2634, allocations: 43.48 MB / 352.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.21/0.4735, allocations: 64.97 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.8204, allocations: 58.83 MB / 476.7 MB, free: 5.293 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1325/0.953, allocations: 85.52 MB / 0.549 GB, free: 13.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/0.9533, allocations: 67.14 kB / 0.5491 GB, free: 13.41 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.0107/0.964, allocations: 3.539 MB / 0.5525 GB, free: 9.832 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.9641, allocations: 8 kB / 0.5525 GB, free: 9.824 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.717e-05/0.9641, allocations: 11.91 kB / 0.5525 GB, free: 9.812 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.9644, allocations: 186.9 kB / 0.5527 GB, free: 9.59 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.9644, allocations: 3.906 kB / 0.5527 GB, free: 9.586 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.9644, allocations: 8 kB / 0.5527 GB, free: 9.578 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.787e-05/0.9645, allocations: 12 kB / 0.5527 GB, free: 9.566 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.08e-05/0.9646, allocations: 37.69 kB / 0.5528 GB, free: 9.523 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.9646, allocations: 7.984 kB / 0.5528 GB, free: 9.516 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.9646, allocations: 0 / 0.5528 GB, free: 9.516 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.9646, allocations: 3.938 kB / 0.5528 GB, free: 9.512 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003012/0.9649, allocations: 249.4 kB / 0.553 GB, free: 9.23 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.9651, allocations: 33.7 kB / 0.5531 GB, free: 9.191 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.463e-05/0.9651, allocations: 8.859 kB / 0.5531 GB, free: 9.18 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.9651, allocations: 4 kB / 0.5531 GB, free: 9.176 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.9652, allocations: 30.56 kB / 0.5531 GB, free: 9.137 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.373e-06/0.9652, allocations: 0 / 0.5531 GB, free: 9.137 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000444/0.9656, allocations: 105.4 kB / 0.5532 GB, free: 9.027 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.9657, allocations: 51.41 kB / 0.5532 GB, free: 8.965 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.9658, allocations: 133.2 kB / 0.5534 GB, free: 8.824 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.9659, allocations: 25.7 kB / 0.5534 GB, free: 8.793 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.753e-05/0.9659, allocations: 84.14 kB / 0.5535 GB, free: 8.707 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.9659, allocations: 15.72 kB / 0.5535 GB, free: 8.691 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-06/0.9659, allocations: 0 / 0.5535 GB, free: 8.691 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.9661, allocations: 322.8 kB / 0.5538 GB, free: 8.367 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.304e-05/0.9661, allocations: 12 kB / 0.5538 GB, free: 8.355 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.864e-05/0.9661, allocations: 4 kB / 0.5538 GB, free: 8.352 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.849e-05/0.9662, allocations: 11.94 kB / 0.5538 GB, free: 8.34 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.9662, allocations: 0 / 0.5538 GB, free: 8.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001049/0.9663, allocations: 65.53 kB / 0.5539 GB, free: 8.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.9663, allocations: 4 kB / 0.5539 GB, free: 8.266 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.9663, allocations: 0 / 0.5539 GB, free: 8.266 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.9663, allocations: 4 kB / 0.5539 GB, free: 8.262 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.46e-05/0.9664, allocations: 19.98 kB / 0.5539 GB, free: 8.242 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.9664, allocations: 0 / 0.5539 GB, free: 8.242 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.772e-05/0.9665, allocations: 4 kB / 0.5539 GB, free: 8.238 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.9665, allocations: 3.984 kB / 0.5539 GB, free: 8.234 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.753e-05/0.9666, allocations: 110.3 kB / 0.554 GB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.9666, allocations: 7.906 kB / 0.554 GB, free: 8.113 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001422/0.9668, allocations: 69.86 kB / 0.5541 GB, free: 8.039 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.9668, allocations: 4.312 kB / 0.5541 GB, free: 8.035 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.9668, allocations: 0 / 0.5541 GB, free: 8.035 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.9668, allocations: 3.938 kB / 0.5541 GB, free: 8.031 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002962/0.9671, allocations: 303.1 kB / 0.5544 GB, free: 7.691 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.9671, allocations: 0 / 0.5544 GB, free: 7.691 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.32e-05/0.9672, allocations: 15.98 kB / 0.5544 GB, free: 7.676 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.9672, allocations: 0 / 0.5544 GB, free: 7.676 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.9672, allocations: 4 kB / 0.5544 GB, free: 7.672 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.9673, allocations: 0 / 0.5544 GB, free: 7.672 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.9673, allocations: 0 / 0.5544 GB, free: 7.672 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000133/0.9674, allocations: 163.4 kB / 0.5546 GB, free: 7.496 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002373/0.9676, allocations: 0.5272 MB / 0.5551 GB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.649e-05/0.9677, allocations: 92.95 kB / 0.5552 GB, free: 6.84 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.9677, allocations: 0 / 0.5552 GB, free: 6.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.192e-05/0.9678, allocations: 7.984 kB / 0.5552 GB, free: 6.832 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.9679, allocations: 4 kB / 0.5552 GB, free: 6.828 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.9679, allocations: 0 / 0.5552 GB, free: 6.828 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.411e-05/0.9679, allocations: 103.3 kB / 0.5553 GB, free: 6.727 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008882/0.9688, allocations: 31.83 kB / 0.5553 GB, free: 6.695 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.0006925/0.9695, allocations: 310 kB / 0.5556 GB, free: 6.43 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.879e-05/0.9697, allocations: 27.98 kB / 0.5556 GB, free: 6.402 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.9697, allocations: 0 / 0.5556 GB, free: 6.402 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.087e-05/0.9697, allocations: 16 kB / 0.5557 GB, free: 6.387 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.9699, allocations: 15.8 kB / 0.5557 GB, free: 6.371 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003171/0.9703, allocations: 107.6 kB / 0.5558 GB, free: 6.238 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002871/0.9706, allocations: 0.7146 MB / 0.5565 GB, free: 5.5 MB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/0.9706, allocations: 0 / 0.5565 GB, free: 5.5 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1)