Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.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.CombiTable2D.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_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 3.2.3+maint.om/package.mo): time 0.001673/0.001673, allocations: 190.7 kB / 7.802 MB, free: 2.496 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.512/1.512, allocations: 205.2 MB / 213.4 MB, free: 13.87 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.0009406/0.0009406, allocations: 91.42 kB / 261.4 MB, free: 13.55 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.2288/0.2288, allocations: 43.49 MB / 352.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2582/0.4871, allocations: 64.96 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.8919, allocations: 58.84 MB / 476.7 MB, free: 5.289 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.153/1.045, allocations: 87.76 MB / 0.5512 GB, free: 11.24 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/1.045, allocations: 79.12 kB / 0.5513 GB, free: 11.17 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.02389/1.069, allocations: 8.5 MB / 0.5596 GB, free: 2.617 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/1.069, allocations: 8 kB / 0.5596 GB, free: 2.609 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.604e-05/1.069, allocations: 39.53 kB / 0.5596 GB, free: 2.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005776/1.07, allocations: 341 kB / 0.5599 GB, free: 2.195 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/1.07, allocations: 4 kB / 0.5599 GB, free: 2.191 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.703e-05/1.07, allocations: 8 kB / 0.5599 GB, free: 2.184 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001564/1.07, allocations: 51.98 kB / 0.56 GB, free: 2.133 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/1.07, allocations: 92.5 kB / 0.5601 GB, free: 2.039 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/1.07, allocations: 0 / 0.5601 GB, free: 2.039 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/1.07, allocations: 0 / 0.5601 GB, free: 2.039 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/1.07, allocations: 7.906 kB / 0.5601 GB, free: 2.031 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007161/1.071, allocations: 472.8 kB / 0.5605 GB, free: 1.531 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/1.071, allocations: 77.64 kB / 0.5606 GB, free: 1.449 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.311e-05/1.071, allocations: 32.8 kB / 0.5606 GB, free: 1.414 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/1.071, allocations: 0 / 0.5606 GB, free: 1.414 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/1.071, allocations: 34.56 kB / 0.5607 GB, free: 1.371 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/1.071, allocations: 0 / 0.5607 GB, free: 1.371 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008085/1.072, allocations: 320.6 kB / 0.561 GB, free: 1.051 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/1.072, allocations: 51.41 kB / 0.561 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005614/1.073, allocations: 473 kB / 0.5615 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/1.073, allocations: 25.7 kB / 0.5615 GB, free: 500 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.144e-05/1.073, allocations: 132.4 kB / 0.5616 GB, free: 364 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.761e-05/1.073, allocations: 55.11 kB / 0.5617 GB, free: 308 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.382e-06/1.073, allocations: 0 / 0.5617 GB, free: 308 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002204/1.073, allocations: 354.8 kB / 0.562 GB, free: 15.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.739e-05/1.073, allocations: 40 kB / 0.5621 GB, free: 15.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.185e-05/1.073, allocations: 36 kB / 0.5621 GB, free: 15.87 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.425e-05/1.074, allocations: 43.98 kB / 0.5621 GB, free: 15.83 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.074, allocations: 3.906 kB / 0.5621 GB, free: 15.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002924/1.074, allocations: 160.5 kB / 0.5623 GB, free: 15.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/1.074, allocations: 4 kB / 0.5623 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/1.074, allocations: 0 / 0.5623 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/1.074, allocations: 0 / 0.5623 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/1.074, allocations: 47.81 kB / 0.5623 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/1.074, allocations: 4 kB / 0.5623 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.727e-05/1.074, allocations: 8 kB / 0.5624 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/1.074, allocations: 8 kB / 0.5624 GB, free: 15.59 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 9.126e-05/1.074, allocations: 102.4 kB / 0.5625 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.818e-05/1.074, allocations: 39.44 kB / 0.5625 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004306/1.075, allocations: 217.1 kB / 0.5627 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.393e-06/1.075, allocations: 4 kB / 0.5627 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.075, allocations: 3.938 kB / 0.5627 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.954e-06/1.075, allocations: 3.984 kB / 0.5627 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007998/1.076, allocations: 0.6041 MB / 0.5633 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/1.076, allocations: 0 / 0.5633 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/1.076, allocations: 39.98 kB / 0.5633 GB, free: 14.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/1.076, allocations: 3.984 kB / 0.5633 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/1.076, allocations: 4 kB / 0.5634 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/1.076, allocations: 4 kB / 0.5634 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/1.076, allocations: 3.906 kB / 0.5634 GB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003088/1.076, allocations: 266.3 kB / 0.5636 GB, free: 14.24 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004319/1.077, allocations: 0.6478 MB / 0.5642 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/1.077, allocations: 144.5 kB / 0.5644 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.859e-05/1.077, allocations: 4 kB / 0.5644 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/1.077, allocations: 4 kB / 0.5644 GB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.33e-05/1.077, allocations: 19.92 kB / 0.5644 GB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/1.077, allocations: 11.98 kB / 0.5644 GB, free: 13.37 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0004299/1.078, allocations: 371.2 kB / 0.5648 GB, free: 13.01 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001011/1.079, allocations: 71.92 kB / 0.5648 GB, free: 12.94 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.00111/1.08, allocations: 0.4977 MB / 0.5653 GB, free: 12.49 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002605/1.08, allocations: 111.8 kB / 0.5654 GB, free: 12.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/1.08, allocations: 4 kB / 0.5654 GB, free: 12.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.703e-05/1.08, allocations: 63.38 kB / 0.5655 GB, free: 12.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004502/1.081, allocations: 61.45 kB / 0.5656 GB, free: 12.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009828/1.082, allocations: 0.5003 MB / 0.566 GB, free: 11.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005462/1.082, allocations: 0.8564 MB / 0.5669 GB, free: 10.85 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/1.082, allocations: 0 / 0.5669 GB, free: 10.85 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe 2>&1)