Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.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.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21",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.0012/0.0012, allocations: 180.5 kB / 7.803 MB, free: 2.176 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.454/1.454, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0009921/0.0009921, allocations: 96.95 kB / 261.4 MB, free: 13.61 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.2255/0.2255, allocations: 43.49 MB / 352.9 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2743/0.4998, allocations: 64.97 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4115/0.9113, allocations: 58.83 MB / 476.7 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1514/1.063, allocations: 87.92 MB / 0.5513 GB, free: 11 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/1.063, allocations: 67.97 kB / 0.5514 GB, free: 10.93 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.02529/1.088, allocations: 9.006 MB / 0.5602 GB, free: 1.867 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.686e-05/1.089, allocations: 11.94 kB / 0.5602 GB, free: 1.855 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001746/1.089, allocations: 39.53 kB / 0.5602 GB, free: 1.816 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007375/1.089, allocations: 337.1 kB / 0.5606 GB, free: 1.445 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/1.09, allocations: 4 kB / 0.5606 GB, free: 1.441 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.787e-05/1.09, allocations: 15.98 kB / 0.5606 GB, free: 1.426 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000167/1.09, allocations: 51.94 kB / 0.5606 GB, free: 1.375 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/1.09, allocations: 84.5 kB / 0.5607 GB, free: 1.289 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/1.09, allocations: 0 / 0.5607 GB, free: 1.289 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/1.09, allocations: 4 kB / 0.5607 GB, free: 1.285 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/1.09, allocations: 11.89 kB / 0.5607 GB, free: 1.273 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009003/1.091, allocations: 468.8 kB / 0.5612 GB, free: 0.7773 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/1.091, allocations: 73.64 kB / 0.5612 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.106e-05/1.091, allocations: 32.8 kB / 0.5613 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.662e-05/1.091, allocations: 11.92 kB / 0.5613 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/1.091, allocations: 38.55 kB / 0.5613 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 2.104e-06/1.091, allocations: 0 / 0.5613 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009941/1.092, allocations: 311 kB / 0.5616 GB, free: 304 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/1.092, allocations: 55.41 kB / 0.5617 GB, free: 236 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006831/1.093, allocations: 473 kB / 0.5621 GB, free: 15.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/1.093, allocations: 25.7 kB / 0.5622 GB, free: 15.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.864e-05/1.093, allocations: 132.4 kB / 0.5623 GB, free: 15.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.467e-05/1.093, allocations: 59.11 kB / 0.5623 GB, free: 15.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-06/1.093, allocations: 0 / 0.5623 GB, free: 15.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001895/1.093, allocations: 350.8 kB / 0.5627 GB, free: 15.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.882e-05/1.094, allocations: 39.94 kB / 0.5627 GB, free: 15.15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.488e-05/1.094, allocations: 32 kB / 0.5627 GB, free: 15.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.56e-05/1.094, allocations: 51.97 kB / 0.5628 GB, free: 15.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/1.094, allocations: 3.906 kB / 0.5628 GB, free: 15.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003212/1.094, allocations: 164.6 kB / 0.563 GB, free: 14.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/1.094, allocations: 4 kB / 0.563 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/1.094, allocations: 0 / 0.563 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/1.094, allocations: 0 / 0.563 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/1.094, allocations: 43.83 kB / 0.563 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/1.094, allocations: 0 / 0.563 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/1.094, allocations: 15.98 kB / 0.563 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/1.094, allocations: 4 kB / 0.563 GB, free: 14.83 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 8.421e-05/1.095, allocations: 102.4 kB / 0.5631 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.711e-05/1.095, allocations: 43.44 kB / 0.5632 GB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004173/1.095, allocations: 209.2 kB / 0.5634 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/1.095, allocations: 11.94 kB / 0.5634 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.328e-05/1.095, allocations: 4 kB / 0.5634 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/1.095, allocations: 0 / 0.5634 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000876/1.096, allocations: 0.6118 MB / 0.564 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/1.096, allocations: 0 / 0.564 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/1.096, allocations: 35.98 kB / 0.564 GB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.728e-06/1.096, allocations: 0 / 0.564 GB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/1.096, allocations: 8 kB / 0.564 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/1.096, allocations: 0 / 0.564 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/1.096, allocations: 3.906 kB / 0.564 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003849/1.097, allocations: 270.2 kB / 0.5643 GB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005445/1.097, allocations: 0.6439 MB / 0.5649 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/1.097, allocations: 140.5 kB / 0.565 GB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.655e-05/1.097, allocations: 4 kB / 0.565 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/1.098, allocations: 7.984 kB / 0.565 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.018e-05/1.098, allocations: 15.92 kB / 0.5651 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/1.098, allocations: 8 kB / 0.5651 GB, free: 12.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0004949/1.098, allocations: 375.1 kB / 0.5654 GB, free: 12.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00101/1.099, allocations: 67.94 kB / 0.5655 GB, free: 12.18 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.001276/1.1, allocations: 0.4991 MB / 0.566 GB, free: 11.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002465/1.101, allocations: 107.8 kB / 0.5661 GB, free: 11.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.101, allocations: 0 / 0.5661 GB, free: 11.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.146e-05/1.101, allocations: 67.36 kB / 0.5661 GB, free: 11.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000479/1.101, allocations: 61.47 kB / 0.5662 GB, free: 11.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/1.102, allocations: 0.4964 MB / 0.5667 GB, free: 10.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006239/1.103, allocations: 0.8564 MB / 0.5675 GB, free: 10.11 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/1.103, allocations: 0 / 0.5675 GB, free: 10.11 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe 2>&1)