Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_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.001198/0.001198, allocations: 185.1 kB / 7.8 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.255/1.255, 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.0008985/0.0008987, allocations: 94.3 kB / 261.4 MB, free: 13.48 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.1845/0.1845, allocations: 43.49 MB / 352.8 MB, free: 1.891 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2119/0.3965, allocations: 64.97 MB / 417.8 MB, free: 40.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.7169, allocations: 58.84 MB / 476.7 MB, free: 5.113 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1289/0.8459, allocations: 86.44 MB / 0.5499 GB, free: 12.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002077/0.8461, allocations: 67.97 kB / 0.55 GB, free: 12.27 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.01729/0.8634, allocations: 7.903 MB / 0.5577 GB, free: 4.312 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.8635, allocations: 12 kB / 0.5577 GB, free: 4.301 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.224e-05/0.8636, allocations: 43.44 kB / 0.5577 GB, free: 4.258 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005117/0.8641, allocations: 331.3 kB / 0.558 GB, free: 3.891 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.8641, allocations: 0 / 0.558 GB, free: 3.891 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/0.8641, allocations: 4 kB / 0.558 GB, free: 3.887 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.131e-05/0.8642, allocations: 16 kB / 0.5581 GB, free: 3.871 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.616e-05/0.8643, allocations: 45.62 kB / 0.5581 GB, free: 3.82 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.8644, allocations: 7.906 kB / 0.5581 GB, free: 3.812 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.8644, allocations: 0 / 0.5581 GB, free: 3.812 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.8644, allocations: 0 / 0.5581 GB, free: 3.812 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006069/0.865, allocations: 425.2 kB / 0.5585 GB, free: 3.359 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.8652, allocations: 29.7 kB / 0.5585 GB, free: 3.324 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.94e-05/0.8652, allocations: 20.8 kB / 0.5586 GB, free: 3.301 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.8653, allocations: 3.938 kB / 0.5586 GB, free: 3.297 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.8653, allocations: 34.66 kB / 0.5586 GB, free: 3.254 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.8653, allocations: 0 / 0.5586 GB, free: 3.254 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004728/0.8658, allocations: 188.1 kB / 0.5588 GB, free: 3.062 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.8658, allocations: 59.31 kB / 0.5588 GB, free: 2.992 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/0.867, allocations: 0.7512 MB / 0.5596 GB, free: 2.234 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.867, allocations: 25.7 kB / 0.5596 GB, free: 2.203 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.839e-05/0.8671, allocations: 136 kB / 0.5597 GB, free: 2.066 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.8671, allocations: 19.8 kB / 0.5597 GB, free: 2.047 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.8672, allocations: 0 / 0.5597 GB, free: 2.047 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.8673, allocations: 358.7 kB / 0.5601 GB, free: 1.688 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.117e-05/0.8674, allocations: 19.94 kB / 0.5601 GB, free: 1.668 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.538e-05/0.8674, allocations: 16.06 kB / 0.5601 GB, free: 1.652 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.294e-05/0.8675, allocations: 15.98 kB / 0.5601 GB, free: 1.637 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-07/0.8675, allocations: 0 / 0.5601 GB, free: 1.637 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001434/0.8676, allocations: 93.22 kB / 0.5602 GB, free: 1.539 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.8676, allocations: 8 kB / 0.5602 GB, free: 1.531 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.8677, allocations: 7.906 kB / 0.5602 GB, free: 1.523 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.8677, allocations: 0 / 0.5602 GB, free: 1.523 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.869e-05/0.8678, allocations: 15.98 kB / 0.5603 GB, free: 1.508 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.8678, allocations: 0 / 0.5603 GB, free: 1.508 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.561e-05/0.8679, allocations: 7.938 kB / 0.5603 GB, free: 1.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.8679, allocations: 8 kB / 0.5603 GB, free: 1.492 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.596e-05/0.868, allocations: 106.5 kB / 0.5604 GB, free: 1.383 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.05e-05/0.868, allocations: 39.44 kB / 0.5604 GB, free: 1.344 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002124/0.8683, allocations: 125.1 kB / 0.5605 GB, free: 1.211 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.8683, allocations: 4 kB / 0.5605 GB, free: 1.207 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.8683, allocations: 144 / 0.5605 GB, free: 1.207 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.8683, allocations: 3.984 kB / 0.5605 GB, free: 1.203 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006523/0.8689, allocations: 0.5496 MB / 0.5611 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.869, allocations: 0 / 0.5611 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.769e-05/0.869, allocations: 19.92 kB / 0.5611 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.869, allocations: 0 / 0.5611 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.8691, allocations: 4 kB / 0.5611 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.8691, allocations: 0 / 0.5611 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.8691, allocations: 7.844 kB / 0.5611 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001879/0.8693, allocations: 203.3 kB / 0.5613 GB, free: 372 kB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003007/0.8696, allocations: 0.5775 MB / 0.5619 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001718/0.8698, allocations: 164.5 kB / 0.562 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.222e-05/0.8698, allocations: 0 / 0.562 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.8699, allocations: 8 kB / 0.562 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/0.87, allocations: 7.984 kB / 0.562 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.359e-06/0.87, allocations: 0 / 0.562 GB, free: 15.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0006213/0.8706, allocations: 0.6082 MB / 0.5626 GB, free: 14.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009377/0.8716, allocations: 63.94 kB / 0.5627 GB, free: 14.9 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.0006249/0.8722, allocations: 293.9 kB / 0.563 GB, free: 14.65 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001109/0.8723, allocations: 32.12 kB / 0.563 GB, free: 14.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.8723, allocations: 0 / 0.563 GB, free: 14.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.003e-05/0.8724, allocations: 28.05 kB / 0.563 GB, free: 14.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.8727, allocations: 25.73 kB / 0.5631 GB, free: 14.56 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.8738, allocations: 0.7037 MB / 0.5637 GB, free: 13.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004303/0.8742, allocations: 0.8567 MB / 0.5646 GB, free: 12.93 MB / 410.7 MB Notification: Performance of SimCode: time 2.91e-07/0.8743, allocations: 0 / 0.5646 GB, free: 12.93 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1)