Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.133/2.133, allocations: 253.1 MB / 260.4 MB, free: 7.562 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00165/0.00165, allocations: 181.2 kB / 319.6 MB, free: 3.297 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.827/1.827, allocations: 205.4 MB / 0.5704 GB, free: 15.02 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001314/0.001313, allocations: 97.28 kB / 0.6746 GB, free: 4.398 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.688e-06/9.919e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.1999, allocations: 106.2 MB / 0.888 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.334/1.534, allocations: 399.8 MB / 1.278 GB, free: 258.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003147/1.535, allocations: 89.95 kB / 1.279 GB, free: 258.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.706/3.24, allocations: 421.9 MB / 1.691 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001274/3.24, allocations: 32.56 kB / 1.691 GB, free: 195.3 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002946/3.243, allocations: 1.255 MB / 1.692 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/3.243, allocations: 7.844 kB / 1.692 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005688/3.244, allocations: 137.3 kB / 1.692 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05018/3.294, allocations: 12.39 MB / 1.704 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.624e-05/3.294, allocations: 24.62 kB / 1.704 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002036/3.294, allocations: 45.06 kB / 1.704 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002058/3.297, allocations: 461.1 kB / 1.705 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002485/3.299, allocations: 0.6219 MB / 1.705 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.398e-05/3.299, allocations: 7.844 kB / 1.705 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000132/3.299, allocations: 3.938 kB / 1.705 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.576e-05/3.299, allocations: 22.38 kB / 1.705 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009147/3.309, allocations: 3.548 MB / 1.709 GB, free: 192 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009896/3.31, allocations: 193.9 kB / 1.709 GB, free: 192 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005626/3.31, allocations: 151.1 kB / 1.709 GB, free: 192 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008564/3.311, allocations: 0.6627 MB / 1.71 GB, free: 191.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/3.311, allocations: 40.7 kB / 1.71 GB, free: 191.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=31): time 5.31e-06/3.311, allocations: 0 / 1.71 GB, free: 191.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=31): time 0.001939/3.313, allocations: 350.6 kB / 1.71 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/3.313, allocations: 58.89 kB / 1.71 GB, free: 191 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001887/3.315, allocations: 0.635 MB / 1.711 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000115/3.315, allocations: 33.05 kB / 1.711 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004105/3.316, allocations: 377.3 kB / 1.711 GB, free: 190.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002248/3.316, allocations: 103.7 kB / 1.711 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.152e-05/3.316, allocations: 0 / 1.711 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001024/3.316, allocations: 324.5 kB / 1.711 GB, free: 190 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004606/3.317, allocations: 115.6 kB / 1.712 GB, free: 190 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006661/3.317, allocations: 338.6 kB / 1.712 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/3.318, allocations: 200.5 kB / 1.712 GB, free: 189.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.959e-06/3.318, allocations: 0 / 1.712 GB, free: 189.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002191/3.321, allocations: 0.4888 MB / 1.713 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/3.321, allocations: 3.906 kB / 1.713 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/3.321, allocations: 3.906 kB / 1.713 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.752e-05/3.321, allocations: 7.625 kB / 1.713 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/3.322, allocations: 127 kB / 1.713 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.521e-05/3.322, allocations: 11.5 kB / 1.713 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001968/3.324, allocations: 86.84 kB / 1.713 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/3.324, allocations: 27.12 kB / 1.713 GB, free: 189.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 57 * 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.0002269/3.324, allocations: 119.3 kB / 1.713 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002851/3.325, allocations: 88.58 kB / 1.713 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00235/3.327, allocations: 435.9 kB / 1.713 GB, free: 189.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.815e-05/3.327, allocations: 6.719 kB / 1.713 GB, free: 189.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/3.327, allocations: 0 / 1.713 GB, free: 189.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001421/3.329, allocations: 414 kB / 1.714 GB, free: 188.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004299/3.333, allocations: 1.21 MB / 1.715 GB, free: 188.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.729e-06/3.333, allocations: 3.969 kB / 1.715 GB, free: 188.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/3.334, allocations: 86.33 kB / 1.715 GB, free: 188.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.428e-05/3.334, allocations: 5.969 kB / 1.715 GB, free: 188.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.896e-05/3.334, allocations: 6.781 kB / 1.715 GB, free: 188.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.538e-06/3.334, allocations: 3.438 kB / 1.715 GB, free: 188.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/3.334, allocations: 0 / 1.715 GB, free: 188.2 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002255/3.337, allocations: 0.7625 MB / 1.716 GB, free: 187.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007163/3.337, allocations: 225.3 kB / 1.716 GB, free: 187.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003054/3.338, allocations: 3.938 kB / 1.716 GB, free: 187.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/3.339, allocations: 52.02 kB / 1.716 GB, free: 187.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.033e-05/3.339, allocations: 25.56 kB / 1.716 GB, free: 187.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-05/3.339, allocations: 15.03 kB / 1.716 GB, free: 187.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0009637/3.34, allocations: 0.4894 MB / 1.717 GB, free: 187.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001705/3.342, allocations: 369.7 kB / 1.717 GB, free: 187.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001282/3.343, allocations: 0.5592 MB / 1.718 GB, free: 187 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000923/3.344, allocations: 340.7 kB / 1.718 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/3.344, allocations: 0 / 1.718 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003756/3.344, allocations: 164.9 kB / 1.718 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0043/3.349, allocations: 471.2 kB / 1.718 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00347/3.352, allocations: 1.163 MB / 1.72 GB, free: 186.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001107/3.353, allocations: 1.137 MB / 1.721 GB, free: 185.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.353e-06/3.353, allocations: 0 / 1.721 GB, free: 185.6 MB / 0.8698 GB Notification: Performance of Templates: time 0.05211/3.405, allocations: 17.07 MB / 1.737 GB, free: 183.8 MB / 0.8698 GB