Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test7",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.001114/0.001114, allocations: 183.7 kB / 7.805 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.413/1.413, allocations: 205.2 MB / 213.4 MB, free: 13.83 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.0009413/0.0009412, allocations: 88.28 kB / 261.4 MB, free: 13.52 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.197/0.197, allocations: 43.49 MB / 352.9 MB, free: 1.934 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2015/0.3986, allocations: 64.97 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.7149, allocations: 58.84 MB / 476.7 MB, free: 5.172 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.128/0.843, allocations: 85.92 MB / 0.5494 GB, free: 12.99 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001984/0.8433, allocations: 75.45 kB / 0.5495 GB, free: 12.92 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.01794/0.8612, allocations: 7.831 MB / 0.5571 GB, free: 5.027 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.8613, allocations: 12 kB / 0.5571 GB, free: 5.016 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/0.8614, allocations: 43.38 kB / 0.5572 GB, free: 4.973 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005891/0.862, allocations: 334.5 kB / 0.5575 GB, free: 4.605 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.8621, allocations: 0 / 0.5575 GB, free: 4.605 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.8621, allocations: 4 kB / 0.5575 GB, free: 4.602 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.959e-05/0.8622, allocations: 12 kB / 0.5575 GB, free: 4.59 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.827e-05/0.8622, allocations: 33.7 kB / 0.5575 GB, free: 4.551 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.8623, allocations: 0 / 0.5575 GB, free: 4.551 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.8623, allocations: 0 / 0.5575 GB, free: 4.551 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.8623, allocations: 4 kB / 0.5575 GB, free: 4.547 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005866/0.8629, allocations: 401.3 kB / 0.5579 GB, free: 4.117 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.557e-05/0.863, allocations: 26.58 kB / 0.5579 GB, free: 4.082 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.255e-05/0.863, allocations: 8.859 kB / 0.5579 GB, free: 4.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.863, allocations: 8.062 kB / 0.558 GB, free: 4.062 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.8631, allocations: 38.45 kB / 0.558 GB, free: 4.016 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.8631, allocations: 0 / 0.558 GB, free: 4.016 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.000202/0.8633, allocations: 73.17 kB / 0.5581 GB, free: 3.938 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.8633, allocations: 51.41 kB / 0.5581 GB, free: 3.875 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.8644, allocations: 0.7512 MB / 0.5588 GB, free: 3.117 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.8645, allocations: 29.73 kB / 0.5589 GB, free: 3.082 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.701e-05/0.8646, allocations: 140 kB / 0.559 GB, free: 2.941 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/0.8646, allocations: 3.906 kB / 0.559 GB, free: 2.938 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-06/0.8646, allocations: 0 / 0.559 GB, free: 2.938 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002121/0.8648, allocations: 362.8 kB / 0.5594 GB, free: 2.574 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.555e-05/0.8648, allocations: 4 kB / 0.5594 GB, free: 2.57 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.149e-05/0.8648, allocations: 0 / 0.5594 GB, free: 2.57 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.689e-05/0.8649, allocations: 8 kB / 0.5594 GB, free: 2.562 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.8649, allocations: 64 / 0.5594 GB, free: 2.562 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001232/0.865, allocations: 81.12 kB / 0.5594 GB, free: 2.477 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.8651, allocations: 11.94 kB / 0.5595 GB, free: 2.465 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.8651, allocations: 0 / 0.5595 GB, free: 2.465 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.8651, allocations: 3.938 kB / 0.5595 GB, free: 2.461 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.8652, allocations: 4 kB / 0.5595 GB, free: 2.457 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.8652, allocations: 0 / 0.5595 GB, free: 2.457 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.978e-05/0.8653, allocations: 11.92 kB / 0.5595 GB, free: 2.445 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.8653, allocations: 3.984 kB / 0.5595 GB, free: 2.441 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 (2): * Single equations (assignments): 2 * 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 0.0001039/0.8654, allocations: 113.9 kB / 0.5596 GB, free: 2.328 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.811e-05/0.8655, allocations: 43.44 kB / 0.5596 GB, free: 2.285 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002241/0.8658, allocations: 88.75 kB / 0.5597 GB, free: 2.188 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.8658, allocations: 0 / 0.5597 GB, free: 2.188 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.8658, allocations: 4 kB / 0.5597 GB, free: 2.184 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.8658, allocations: 0 / 0.5597 GB, free: 2.184 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003478/0.8662, allocations: 305.9 kB / 0.56 GB, free: 1.848 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.8662, allocations: 0 / 0.56 GB, free: 1.848 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.17e-05/0.8662, allocations: 8.031 kB / 0.56 GB, free: 1.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.8662, allocations: 3.984 kB / 0.56 GB, free: 1.836 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.8662, allocations: 0 / 0.56 GB, free: 1.836 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.8663, allocations: 4 kB / 0.56 GB, free: 1.832 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.8663, allocations: 0 / 0.56 GB, free: 1.832 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001834/0.8664, allocations: 170.9 kB / 0.5602 GB, free: 1.648 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004132/0.8669, allocations: 0.5541 MB / 0.5607 GB, free: 1.074 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002031/0.8671, allocations: 160.5 kB / 0.5609 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.258e-05/0.8671, allocations: 0 / 0.5609 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.546e-05/0.8672, allocations: 4 kB / 0.5609 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/0.8673, allocations: 3.984 kB / 0.5609 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.8673, allocations: 4 kB / 0.5609 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0006928/0.868, allocations: 0.6121 MB / 0.5615 GB, free: 284 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008831/0.8689, allocations: 51.91 kB / 0.5615 GB, free: 232 kB / 394.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 (2): * Single equations (assignments): 2 * 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.0005943/0.8695, allocations: 266.5 kB / 0.5618 GB, free: 16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.843e-05/0.8696, allocations: 15.98 kB / 0.5618 GB, free: 15.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8696, allocations: 0 / 0.5618 GB, free: 15.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.779e-05/0.8696, allocations: 8 kB / 0.5618 GB, free: 15.97 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.8699, allocations: 17.83 kB / 0.5618 GB, free: 15.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.8712, allocations: 0.6839 MB / 0.5625 GB, free: 15.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004993/0.8717, allocations: 0.8566 MB / 0.5633 GB, free: 14.35 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.8717, allocations: 0 / 0.5633 GB, free: 14.35 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test7.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe 2>&1)