Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.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.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test29",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.001892/0.001892, allocations: 193.1 kB / 7.805 MB, free: 2.5 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.459/1.459, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0008532/0.0008532, allocations: 96.83 kB / 261.4 MB, free: 13.62 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.2097/0.2097, allocations: 43.48 MB / 352.8 MB, free: 2.047 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2315/0.4412, allocations: 64.98 MB / 417.8 MB, free: 40.49 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.7903, allocations: 58.84 MB / 476.7 MB, free: 5.191 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1751/0.9655, allocations: 85.76 MB / 0.5492 GB, free: 13.15 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003244/0.9659, allocations: 71.36 kB / 0.5493 GB, free: 13.09 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.01549/0.9814, allocations: 3.974 MB / 0.5532 GB, free: 9.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.866e-05/0.9815, allocations: 8 kB / 0.5532 GB, free: 9.062 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.386e-05/0.9815, allocations: 7.906 kB / 0.5532 GB, free: 9.055 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003588/0.9819, allocations: 193.7 kB / 0.5534 GB, free: 8.828 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.9819, allocations: 4 kB / 0.5534 GB, free: 8.824 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.091e-05/0.982, allocations: 0 / 0.5534 GB, free: 8.824 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001385/0.9821, allocations: 27.98 kB / 0.5534 GB, free: 8.797 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.9823, allocations: 75.19 kB / 0.5535 GB, free: 8.711 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.9823, allocations: 0 / 0.5535 GB, free: 8.711 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.9824, allocations: 0 / 0.5535 GB, free: 8.711 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.9824, allocations: 0 / 0.5535 GB, free: 8.711 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007173/0.9831, allocations: 373.6 kB / 0.5538 GB, free: 8.305 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003135/0.9834, allocations: 67.34 kB / 0.5539 GB, free: 8.227 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.44e-05/0.9835, allocations: 29.89 kB / 0.5539 GB, free: 8.191 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.219e-05/0.9836, allocations: 0 / 0.5539 GB, free: 8.191 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.9836, allocations: 30.56 kB / 0.554 GB, free: 8.152 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.9836, allocations: 7.938 kB / 0.554 GB, free: 8.145 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007553/0.9844, allocations: 177.2 kB / 0.5541 GB, free: 7.965 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/0.9845, allocations: 81.05 kB / 0.5542 GB, free: 7.867 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.9846, allocations: 137.1 kB / 0.5544 GB, free: 7.723 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.9847, allocations: 25.7 kB / 0.5544 GB, free: 7.691 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.047e-05/0.9847, allocations: 88.14 kB / 0.5545 GB, free: 7.602 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.784e-05/0.9848, allocations: 39.45 kB / 0.5545 GB, free: 7.562 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.214e-06/0.9848, allocations: 0 / 0.5545 GB, free: 7.562 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.985, allocations: 322.8 kB / 0.5548 GB, free: 7.238 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.026e-05/0.985, allocations: 20 kB / 0.5548 GB, free: 7.219 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.552e-05/0.9851, allocations: 41.7 kB / 0.5549 GB, free: 7.172 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.3e-05/0.9852, allocations: 28.05 kB / 0.5549 GB, free: 7.145 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.9852, allocations: 0 / 0.5549 GB, free: 7.145 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002287/0.9855, allocations: 97.52 kB / 0.555 GB, free: 7.043 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.9855, allocations: 8 kB / 0.555 GB, free: 7.035 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.9855, allocations: 4 kB / 0.555 GB, free: 7.031 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.9855, allocations: 0 / 0.555 GB, free: 7.031 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.9857, allocations: 23.98 kB / 0.555 GB, free: 7.008 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.9857, allocations: 0 / 0.555 GB, free: 7.008 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.647e-05/0.9858, allocations: 7.906 kB / 0.555 GB, free: 7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.9858, allocations: 4 kB / 0.555 GB, free: 6.996 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.352e-05/0.9859, allocations: 110.3 kB / 0.5551 GB, free: 6.883 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.784e-05/0.986, allocations: 15.89 kB / 0.5551 GB, free: 6.867 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00031/0.9863, allocations: 117.7 kB / 0.5553 GB, free: 6.75 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.9863, allocations: 4.188 kB / 0.5553 GB, free: 6.746 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.9864, allocations: 0 / 0.5553 GB, free: 6.746 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.9864, allocations: 3.938 kB / 0.5553 GB, free: 6.742 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007472/0.9871, allocations: 467 kB / 0.5557 GB, free: 6.238 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.9871, allocations: 320 / 0.5557 GB, free: 6.238 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.9873, allocations: 27.98 kB / 0.5557 GB, free: 6.211 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.9873, allocations: 0 / 0.5557 GB, free: 6.211 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.9873, allocations: 4 kB / 0.5557 GB, free: 6.207 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.9873, allocations: 0 / 0.5557 GB, free: 6.207 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.9874, allocations: 0 / 0.5557 GB, free: 6.207 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000319/0.9877, allocations: 302.9 kB / 0.556 GB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004705/0.9882, allocations: 0.6672 MB / 0.5567 GB, free: 5.176 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.061e-05/0.9883, allocations: 92.95 kB / 0.5568 GB, free: 5.066 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.606e-05/0.9883, allocations: 3.984 kB / 0.5568 GB, free: 5.062 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.9885, allocations: 7.906 kB / 0.5568 GB, free: 5.055 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.608e-05/0.9886, allocations: 11.98 kB / 0.5568 GB, free: 5.043 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.147e-05/0.9886, allocations: 8 kB / 0.5568 GB, free: 5.035 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001143/0.9887, allocations: 114.7 kB / 0.5569 GB, free: 4.926 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001625/0.9904, allocations: 20 kB / 0.5569 GB, free: 4.906 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0009436/0.9913, allocations: 308.2 kB / 0.5572 GB, free: 4.641 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002164/0.9916, allocations: 67.92 kB / 0.5573 GB, free: 4.574 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.9916, allocations: 0 / 0.5573 GB, free: 4.574 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.626e-05/0.9917, allocations: 31.98 kB / 0.5573 GB, free: 4.543 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003977/0.9921, allocations: 19.77 kB / 0.5573 GB, free: 4.523 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006242/0.9927, allocations: 161 kB / 0.5575 GB, free: 4.336 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005084/0.9932, allocations: 0.7349 MB / 0.5582 GB, free: 3.574 MB / 394.7 MB Notification: Performance of SimCode: time 3.71e-07/0.9933, allocations: 0 / 0.5582 GB, free: 3.574 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test29.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.pipe 2>&1)