Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_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.001301/0.001301, allocations: 190.3 kB / 7.802 MB, free: 2.504 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.332/1.332, allocations: 205.2 MB / 213.4 MB, free: 13.92 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.0009717/0.0009717, allocations: 98.84 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.1929/0.1929, allocations: 43.49 MB / 352.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1801/0.3731, allocations: 64.98 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.635, allocations: 58.84 MB / 476.7 MB, free: 5.16 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1281/0.7632, allocations: 86.08 MB / 0.5495 GB, free: 12.85 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.7635, allocations: 71.97 kB / 0.5496 GB, free: 12.78 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01863/0.7821, allocations: 8.065 MB / 0.5575 GB, free: 4.656 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.7822, allocations: 8 kB / 0.5575 GB, free: 4.648 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.7823, allocations: 39.44 kB / 0.5575 GB, free: 4.609 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005275/0.7829, allocations: 322.4 kB / 0.5578 GB, free: 4.254 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.7829, allocations: 0 / 0.5578 GB, free: 4.254 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.7829, allocations: 4 kB / 0.5578 GB, free: 4.25 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.751e-05/0.783, allocations: 23.92 kB / 0.5579 GB, free: 4.227 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.872e-05/0.7831, allocations: 41.69 kB / 0.5579 GB, free: 4.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.7831, allocations: 0 / 0.5579 GB, free: 4.18 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.7831, allocations: 0 / 0.5579 GB, free: 4.18 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.7831, allocations: 3.906 kB / 0.5579 GB, free: 4.176 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007449/0.7839, allocations: 413.2 kB / 0.5583 GB, free: 3.734 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.7841, allocations: 33.66 kB / 0.5583 GB, free: 3.695 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.535e-05/0.7842, allocations: 12.95 kB / 0.5584 GB, free: 3.68 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/0.7842, allocations: 7.984 kB / 0.5584 GB, free: 3.672 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.7842, allocations: 30.56 kB / 0.5584 GB, free: 3.633 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.7842, allocations: 0 / 0.5584 GB, free: 3.633 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004729/0.7847, allocations: 184.1 kB / 0.5586 GB, free: 3.445 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.7847, allocations: 55.34 kB / 0.5586 GB, free: 3.379 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.7859, allocations: 0.7473 MB / 0.5593 GB, free: 2.625 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.7859, allocations: 25.7 kB / 0.5594 GB, free: 2.594 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.591e-05/0.786, allocations: 140 kB / 0.5595 GB, free: 2.453 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.7861, allocations: 19.75 kB / 0.5595 GB, free: 2.434 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/0.7861, allocations: 0 / 0.5595 GB, free: 2.434 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.7863, allocations: 358.8 kB / 0.5599 GB, free: 2.074 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.603e-05/0.7863, allocations: 16 kB / 0.5599 GB, free: 2.059 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.286e-05/0.7863, allocations: 8 kB / 0.5599 GB, free: 2.051 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.278e-05/0.7864, allocations: 8 kB / 0.5599 GB, free: 2.043 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.7864, allocations: 0 / 0.5599 GB, free: 2.043 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001598/0.7865, allocations: 97.12 kB / 0.56 GB, free: 1.941 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.7866, allocations: 4 kB / 0.56 GB, free: 1.938 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.7866, allocations: 3.938 kB / 0.56 GB, free: 1.934 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.7866, allocations: 0 / 0.56 GB, free: 1.934 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.326e-05/0.7867, allocations: 15.98 kB / 0.56 GB, free: 1.918 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.7867, allocations: 7.938 kB / 0.56 GB, free: 1.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.985e-05/0.7868, allocations: 11.91 kB / 0.56 GB, free: 1.898 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.7868, allocations: 0 / 0.56 GB, free: 1.898 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 6.586e-05/0.7869, allocations: 102.4 kB / 0.5601 GB, free: 1.793 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.609e-05/0.787, allocations: 43.58 kB / 0.5602 GB, free: 1.75 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002166/0.7872, allocations: 121.2 kB / 0.5603 GB, free: 1.621 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.7872, allocations: 3.938 kB / 0.5603 GB, free: 1.617 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.7872, allocations: 0 / 0.5603 GB, free: 1.617 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.7872, allocations: 0 / 0.5603 GB, free: 1.617 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000675/0.7879, allocations: 0.5378 MB / 0.5608 GB, free: 1.035 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.7879, allocations: 0 / 0.5608 GB, free: 1.035 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.002e-05/0.788, allocations: 16 kB / 0.5608 GB, free: 1.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.788, allocations: 0 / 0.5608 GB, free: 1.02 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.788, allocations: 4.375 kB / 0.5608 GB, free: 1.016 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.788, allocations: 7.984 kB / 0.5608 GB, free: 1.008 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.788, allocations: 0 / 0.5608 GB, free: 1.008 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001805/0.7882, allocations: 191 kB / 0.561 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002729/0.7885, allocations: 0.5658 MB / 0.5616 GB, free: 224 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001724/0.7887, allocations: 168.5 kB / 0.5617 GB, free: 36 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.048e-05/0.7888, allocations: 0 / 0.5617 GB, free: 36 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.7889, allocations: 4 kB / 0.5617 GB, free: 32 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/0.7889, allocations: 7.984 kB / 0.5617 GB, free: 24 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.7889, allocations: 0 / 0.5617 GB, free: 24 kB / 394.7 MB Notification: Performance of sort global known variables: time 0.0006871/0.7896, allocations: 0.612 MB / 0.5623 GB, free: 15.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009391/0.7906, allocations: 55.94 kB / 0.5624 GB, free: 15.36 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 (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.000679/0.7913, allocations: 305.1 kB / 0.5627 GB, free: 15.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000103/0.7914, allocations: 27.94 kB / 0.5627 GB, free: 15.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7914, allocations: 0 / 0.5627 GB, free: 15.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.033e-05/0.7914, allocations: 12 kB / 0.5627 GB, free: 15.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.7917, allocations: 29.75 kB / 0.5628 GB, free: 15.03 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.7929, allocations: 0.6957 MB / 0.5634 GB, free: 14.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004382/0.7934, allocations: 0.8606 MB / 0.5643 GB, free: 13.41 MB / 410.7 MB Notification: Performance of SimCode: time 3.1e-07/0.7934, allocations: 3.938 kB / 0.5643 GB, free: 13.4 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe 2>&1)