Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test6",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.001229/0.001229, allocations: 192.1 kB / 7.804 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.246/1.246, 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.0009662/0.0009662, allocations: 79.62 kB / 261.4 MB, free: 13.56 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.1901/0.1901, allocations: 43.49 MB / 352.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2033/0.3934, allocations: 64.97 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.7247, allocations: 58.83 MB / 476.6 MB, free: 5.191 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1197/0.8444, allocations: 86.37 MB / 0.5498 GB, free: 12.55 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/0.8447, allocations: 75.45 kB / 0.5499 GB, free: 12.48 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.01928/0.864, allocations: 7.966 MB / 0.5577 GB, free: 4.453 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.8641, allocations: 11.94 kB / 0.5577 GB, free: 4.441 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.8642, allocations: 43.44 kB / 0.5577 GB, free: 4.398 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006103/0.8648, allocations: 327.2 kB / 0.558 GB, free: 4.035 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.8648, allocations: 0 / 0.558 GB, free: 4.035 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.934e-05/0.8649, allocations: 4 kB / 0.558 GB, free: 4.031 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001059/0.865, allocations: 23.98 kB / 0.5581 GB, free: 4.008 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.8651, allocations: 57.58 kB / 0.5581 GB, free: 3.945 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.8651, allocations: 0 / 0.5581 GB, free: 3.945 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.8651, allocations: 0 / 0.5581 GB, free: 3.945 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.8652, allocations: 0 / 0.5581 GB, free: 3.945 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008794/0.866, allocations: 437.2 kB / 0.5585 GB, free: 3.48 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.081e-05/0.8662, allocations: 34.58 kB / 0.5586 GB, free: 3.438 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.248e-05/0.8662, allocations: 20.94 kB / 0.5586 GB, free: 3.414 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.075e-05/0.8662, allocations: 3.938 kB / 0.5586 GB, free: 3.41 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.8663, allocations: 30.56 kB / 0.5586 GB, free: 3.371 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.653e-06/0.8663, allocations: 4 kB / 0.5586 GB, free: 3.367 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006997/0.867, allocations: 227.9 kB / 0.5588 GB, free: 3.137 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.867, allocations: 55.41 kB / 0.5589 GB, free: 3.07 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/0.8682, allocations: 0.759 MB / 0.5596 GB, free: 2.305 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.8682, allocations: 29.7 kB / 0.5597 GB, free: 2.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.146e-05/0.8683, allocations: 132.1 kB / 0.5598 GB, free: 2.137 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.8684, allocations: 19.7 kB / 0.5598 GB, free: 2.117 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-06/0.8684, allocations: 0 / 0.5598 GB, free: 2.117 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.8686, allocations: 366.7 kB / 0.5602 GB, free: 1.75 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.148e-05/0.8686, allocations: 15.98 kB / 0.5602 GB, free: 1.734 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.999e-05/0.8687, allocations: 20.08 kB / 0.5602 GB, free: 1.715 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.782e-05/0.8687, allocations: 27.97 kB / 0.5602 GB, free: 1.688 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-07/0.8687, allocations: 0 / 0.5602 GB, free: 1.688 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001987/0.8689, allocations: 117.1 kB / 0.5603 GB, free: 1.566 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.869, allocations: 14.8 kB / 0.5603 GB, free: 1.555 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.869, allocations: 320 / 0.5603 GB, free: 1.555 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.869, allocations: 3.938 kB / 0.5603 GB, free: 1.551 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.8692, allocations: 27.98 kB / 0.5604 GB, free: 1.523 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.8692, allocations: 0 / 0.5604 GB, free: 1.523 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.8693, allocations: 19.92 kB / 0.5604 GB, free: 1.504 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.8694, allocations: 7.984 kB / 0.5604 GB, free: 1.496 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 (7): * Single equations (assignments): 7 * 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.556e-05/0.8695, allocations: 102.5 kB / 0.5605 GB, free: 1.391 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.462e-05/0.8696, allocations: 43.44 kB / 0.5605 GB, free: 1.348 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002859/0.8699, allocations: 141.4 kB / 0.5607 GB, free: 1.203 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.8699, allocations: 7.938 kB / 0.5607 GB, free: 1.195 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.8699, allocations: 0 / 0.5607 GB, free: 1.195 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.8699, allocations: 0 / 0.5607 GB, free: 1.195 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007979/0.8707, allocations: 0.577 MB / 0.5612 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.8707, allocations: 7.891 kB / 0.5613 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.8708, allocations: 27.98 kB / 0.5613 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.8708, allocations: 0 / 0.5613 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.8709, allocations: 0 / 0.5613 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.052e-06/0.8709, allocations: 0 / 0.5613 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.8709, allocations: 3.938 kB / 0.5613 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002202/0.8711, allocations: 218.9 kB / 0.5615 GB, free: 312 kB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003358/0.8714, allocations: 0.6051 MB / 0.5621 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001911/0.8716, allocations: 160.7 kB / 0.5622 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.577e-05/0.8717, allocations: 0 / 0.5622 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.8719, allocations: 19.89 kB / 0.5623 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.8719, allocations: 3.984 kB / 0.5623 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.8719, allocations: 12 kB / 0.5623 GB, free: 15.47 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0006588/0.8726, allocations: 0.6082 MB / 0.5629 GB, free: 14.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009171/0.8735, allocations: 59.98 kB / 0.5629 GB, free: 14.8 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 (7): * Single equations (assignments): 7 * 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.0006678/0.8742, allocations: 288 kB / 0.5632 GB, free: 14.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001432/0.8743, allocations: 55.97 kB / 0.5633 GB, free: 14.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.8744, allocations: 0 / 0.5633 GB, free: 14.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.368e-05/0.8744, allocations: 43.92 kB / 0.5633 GB, free: 14.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.8747, allocations: 25.09 kB / 0.5633 GB, free: 14.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.876, allocations: 0.7242 MB / 0.564 GB, free: 13.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004916/0.8765, allocations: 0.8606 MB / 0.5649 GB, free: 12.79 MB / 410.7 MB Notification: Performance of SimCode: time 2.91e-07/0.8765, allocations: 0 / 0.5649 GB, free: 12.79 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1)