Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.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.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Basic") [: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.292/2.292, allocations: 253.1 MB / 260.4 MB, free: 7.484 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.003137/0.003137, allocations: 193.2 kB / 319.6 MB, free: 3.312 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 2.03/2.03, allocations: 205.4 MB / 0.5704 GB, free: 14.96 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.001261/0.001261, allocations: 94.64 kB / 0.6746 GB, free: 4.312 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.318e-06/9.378e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2088, allocations: 106.2 MB / 0.888 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.546/1.755, allocations: 456.3 MB / 1.334 GB, free: 247.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003268/1.755, allocations: 92.95 kB / 1.334 GB, free: 247.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 33.25/35, allocations: 6.244 GB / 7.577 GB, free: 84.75 MB / 1.136 GB Notification: Performance of Transformations before backend: time 0.00517/35.01, allocations: 0.5268 MB / 7.578 GB, free: 84.75 MB / 1.136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2061 * Number of variables: 2061 Notification: Performance of Generate backend data structure: time 0.08046/35.09, allocations: 15.05 MB / 7.592 GB, free: 81.77 MB / 1.136 GB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/35.09, allocations: 11.75 kB / 7.592 GB, free: 81.77 MB / 1.136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02102/35.11, allocations: 2.354 MB / 7.595 GB, free: 80.76 MB / 1.136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1257/35.24, allocations: 26.96 MB / 7.621 GB, free: 78.19 MB / 1.136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008058/35.24, allocations: 261.9 kB / 7.621 GB, free: 78.19 MB / 1.136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006496/35.24, allocations: 0.5895 MB / 7.622 GB, free: 78.19 MB / 1.136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05613/35.3, allocations: 20.18 MB / 7.642 GB, free: 78.15 MB / 1.136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05626/35.36, allocations: 15.69 MB / 7.657 GB, free: 76.34 MB / 1.136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006665/35.36, allocations: 18.2 kB / 7.657 GB, free: 76.34 MB / 1.136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004901/35.36, allocations: 15.59 kB / 7.657 GB, free: 76.34 MB / 1.136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002894/35.36, allocations: 219.9 kB / 7.657 GB, free: 76.34 MB / 1.136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2264/35.59, allocations: 82.25 MB / 7.738 GB, free: 43.57 MB / 1.136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02782/35.62, allocations: 10.79 MB / 7.748 GB, free: 43.44 MB / 1.136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02499/35.64, allocations: 9.926 MB / 7.758 GB, free: 43.31 MB / 1.136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1237/35.77, allocations: 35.93 MB / 7.793 GB, free: 34.79 MB / 1.136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02658/35.79, allocations: 9.272 MB / 7.802 GB, free: 34.63 MB / 1.136 GB Notification: Performance of pre-optimization done (n=608): time 1.319e-05/35.79, allocations: 3.984 kB / 7.802 GB, free: 34.63 MB / 1.136 GB Notification: Performance of matching and sorting (n=610): time 1.472/37.26, allocations: 151.4 MB / 7.95 GB, free: 11.45 MB / 1.136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007333/37.26, allocations: 2.512 MB / 7.952 GB, free: 8.363 MB / 1.136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0493/37.31, allocations: 14.14 MB / 7.966 GB, free: 220 kB / 1.136 GB Notification: Performance of collectPreVariables (initialization): time 0.00489/37.32, allocations: 45.7 kB / 7.966 GB, free: 168 kB / 1.136 GB Notification: Performance of collectInitialEqns (initialization): time 0.01561/37.33, allocations: 4.259 MB / 7.97 GB, free: 13.89 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.009104/37.34, allocations: 2.086 MB / 7.972 GB, free: 12.21 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004208/37.35, allocations: 0 / 7.972 GB, free: 12.21 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.001303/37.35, allocations: 0.6793 MB / 7.973 GB, free: 11.79 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02652/37.38, allocations: 8.832 MB / 7.982 GB, free: 7.434 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0314/37.41, allocations: 12.35 MB / 7.994 GB, free: 13.75 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03527/37.44, allocations: 10.35 MB / 8.004 GB, free: 5.148 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002085/37.44, allocations: 15.91 kB / 8.004 GB, free: 5.133 MB / 1.167 GB Notification: Performance of matching and sorting (n=1198) (initialization): time 2.161/39.6, allocations: 136.8 MB / 8.137 GB, free: 156.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.007025/39.61, allocations: 32.77 MB / 8.169 GB, free: 122.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006435/39.61, allocations: 113.1 kB / 8.169 GB, free: 122.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525/41.14, allocations: 162.4 MB / 8.328 GB, free: 106.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02218/41.16, allocations: 1.992 MB / 8.33 GB, free: 106.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3001/41.46, allocations: 69.03 MB / 8.397 GB, free: 87.34 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03373/41.49, allocations: 0.8544 MB / 8.398 GB, free: 86.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005904/41.5, allocations: 0.8336 MB / 8.399 GB, free: 86.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/41.5, allocations: 4 kB / 8.399 GB, free: 86.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 2.195/43.69, allocations: 132.6 MB / 8.528 GB, free: 147 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006118/43.69, allocations: 110.6 kB / 8.529 GB, free: 147 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639/45.33, allocations: 162.2 MB / 8.687 GB, free: 134 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01858/45.35, allocations: 1.955 MB / 8.689 GB, free: 134 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3293/45.68, allocations: 72.48 MB / 8.76 GB, free: 130.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03222/45.71, allocations: 0.8423 MB / 8.76 GB, free: 130 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005252/45.72, allocations: 0.7847 MB / 8.761 GB, free: 130 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (891): * Single equations (assignments): 813 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 1 {33 119} Notification: Performance of prepare postOptimizeDAE: time 0.008164/45.73, allocations: 351.8 kB / 8.762 GB, free: 129.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008543/45.74, allocations: 1.48 MB / 8.763 GB, free: 129.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4506/46.19, allocations: 58.63 MB / 8.82 GB, free: 122.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002037/46.19, allocations: 65 kB / 8.82 GB, free: 122.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001308/46.19, allocations: 29.31 kB / 8.82 GB, free: 122.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3769/46.56, allocations: 52.44 MB / 8.872 GB, free: 94.05 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4418/47.01, allocations: 72.27 MB / 8.942 GB, free: 45.41 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.435e-05/47.01, allocations: 0 / 8.942 GB, free: 45.41 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01282/47.02, allocations: 1.059 MB / 8.943 GB, free: 44.44 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.203/48.22, allocations: 67.91 MB / 9.01 GB, free: 143.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003387/48.22, allocations: 162 kB / 9.01 GB, free: 143.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1288/48.35, allocations: 27.78 MB / 9.037 GB, free: 137.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.857e-06/48.35, allocations: 0 / 9.037 GB, free: 137.1 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.4059/48.76, allocations: 63.45 MB / 9.099 GB, free: 129.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01631/48.78, allocations: 3.206 MB / 9.102 GB, free: 129.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009113/48.79, allocations: 81.89 kB / 9.102 GB, free: 129.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02497/48.81, allocations: 0.7556 MB / 9.103 GB, free: 129.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003197/48.81, allocations: 378.5 kB / 9.103 GB, free: 129.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00258/48.82, allocations: 265.5 kB / 9.103 GB, free: 129.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.03372/48.85, allocations: 10.63 MB / 9.114 GB, free: 128.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.06081/48.91, allocations: 7.658 MB / 9.121 GB, free: 128.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 (pmpSouth.vol.dynBal.U,pmpSouth.filter.x[1],pmpSouth.filter.x[2],pmpNorth.vol.dynBal.U,pmpNorth.filter.x[1],pmpNorth.filter.x[2],valSouth1[1].filter.x[1],valSouth1[1].filter.x[2],valSouth1[2].filter.x[1],valSouth1[2].filter.x[2],valSouth1[3].filter.x[1],valSouth1[3].filter.x[2],valSouth1[4].filter.x[1],valSouth1[4].filter.x[2],valSouth2[1].filter.x[1],valSouth2[1].filter.x[2],valSouth2[2].filter.x[1],valSouth2[2].filter.x[2],valSouth2[3].filter.x[1],valSouth2[3].filter.x[2],valSouth2[4].filter.x[1],valSouth2[4].filter.x[2],valSouth2[5].filter.x[1],valSouth2[5].filter.x[2],valSouth2[6].filter.x[1],valSouth2[6].filter.x[2],valSouth2[7].filter.x[1],valSouth2[7].filter.x[2],valSouth2[8].filter.x[1],valSouth2[8].filter.x[2],valNorth1[1].filter.x[1],valNorth1[1].filter.x[2],valNorth1[2].filter.x[1],valNorth1[2].filter.x[2],valNorth1[3].filter.x[1],valNorth1[3].filter.x[2],valNorth1[4].filter.x[1],valNorth1[4].filter.x[2],valNorth2[1].filter.x[1],valNorth2[1].filter.x[2],valNorth2[2].filter.x[1],valNorth2[2].filter.x[2],valNorth2[3].filter.x[1],valNorth2[3].filter.x[2],valNorth2[4].filter.x[1],valNorth2[4].filter.x[2],valNorth2[5].filter.x[1],valNorth2[5].filter.x[2],valNorth2[6].filter.x[1],valNorth2[6].filter.x[2],valNorth2[7].filter.x[1],valNorth2[7].filter.x[2],valNorth2[8].filter.x[1],valNorth2[8].filter.x[2],valSouth.vol.dynBal.U,valSouth.filter.x[1],valSouth.filter.x[2],valNorth.vol.dynBal.U,valNorth.filter.x[1],valNorth.filter.x[2],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.x[1],pumpHea.filter.x[2],valHea.filter.x[1],valHea.filter.x[2],valCoo.filter.x[1],valCoo.filter.x[2],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.x[1],pumpCoo.filter.x[2]) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulseStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (506): * Single equations (assignments): 484 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 1 {33 119} Notification: Performance of Backend phase and start with SimCode phase: time 0.01432/48.93, allocations: 5.277 MB / 9.126 GB, free: 126.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.1328/49.06, allocations: 36.58 MB / 9.162 GB, free: 123.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.209e-05/49.06, allocations: 9.906 kB / 9.162 GB, free: 123.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0334/49.09, allocations: 9.14 MB / 9.171 GB, free: 123.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07198/49.16, allocations: 7.286 MB / 9.178 GB, free: 122.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1549/49.32, allocations: 27.4 MB / 9.205 GB, free: 117.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03259/49.35, allocations: 10.08 MB / 9.215 GB, free: 116 MB / 1.167 GB Notification: Performance of SimCode: time 1.763e-06/49.35, allocations: 0 / 9.215 GB, free: 116 MB / 1.167 GB Notification: Performance of Templates: time 2.044/51.4, allocations: 480.2 MB / 9.684 GB, free: 142.8 MB / 1.167 GB