Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.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.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1") [: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.087/2.087, allocations: 253.1 MB / 260.4 MB, free: 8.48 MB / 206.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002382/0.002382, allocations: 170.9 kB / 319.6 MB, free: 8.086 MB / 254.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.82/1.82, allocations: 205.4 MB / 0.5704 GB, free: 4.305 MB / 414.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001423/0.001422, allocations: 98.81 kB / 0.6746 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 8.396e-06/8.485e-06, allocations: 0 / 0.7843 GB, free: 106.9 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2089, allocations: 106.3 MB / 0.888 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.637/1.846, allocations: 456.3 MB / 1.334 GB, free: 235.3 MB / 0.8575 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003085/1.846, allocations: 89.73 kB / 1.334 GB, free: 235.3 MB / 0.8575 GB Notification: Performance of FrontEnd: time 43.26/45.1, allocations: 8.463 GB / 9.797 GB, free: 83.52 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.005236/45.11, allocations: 0.5147 MB / 9.797 GB, free: 83 MB / 1.139 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.07884/45.19, allocations: 15.03 MB / 9.812 GB, free: 68.37 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/45.19, allocations: 12.03 kB / 9.812 GB, free: 68.36 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02025/45.21, allocations: 2.351 MB / 9.814 GB, free: 65.98 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.121/45.33, allocations: 26.9 MB / 9.84 GB, free: 39 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006972/45.33, allocations: 260 kB / 9.841 GB, free: 38.75 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007074/45.34, allocations: 0.5858 MB / 9.841 GB, free: 38.16 MB / 1.139 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05593/45.39, allocations: 19.97 MB / 9.861 GB, free: 18.18 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05595/45.45, allocations: 15.54 MB / 9.876 GB, free: 2 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000621/45.45, allocations: 15.84 kB / 9.876 GB, free: 1.984 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005335/45.45, allocations: 16 kB / 9.876 GB, free: 1.969 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002705/45.45, allocations: 223.9 kB / 9.876 GB, free: 1.75 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.985/46.44, allocations: 83.08 MB / 9.957 GB, free: 119.9 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02547/46.46, allocations: 10.24 MB / 9.967 GB, free: 119.7 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0225/46.49, allocations: 9.375 MB / 9.977 GB, free: 119.7 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1158/46.6, allocations: 35.33 MB / 10.01 GB, free: 111.3 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02529/46.63, allocations: 9.059 MB / 10.02 GB, free: 111.2 MB / 1.139 GB Notification: Performance of pre-optimization done (n=584): time 1.184e-05/46.63, allocations: 2.25 kB / 10.02 GB, free: 111.2 MB / 1.139 GB Notification: Performance of matching and sorting (n=586): time 1.543/48.17, allocations: 149.8 MB / 10.17 GB, free: 100.2 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007893/48.17, allocations: 2.511 MB / 10.17 GB, free: 97.15 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04886/48.22, allocations: 14.17 MB / 10.18 GB, free: 96.39 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.004472/48.23, allocations: 44.45 kB / 10.18 GB, free: 96.36 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.01009/48.24, allocations: 4.079 MB / 10.19 GB, free: 94.97 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.00813/48.24, allocations: 1.994 MB / 10.19 GB, free: 93.93 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004108/48.25, allocations: 1.875 kB / 10.19 GB, free: 93.93 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.001263/48.25, allocations: 0.6769 MB / 10.19 GB, free: 93.6 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02539/48.28, allocations: 8.665 MB / 10.2 GB, free: 93.58 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0289/48.3, allocations: 12.14 MB / 10.21 GB, free: 89.6 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03303/48.34, allocations: 10.19 MB / 10.22 GB, free: 89.37 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001236/48.34, allocations: 14.03 kB / 10.22 GB, free: 89.37 MB / 1.139 GB Notification: Performance of matching and sorting (n=1198) (initialization): time 1.489/49.83, allocations: 134.8 MB / 10.35 GB, free: 28.6 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 0.8771/50.7, allocations: 36.48 MB / 10.39 GB, free: 129.9 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000669/50.7, allocations: 117.8 kB / 10.39 GB, free: 129.9 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538/52.24, allocations: 161.4 MB / 10.54 GB, free: 118.1 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02392/52.27, allocations: 2.093 MB / 10.55 GB, free: 118.1 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.308/52.57, allocations: 67.58 MB / 10.61 GB, free: 111.1 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03506/52.61, allocations: 0.8709 MB / 10.61 GB, free: 111 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006036/52.61, allocations: 0.8398 MB / 10.61 GB, free: 111 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/52.62, allocations: 3.656 kB / 10.61 GB, free: 111 MB / 1.139 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.461/54.08, allocations: 132.1 MB / 10.74 GB, free: 82.2 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006108/54.08, allocations: 126 kB / 10.74 GB, free: 82.08 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.302/56.38, allocations: 161.2 MB / 10.9 GB, free: 128.2 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01948/56.4, allocations: 2.046 MB / 10.9 GB, free: 128.2 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.305/56.7, allocations: 68.52 MB / 10.97 GB, free: 124.4 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03342/56.74, allocations: 0.8388 MB / 10.97 GB, free: 124.3 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005289/56.74, allocations: 0.798 MB / 10.97 GB, free: 124.3 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * 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 (939): * Single equations (assignments): 861 * 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 {39 65} Notification: Performance of prepare postOptimizeDAE: time 0.007473/56.75, allocations: 348.8 kB / 10.97 GB, free: 124.2 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007771/56.76, allocations: 1.476 MB / 10.97 GB, free: 124.2 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4334/57.19, allocations: 57.71 MB / 11.03 GB, free: 116.7 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001798/57.19, allocations: 70.28 kB / 11.03 GB, free: 116.7 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-05/57.19, allocations: 27.91 kB / 11.03 GB, free: 116.7 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3923/57.58, allocations: 51.62 MB / 11.08 GB, free: 109.6 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4608/58.04, allocations: 70.99 MB / 11.15 GB, free: 79.47 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-05/58.04, allocations: 0 / 11.15 GB, free: 79.47 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01337/58.06, allocations: 1.112 MB / 11.15 GB, free: 78.63 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.254/59.31, allocations: 70.25 MB / 11.22 GB, free: 136.8 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002563/59.31, allocations: 165 kB / 11.22 GB, free: 136.8 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1113/59.43, allocations: 26.45 MB / 11.24 GB, free: 130.3 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/59.43, allocations: 0 / 11.24 GB, free: 130.3 MB / 1.139 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.4417/59.87, allocations: 62.38 MB / 11.31 GB, free: 122.6 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01513/59.88, allocations: 3.155 MB / 11.31 GB, free: 122 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008043/59.89, allocations: 90.66 kB / 11.31 GB, free: 122 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02375/59.91, allocations: 0.7417 MB / 11.31 GB, free: 121.9 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00298/59.92, allocations: 369.6 kB / 11.31 GB, free: 121.9 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002501/59.92, allocations: 252.1 kB / 11.31 GB, free: 121.9 MB / 1.139 GB Notification: Performance of sort global known variables: time 0.03123/59.95, allocations: 10.65 MB / 11.32 GB, free: 121.5 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.07914/60.03, allocations: 7.664 MB / 11.33 GB, free: 121.5 MB / 1.139 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 (530): * Single equations (assignments): 508 * 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 {39 65} Notification: Performance of Backend phase and start with SimCode phase: time 0.01592/60.05, allocations: 5.289 MB / 11.33 GB, free: 119.2 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.1303/60.18, allocations: 35.98 MB / 11.37 GB, free: 116.2 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-05/60.18, allocations: 7.625 kB / 11.37 GB, free: 116.2 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.04661/60.22, allocations: 8.855 MB / 11.38 GB, free: 115.9 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07078/60.29, allocations: 7.269 MB / 11.38 GB, free: 115.5 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.112/60.41, allocations: 27.34 MB / 11.41 GB, free: 110 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02977/60.44, allocations: 10.1 MB / 11.42 GB, free: 108.7 MB / 1.139 GB Notification: Performance of SimCode: time 2.515e-06/60.44, allocations: 1.781 kB / 11.42 GB, free: 108.7 MB / 1.139 GB Notification: Performance of Templates: time 2.702/63.14, allocations: 472.6 MB / 11.88 GB, free: 117.3 MB / 1.139 GB