Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test5",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.001013/0.001013, allocations: 190.2 kB / 7.802 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.327/1.327, 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.0009392/0.0009391, allocations: 89.72 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.2011/0.2011, allocations: 43.48 MB / 352.8 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2084/0.4096, allocations: 64.99 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.7243, allocations: 58.84 MB / 476.7 MB, free: 5.164 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1303/0.8547, allocations: 86.04 MB / 0.5495 GB, free: 12.86 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001874/0.8549, allocations: 75.34 kB / 0.5496 GB, free: 12.79 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.01815/0.8731, allocations: 7.773 MB / 0.5572 GB, free: 4.961 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.8731, allocations: 15.98 kB / 0.5572 GB, free: 4.945 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.855e-05/0.8732, allocations: 43.38 kB / 0.5572 GB, free: 4.902 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004841/0.8737, allocations: 326.6 kB / 0.5575 GB, free: 4.543 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.8737, allocations: 0 / 0.5575 GB, free: 4.543 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.8738, allocations: 3.984 kB / 0.5575 GB, free: 4.539 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.376e-05/0.8738, allocations: 16 kB / 0.5576 GB, free: 4.523 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.753e-05/0.8739, allocations: 45.62 kB / 0.5576 GB, free: 4.473 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.8739, allocations: 0 / 0.5576 GB, free: 4.473 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.8739, allocations: 4 kB / 0.5576 GB, free: 4.469 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.874, allocations: 3.906 kB / 0.5576 GB, free: 4.465 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005699/0.8745, allocations: 413.2 kB / 0.558 GB, free: 4.023 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.8747, allocations: 29.7 kB / 0.558 GB, free: 3.988 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.888e-05/0.8747, allocations: 12.8 kB / 0.558 GB, free: 3.973 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.8748, allocations: 4 kB / 0.558 GB, free: 3.969 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.8748, allocations: 34.56 kB / 0.5581 GB, free: 3.926 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.683e-06/0.8748, allocations: 0 / 0.5581 GB, free: 3.926 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004701/0.8753, allocations: 180.2 kB / 0.5583 GB, free: 3.742 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.8753, allocations: 51.41 kB / 0.5583 GB, free: 3.68 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.8765, allocations: 0.7551 MB / 0.559 GB, free: 2.918 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.8766, allocations: 25.7 kB / 0.5591 GB, free: 2.887 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.289e-05/0.8766, allocations: 132 kB / 0.5592 GB, free: 2.754 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.8767, allocations: 23.73 kB / 0.5592 GB, free: 2.73 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-06/0.8767, allocations: 0 / 0.5592 GB, free: 2.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.8768, allocations: 354.8 kB / 0.5596 GB, free: 2.375 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.358e-05/0.8769, allocations: 11.94 kB / 0.5596 GB, free: 2.363 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.019e-05/0.8769, allocations: 12 kB / 0.5596 GB, free: 2.352 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.009e-05/0.8769, allocations: 11.98 kB / 0.5596 GB, free: 2.34 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.8769, allocations: 4 kB / 0.5596 GB, free: 2.336 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000161/0.8771, allocations: 93.14 kB / 0.5597 GB, free: 2.238 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.8771, allocations: 4 kB / 0.5597 GB, free: 2.234 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.8771, allocations: 0 / 0.5597 GB, free: 2.234 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.8771, allocations: 0 / 0.5597 GB, free: 2.234 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.822e-05/0.8772, allocations: 19.92 kB / 0.5597 GB, free: 2.215 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.8772, allocations: 0 / 0.5597 GB, free: 2.215 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.75e-05/0.8773, allocations: 19.89 kB / 0.5597 GB, free: 2.195 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.8773, allocations: 0 / 0.5597 GB, free: 2.195 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 7.086e-05/0.8774, allocations: 109.9 kB / 0.5598 GB, free: 2.086 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.772e-05/0.8775, allocations: 43.44 kB / 0.5599 GB, free: 2.043 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000212/0.8777, allocations: 117.4 kB / 0.56 GB, free: 1.918 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.8777, allocations: 0 / 0.56 GB, free: 1.918 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.8778, allocations: 0 / 0.56 GB, free: 1.918 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.8778, allocations: 0 / 0.56 GB, free: 1.918 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007033/0.8785, allocations: 0.5418 MB / 0.5605 GB, free: 1.332 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.8785, allocations: 3.938 kB / 0.5605 GB, free: 1.328 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.806e-05/0.8786, allocations: 15.98 kB / 0.5605 GB, free: 1.312 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.8786, allocations: 0 / 0.5605 GB, free: 1.312 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.8786, allocations: 0 / 0.5605 GB, free: 1.312 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.8786, allocations: 0 / 0.5605 GB, free: 1.312 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.8786, allocations: 4 kB / 0.5605 GB, free: 1.309 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002442/0.8789, allocations: 191 kB / 0.5607 GB, free: 1.105 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003695/0.8792, allocations: 0.5736 MB / 0.5613 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001953/0.8795, allocations: 160.5 kB / 0.5614 GB, free: 344 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.968e-05/0.8795, allocations: 0 / 0.5614 GB, free: 344 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.8796, allocations: 11.98 kB / 0.5614 GB, free: 332 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.472e-05/0.8797, allocations: 4 kB / 0.5614 GB, free: 328 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.8797, allocations: 0 / 0.5614 GB, free: 328 kB / 394.7 MB Notification: Performance of sort global known variables: time 0.0007021/0.8804, allocations: 0.612 MB / 0.562 GB, free: 15.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009104/0.8813, allocations: 59.94 kB / 0.5621 GB, free: 15.65 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.000625/0.8819, allocations: 306.1 kB / 0.5624 GB, free: 15.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.254e-05/0.882, allocations: 28 kB / 0.5624 GB, free: 15.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.8821, allocations: 3.938 kB / 0.5624 GB, free: 15.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.914e-05/0.8821, allocations: 12 kB / 0.5624 GB, free: 15.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.8824, allocations: 33.75 kB / 0.5625 GB, free: 15.31 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.8835, allocations: 0.6919 MB / 0.5631 GB, free: 14.58 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005413/0.8841, allocations: 0.8605 MB / 0.564 GB, free: 13.69 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.8841, allocations: 0 / 0.564 GB, free: 13.69 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe 2>&1)