Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test19.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.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test19",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.00116/0.00116, 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.417/1.417, 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.0008902/0.0008902, allocations: 91.67 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.2406/0.2406, allocations: 43.49 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2498/0.4904, allocations: 64.97 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4052/0.8957, allocations: 58.83 MB / 476.7 MB, free: 5.18 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1501/1.046, allocations: 87.59 MB / 0.551 GB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/1.046, allocations: 71.47 kB / 0.5511 GB, free: 11.25 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.02399/1.07, allocations: 8.341 MB / 0.5592 GB, free: 2.852 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/1.07, allocations: 11.94 kB / 0.5592 GB, free: 2.84 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/1.07, allocations: 43.44 kB / 0.5593 GB, free: 2.797 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006867/1.071, allocations: 333.2 kB / 0.5596 GB, free: 2.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/1.071, allocations: 4 kB / 0.5596 GB, free: 2.426 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/1.071, allocations: 4 kB / 0.5596 GB, free: 2.422 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001386/1.071, allocations: 35.94 kB / 0.5596 GB, free: 2.387 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/1.071, allocations: 65.67 kB / 0.5597 GB, free: 2.316 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/1.072, allocations: 0 / 0.5597 GB, free: 2.316 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/1.072, allocations: 3.984 kB / 0.5597 GB, free: 2.312 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/1.072, allocations: 4 kB / 0.5597 GB, free: 2.309 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007285/1.072, allocations: 425 kB / 0.5601 GB, free: 1.855 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/1.072, allocations: 50.47 kB / 0.5602 GB, free: 1.797 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.897e-05/1.072, allocations: 24.98 kB / 0.5602 GB, free: 1.77 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.715e-05/1.073, allocations: 0 / 0.5602 GB, free: 1.77 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/1.073, allocations: 30.81 kB / 0.5602 GB, free: 1.73 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/1.073, allocations: 4 kB / 0.5602 GB, free: 1.727 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003155/1.073, allocations: 97.25 kB / 0.5603 GB, free: 1.625 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/1.073, allocations: 55.41 kB / 0.5604 GB, free: 1.559 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006411/1.074, allocations: 469 kB / 0.5608 GB, free: 1.094 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/1.074, allocations: 25.7 kB / 0.5608 GB, free: 1.062 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.691e-05/1.074, allocations: 128.3 kB / 0.561 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.694e-05/1.074, allocations: 23.7 kB / 0.561 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-06/1.074, allocations: 0 / 0.561 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001607/1.074, allocations: 346.8 kB / 0.5613 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.235e-05/1.074, allocations: 19.98 kB / 0.5613 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.708e-05/1.074, allocations: 12 kB / 0.5613 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.968e-05/1.074, allocations: 12 kB / 0.5614 GB, free: 0.5156 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.074, allocations: 0 / 0.5614 GB, free: 0.5156 MB / 394.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001718/1.074, allocations: 97.22 kB / 0.5615 GB, free: 424 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/1.074, allocations: 4 kB / 0.5615 GB, free: 420 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/1.074, allocations: 0 / 0.5615 GB, free: 420 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/1.074, allocations: 0 / 0.5615 GB, free: 420 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/1.074, allocations: 19.92 kB / 0.5615 GB, free: 400 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/1.074, allocations: 7.938 kB / 0.5615 GB, free: 392 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.656e-05/1.075, allocations: 11.94 kB / 0.5615 GB, free: 380 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.709e-05/1.075, allocations: 3.906 kB / 0.5615 GB, free: 376 kB / 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 (6): * Single equations (assignments): 6 * 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.576e-05/1.075, allocations: 106.4 kB / 0.5616 GB, free: 264 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.351e-05/1.075, allocations: 35.53 kB / 0.5616 GB, free: 228 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002793/1.075, allocations: 121.2 kB / 0.5617 GB, free: 96 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/1.075, allocations: 7.938 kB / 0.5618 GB, free: 88 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.075, allocations: 4 kB / 0.5618 GB, free: 84 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/1.075, allocations: 0 / 0.5618 GB, free: 84 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003785/1.076, allocations: 270 kB / 0.562 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/1.076, allocations: 0 / 0.562 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.038e-05/1.076, allocations: 19.92 kB / 0.562 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/1.076, allocations: 0 / 0.562 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/1.076, allocations: 4 kB / 0.562 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/1.076, allocations: 4 kB / 0.562 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.076, allocations: 0 / 0.562 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002296/1.076, allocations: 195.1 kB / 0.5622 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003605/1.076, allocations: 0.5736 MB / 0.5628 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/1.076, allocations: 140.7 kB / 0.5629 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.823e-05/1.076, allocations: 0 / 0.5629 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/1.077, allocations: 7.906 kB / 0.5629 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/1.077, allocations: 8 kB / 0.5629 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/1.077, allocations: 3.984 kB / 0.5629 GB, free: 14.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.000429/1.077, allocations: 371.2 kB / 0.5633 GB, free: 14.42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009236/1.078, allocations: 59.83 kB / 0.5634 GB, free: 14.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 (6): * Single equations (assignments): 6 * 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.001067/1.079, allocations: 427.4 kB / 0.5638 GB, free: 13.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001323/1.079, allocations: 43.88 kB / 0.5638 GB, free: 13.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/1.079, allocations: 0 / 0.5638 GB, free: 13.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.015e-05/1.079, allocations: 23.94 kB / 0.5638 GB, free: 13.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004603/1.08, allocations: 64.3 kB / 0.5639 GB, free: 13.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009716/1.081, allocations: 445 kB / 0.5643 GB, free: 13.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006267/1.081, allocations: 0.8249 MB / 0.5651 GB, free: 12.55 MB / 410.7 MB Notification: Performance of SimCode: time 4.01e-07/1.081, allocations: 0 / 0.5651 GB, free: 12.55 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test19_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test19_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test19.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test19.pipe 2>&1)