Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.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.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") [: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.517/2.517, allocations: 253.1 MB / 260.4 MB, free: 7.465 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.002267/0.002266, allocations: 187.5 kB / 319.6 MB, free: 3.328 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.83/1.83, allocations: 205.4 MB / 0.5704 GB, free: 15.06 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.001331/0.001331, allocations: 91.94 kB / 0.6746 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.442e-05/1.46e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2196, allocations: 106.2 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.412/1.632, allocations: 416.4 MB / 1.295 GB, free: 255.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003003/1.632, allocations: 85.22 kB / 1.295 GB, free: 255.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.578/4.21, allocations: 0.5969 GB / 1.892 GB, free: 37.21 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002379/4.21, allocations: 43.98 kB / 1.892 GB, free: 37.17 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.006309/4.217, allocations: 1.851 MB / 1.893 GB, free: 35.28 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/4.217, allocations: 12.03 kB / 1.894 GB, free: 35.27 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003304/4.22, allocations: 409.6 kB / 1.894 GB, free: 34.87 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004862/4.225, allocations: 1.319 MB / 1.895 GB, free: 33.53 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001276/4.226, allocations: 181.9 kB / 1.895 GB, free: 33.35 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004572/4.227, allocations: 60 kB / 1.895 GB, free: 33.29 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002368/4.229, allocations: 0.7537 MB / 1.896 GB, free: 32.54 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002288/4.231, allocations: 0.9031 MB / 1.897 GB, free: 31.58 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.599e-05/4.232, allocations: 0 / 1.897 GB, free: 31.58 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001416/4.232, allocations: 3.906 kB / 1.897 GB, free: 31.58 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/4.232, allocations: 28 kB / 1.897 GB, free: 31.55 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01341/4.245, allocations: 4.639 MB / 1.902 GB, free: 26.71 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002931/4.248, allocations: 0.5819 MB / 1.902 GB, free: 26.12 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001628/4.25, allocations: 322 kB / 1.902 GB, free: 25.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002204/4.252, allocations: 1.069 MB / 1.904 GB, free: 24.52 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001939/4.254, allocations: 403 kB / 1.904 GB, free: 24.11 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 7.664e-06/4.254, allocations: 3.938 kB / 1.904 GB, free: 24.11 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73): time 0.0056/4.26, allocations: 0.8223 MB / 1.905 GB, free: 23.28 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.177e-05/4.26, allocations: 188.6 kB / 1.905 GB, free: 23.05 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002793/4.263, allocations: 0.8539 MB / 1.906 GB, free: 22.19 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004427/4.263, allocations: 37.7 kB / 1.906 GB, free: 22.15 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006269/4.264, allocations: 407.6 kB / 1.906 GB, free: 21.74 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005413/4.265, allocations: 240.4 kB / 1.906 GB, free: 21.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/4.265, allocations: 0 / 1.906 GB, free: 21.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001292/4.265, allocations: 345.8 kB / 1.907 GB, free: 21.16 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001429/4.266, allocations: 310 kB / 1.907 GB, free: 20.86 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001932/4.268, allocations: 0.5927 MB / 1.908 GB, free: 20.16 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003561/4.272, allocations: 470.7 kB / 1.908 GB, free: 19.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.04e-05/4.272, allocations: 3.938 kB / 1.908 GB, free: 19.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.006829/4.279, allocations: 1.076 MB / 1.909 GB, free: 18.61 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004478/4.279, allocations: 1.594 MB / 1.911 GB, free: 16.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.445e-05/4.279, allocations: 4 kB / 1.911 GB, free: 16.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.784e-05/4.279, allocations: 8 kB / 1.911 GB, free: 16.89 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004823/4.284, allocations: 320.3 kB / 1.911 GB, free: 16.58 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001267/4.286, allocations: 1.203 MB / 1.912 GB, free: 15.33 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004209/4.29, allocations: 191.1 kB / 1.912 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005491/4.29, allocations: 63.86 kB / 1.912 GB, free: 15.08 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/4.291, allocations: 4 kB / 1.912 GB, free: 15.08 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005913/4.296, allocations: 0.9075 MB / 1.913 GB, free: 14.17 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.356e-05/4.297, allocations: 4 kB / 1.913 GB, free: 14.17 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.673e-05/4.297, allocations: 11.94 kB / 1.913 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003867/4.3, allocations: 300 kB / 1.914 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.861e-05/4.301, allocations: 8 kB / 1.914 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004124/4.305, allocations: 171.2 kB / 1.914 GB, free: 13.69 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005489/4.305, allocations: 59.86 kB / 1.914 GB, free: 13.63 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 116 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006117/4.306, allocations: 124.8 kB / 1.914 GB, free: 13.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007053/4.307, allocations: 126.4 kB / 1.914 GB, free: 13.38 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00722/4.314, allocations: 1.132 MB / 1.915 GB, free: 12.24 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.411e-05/4.314, allocations: 12 kB / 1.915 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/4.314, allocations: 0 / 1.915 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.523e-05/4.314, allocations: 7.984 kB / 1.915 GB, free: 12.22 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01104/4.325, allocations: 2.236 MB / 1.917 GB, free: 9.945 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.892e-05/4.325, allocations: 4 kB / 1.917 GB, free: 9.941 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003349/4.329, allocations: 233 kB / 1.918 GB, free: 9.715 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.97e-05/4.329, allocations: 4 kB / 1.918 GB, free: 9.711 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002616/4.329, allocations: 19.98 kB / 1.918 GB, free: 9.691 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008278/4.33, allocations: 1.203 MB / 1.919 GB, free: 8.441 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.977e-06/4.33, allocations: 0 / 1.919 GB, free: 8.441 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007519/4.337, allocations: 1.673 MB / 1.92 GB, free: 6.695 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001612/4.339, allocations: 351 kB / 1.921 GB, free: 6.332 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006159/4.34, allocations: 4 kB / 1.921 GB, free: 6.328 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003792/4.344, allocations: 131.8 kB / 1.921 GB, free: 6.199 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004324/4.344, allocations: 68.41 kB / 1.921 GB, free: 6.129 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002522/4.344, allocations: 39.97 kB / 1.921 GB, free: 6.09 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.002173/4.347, allocations: 0.6301 MB / 1.922 GB, free: 5.457 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006204/4.353, allocations: 0.8501 MB / 1.922 GB, free: 4.605 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (temSen.T,val.filter.x[1],val.filter.x[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003939/4.357, allocations: 0.8939 MB / 1.923 GB, free: 3.77 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.007474/4.364, allocations: 1.519 MB / 1.925 GB, free: 2.227 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.361e-05/4.364, allocations: 0 / 1.925 GB, free: 2.227 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002328/4.367, allocations: 478.3 kB / 1.925 GB, free: 1.762 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006865/4.374, allocations: 448.3 kB / 1.926 GB, free: 1.328 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3483/4.722, allocations: 1.838 MB / 1.927 GB, free: 231.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001564/4.724, allocations: 1.346 MB / 1.929 GB, free: 231 MB / 0.8698 GB Notification: Performance of SimCode: time 1.623e-06/4.724, allocations: 0 / 1.929 GB, free: 231 MB / 0.8698 GB Notification: Performance of Templates: time 0.08572/4.809, allocations: 33.03 MB / 1.961 GB, free: 230.6 MB / 0.8698 GB