Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.DHC.Networks.Examples.Distribution2PipeExample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Experimental.DHC.Networks.Examples.Distribution2PipeExample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|terAutoSize.1..TLoaODE.TAir|minTSet.y|terAutoSize.1..QReqHea_flow|terAutoSize.1..QActHea_flow|terAutoSize.1..mReqHeaWat_flow|terAutoSize.1..port_aHeaWat.m_flow|terPlugFlow.1..TLoaODE.TAir|terPlugFlow.1..QReqHea_flow|terPlugFlow.1..QActHea_flow|terPlugFlow.1..mReqHeaWat_flow|terPlugFlow.1..port_aHeaWat.m_flow",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.Networks.Examples.Distribution2PipeExample") translateModel(Buildings.Experimental.DHC.Networks.Examples.Distribution2PipeExample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|terAutoSize.1..TLoaODE.TAir|minTSet.y|terAutoSize.1..QReqHea_flow|terAutoSize.1..QActHea_flow|terAutoSize.1..mReqHeaWat_flow|terAutoSize.1..port_aHeaWat.m_flow|terPlugFlow.1..TLoaODE.TAir|terPlugFlow.1..QReqHea_flow|terPlugFlow.1..QActHea_flow|terPlugFlow.1..mReqHeaWat_flow|terPlugFlow.1..port_aHeaWat.m_flow",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.Networks.Examples.Distribution2PipeExample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007804/0.007804, allocations: 100.4 kB / 15.87 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002054/0.002054, allocations: 190.9 kB / 16.79 MB, free: 5.805 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.63/2.63, allocations: 461.8 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 61.92 kB / 0.899 GB, free: 36.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3325, allocations: 157.4 MB / 1.053 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Networks.Examples.Distribution2PipeExample): time 2.324/2.657, allocations: 0.9647 GB / 2.017 GB, free: 63.75 MB / 1.357 GB Notification: Performance of NFInst.instExpressions: time 0.1882/2.845, allocations: 158.3 MB / 2.172 GB, free: 13.11 MB / 1.404 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03267/2.878, allocations: 0.5631 MB / 2.173 GB, free: 12.54 MB / 1.404 GB Notification: Performance of NFTyping.typeComponents: time 0.1027/2.981, allocations: 21.94 MB / 2.194 GB, free: 7.484 MB / 1.42 GB Notification: Performance of NFTyping.typeBindings: time 0.07013/3.051, allocations: 21.1 MB / 2.215 GB, free: 2.316 MB / 1.436 GB Notification: Performance of NFTyping.typeClassSections: time 0.03909/3.09, allocations: 13.39 MB / 2.228 GB, free: 5.027 MB / 1.451 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 1.666666666666667}[pressure.n] * 0.0‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.08051312873609197}[pressure.n] * 0.0‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 1.666666666666667}[pressure.n] * 0.0‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.08051312873609197}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 2.108/5.197, allocations: 251.1 MB / 2.473 GB, free: 64.69 MB / 1.576 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1141/5.311, allocations: 62.69 MB / 2.534 GB, free: 54.5 MB / 1.576 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1067/5.418, allocations: 45.82 MB / 2.579 GB, free: 48.91 MB / 1.576 GB Notification: Performance of NFSimplifyModel.simplify: time 0.09537/5.514, allocations: 45.93 MB / 2.624 GB, free: 29.01 MB / 1.576 GB Notification: Performance of NFPackage.collectConstants: time 0.02079/5.534, allocations: 2.957 MB / 2.627 GB, free: 26.05 MB / 1.576 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06279/5.597, allocations: 14.63 MB / 2.641 GB, free: 15.72 MB / 1.576 GB Notification: Performance of NFScalarize.scalarize: time 0.03359/5.631, allocations: 15.69 MB / 2.656 GB, free: 4.676 MB / 1.576 GB Notification: Performance of NFVerifyModel.verify: time 0.08998/5.721, allocations: 34.76 MB / 2.69 GB, free: 12.73 MB / 1.608 GB Notification: Performance of NFConvertDAE.convert: time 0.1324/5.853, allocations: 111.7 MB / 2.799 GB, free: 13.75 MB / 1.701 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/5.853, allocations: 0 / 2.799 GB, free: 13.75 MB / 1.701 GB Notification: Performance of FrontEnd: time 2.555e-06/5.853, allocations: 0 / 2.799 GB, free: 13.75 MB / 1.701 GB Notification: Performance of Transformations before backend: time 0.004157/5.858, allocations: 0 / 2.799 GB, free: 13.75 MB / 1.701 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8964 * Number of variables: 8964 Notification: Performance of Generate backend data structure: time 0.2519/6.11, allocations: 77.51 MB / 2.875 GB, free: 0.6953 MB / 1.764 GB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/6.11, allocations: 12.03 kB / 2.875 GB, free: 0.6836 MB / 1.764 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08099/6.191, allocations: 14.3 MB / 2.889 GB, free: 2.316 MB / 1.779 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2102/6.401, allocations: 90.74 MB / 2.978 GB, free: 9.863 MB / 1.873 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01222/6.413, allocations: 4.944 MB / 2.982 GB, free: 4.934 MB / 1.873 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01772/6.431, allocations: 3.778 MB / 2.986 GB, free: 1.168 MB / 1.873 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.444/7.875, allocations: 57.06 MB / 3.042 GB, free: 0.8827 GB / 1.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002748/7.877, allocations: 121.8 kB / 3.042 GB, free: 0.8827 GB / 1.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01785/7.895, allocations: 1.463 MB / 3.043 GB, free: 0.8827 GB / 1.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002085/7.897, allocations: 1.34 MB / 3.045 GB, free: 0.8826 GB / 1.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1468/8.044, allocations: 49.21 MB / 3.093 GB, free: 0.8814 GB / 1.92 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4876/8.532, allocations: 283.3 MB / 3.369 GB, free: 0.6599 GB / 1.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06399/8.596, allocations: 33.45 MB / 3.402 GB, free: 0.6273 GB / 1.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03117/8.627, allocations: 15.32 MB / 3.417 GB, free: 0.6124 GB / 1.92 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.1963/8.823, allocations: 72.3 MB / 3.488 GB, free: 0.5419 GB / 1.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03859/8.862, allocations: 16.2 MB / 3.503 GB, free: 0.5261 GB / 1.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03555/8.898, allocations: 2.833 MB / 3.506 GB, free: 0.5238 GB / 1.92 GB Notification: Performance of pre-optimization done (n=1620): time 5.906e-05/8.898, allocations: 0 / 3.506 GB, free: 0.5238 GB / 1.92 GB Notification: Performance of matching and sorting (n=1620): time 0.1396/9.037, allocations: 49.41 MB / 3.554 GB, free: 486.6 MB / 1.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002308/9.038, allocations: 0.7492 MB / 3.555 GB, free: 485.7 MB / 1.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1594/9.197, allocations: 63.7 MB / 3.617 GB, free: 422.4 MB / 1.92 GB Notification: Performance of collectPreVariables (initialization): time 0.007962/9.205, allocations: 493.7 kB / 3.618 GB, free: 421.9 MB / 1.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.04947/9.255, allocations: 30.36 MB / 3.648 GB, free: 391.4 MB / 1.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0122/9.267, allocations: 5.96 MB / 3.653 GB, free: 385.5 MB / 1.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.03882/9.306, allocations: 8.058 MB / 3.661 GB, free: 377.4 MB / 1.92 GB Notification: Performance of setup shared object (initialization): time 5.088e-05/9.306, allocations: 301.1 kB / 3.662 GB, free: 377.1 MB / 1.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0431/9.349, allocations: 21.12 MB / 3.682 GB, free: 356 MB / 1.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05442/9.403, allocations: 33.04 MB / 3.714 GB, free: 318 MB / 1.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08394/9.487, allocations: 48.35 MB / 3.762 GB, free: 265.4 MB / 1.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003947/9.488, allocations: 84 kB / 3.762 GB, free: 265.4 MB / 1.92 GB Notification: Performance of matching and sorting (n=4470) (initialization): time 0.1628/9.651, allocations: 64.77 MB / 3.825 GB, free: 200.4 MB / 1.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005773/9.651, allocations: 136 kB / 3.825 GB, free: 200.3 MB / 1.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009832/9.652, allocations: 324 kB / 3.825 GB, free: 200 MB / 1.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04757/9.7, allocations: 17.15 MB / 3.842 GB, free: 182.8 MB / 1.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.06011/9.76, allocations: 13.05 MB / 3.855 GB, free: 169.8 MB / 1.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04541/9.806, allocations: 32.32 MB / 3.886 GB, free: 136.9 MB / 1.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.06906/9.875, allocations: 6.256 MB / 3.893 GB, free: 130.6 MB / 1.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01114/9.886, allocations: 1.566 MB / 3.894 GB, free: 129 MB / 1.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.08838/9.974, allocations: 42.81 MB / 3.936 GB, free: 86.18 MB / 1.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.05161/10.03, allocations: 32.45 MB / 3.968 GB, free: 48.79 MB / 1.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.9135/10.94, allocations: 47.32 MB / 4.014 GB, free: 0.8168 GB / 1.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0004329/10.94, allocations: 83.75 kB / 4.014 GB, free: 0.8168 GB / 1.92 GB Notification: Performance of matching and sorting (n=4470) (initialization_lambda0): time 0.1803/11.12, allocations: 65 MB / 4.077 GB, free: 0.8141 GB / 1.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005314/11.12, allocations: 127.9 kB / 4.077 GB, free: 0.8141 GB / 1.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009813/11.12, allocations: 326 kB / 4.078 GB, free: 0.8141 GB / 1.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02716/11.15, allocations: 9.814 MB / 4.087 GB, free: 0.8139 GB / 1.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.06195/11.21, allocations: 13.25 MB / 4.1 GB, free: 0.8134 GB / 1.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05068/11.26, allocations: 40.14 MB / 4.139 GB, free: 0.7943 GB / 1.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07281/11.33, allocations: 6.247 MB / 4.146 GB, free: 0.7943 GB / 1.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01125/11.35, allocations: 1.536 MB / 4.147 GB, free: 0.7943 GB / 1.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1343 * Number of states: 0 () * Number of discrete variables: 35 ($PRE.loa.nextTimeEvent,$whenCondition1,terPlugFlow[5].con.con1.y,terPlugFlow[4].con.con1.y,terPlugFlow[3].con.con1.y,terPlugFlow[2].con.con1.y,terPlugFlow[1].con.con1.y,terAutoSize[5].con.con1.y,terAutoSize[4].con.con1.y,terAutoSize[3].con.con1.y,terAutoSize[2].con.con1.y,terAutoSize[1].con.con1.y,terAutoSize[1].hex.flowRegime_nominal,terAutoSize[1].hex.flowRegime,terAutoSize[2].hex.flowRegime_nominal,terAutoSize[2].hex.flowRegime,terAutoSize[3].hex.flowRegime_nominal,terAutoSize[3].hex.flowRegime,terAutoSize[4].hex.flowRegime_nominal,terAutoSize[4].hex.flowRegime,terAutoSize[5].hex.flowRegime_nominal,terAutoSize[5].hex.flowRegime,terPlugFlow[1].hex.flowRegime_nominal,terPlugFlow[1].hex.flowRegime,terPlugFlow[2].hex.flowRegime_nominal,terPlugFlow[2].hex.flowRegime,terPlugFlow[3].hex.flowRegime_nominal,terPlugFlow[3].hex.flowRegime,terPlugFlow[4].hex.flowRegime_nominal,terPlugFlow[4].hex.flowRegime,terPlugFlow[5].hex.flowRegime_nominal,terPlugFlow[5].hex.flowRegime,loa.nextTimeEventScaled,$PRE.loa.nextTimeEventScaled,loa.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3556): * Single equations (assignments): 3485 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 36 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 11 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 11 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 12 systems {(10,212), (1,5), (1,5), (1,5), (1,5), (1,5), (1,5), (1,5), (1,5), (1,5), (1,5), (10,212)} Notification: Performance of prepare postOptimizeDAE: time 0.0174/11.36, allocations: 2.157 MB / 4.149 GB, free: 0.7937 GB / 1.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02166/11.38, allocations: 4.997 MB / 4.154 GB, free: 0.7921 GB / 1.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1228/11.51, allocations: 40.28 MB / 4.193 GB, free: 0.7806 GB / 1.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000417/11.51, allocations: 203.8 kB / 4.194 GB, free: 0.7806 GB / 1.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001206/11.51, allocations: 3.406 kB / 4.194 GB, free: 0.7806 GB / 1.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.08436/11.59, allocations: 30.75 MB / 4.224 GB, free: 0.7633 GB / 1.92 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2745/11.87, allocations: 102 MB / 4.323 GB, free: 0.6638 GB / 1.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004321/11.87, allocations: 51.97 kB / 4.323 GB, free: 0.6638 GB / 1.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.014/11.88, allocations: 2.812 MB / 4.326 GB, free: 0.6611 GB / 1.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03629/11.92, allocations: 12.97 MB / 4.339 GB, free: 0.6484 GB / 1.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004987/11.92, allocations: 0.5972 MB / 4.339 GB, free: 0.6479 GB / 1.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03906/11.96, allocations: 24.54 MB / 4.363 GB, free: 0.6236 GB / 1.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-05/11.96, allocations: 39.81 kB / 4.363 GB, free: 0.6236 GB / 1.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1366/12.1, allocations: 58.44 MB / 4.42 GB, free: 0.5657 GB / 1.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03374/12.13, allocations: 9.91 MB / 4.43 GB, free: 0.556 GB / 1.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01947/12.15, allocations: 463.8 kB / 4.43 GB, free: 0.5556 GB / 1.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04835/12.2, allocations: 4.428 MB / 4.435 GB, free: 0.5513 GB / 1.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005298/12.21, allocations: 1.257 MB / 4.436 GB, free: 0.5501 GB / 1.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006203/12.21, allocations: 0.8197 MB / 4.437 GB, free: 0.5493 GB / 1.92 GB Notification: Performance of sorting global known variables: time 0.1071/12.32, allocations: 44.98 MB / 4.481 GB, free: 0.5056 GB / 1.92 GB Notification: Performance of sort global known variables: time 6.71e-07/12.32, allocations: 0 / 4.481 GB, free: 0.5056 GB / 1.92 GB Notification: Performance of remove unused functions: time 0.1449/12.46, allocations: 28.83 MB / 4.509 GB, free: 490.6 MB / 1.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 113 * Number of states: 139 (terAutoSize[1].con.I.y,terAutoSize[1].TLoaODE.TAir,terAutoSize[2].con.I.y,terAutoSize[2].TLoaODE.TAir,terAutoSize[3].con.I.y,terAutoSize[3].TLoaODE.TAir,terAutoSize[4].con.I.y,terAutoSize[4].TLoaODE.TAir,terAutoSize[5].con.I.y,terAutoSize[5].TLoaODE.TAir,disAutoSize.con[1].junConSup.vol.dynBal.U,disAutoSize.con[1].junConRet.vol.dynBal.U,disAutoSize.con[2].junConSup.vol.dynBal.U,disAutoSize.con[2].junConRet.vol.dynBal.U,disAutoSize.con[3].junConSup.vol.dynBal.U,disAutoSize.con[3].junConRet.vol.dynBal.U,disAutoSize.con[4].junConSup.vol.dynBal.U,disAutoSize.con[4].junConRet.vol.dynBal.U,disAutoSize.con[5].junConSup.vol.dynBal.U,disAutoSize.con[5].junConRet.vol.dynBal.U,terPlugFlow[1].con.I.y,terPlugFlow[1].TLoaODE.TAir,terPlugFlow[2].con.I.y,terPlugFlow[2].TLoaODE.TAir,terPlugFlow[3].con.I.y,terPlugFlow[3].TLoaODE.TAir,terPlugFlow[4].con.I.y,terPlugFlow[4].TLoaODE.TAir,terPlugFlow[5].con.I.y,terPlugFlow[5].TLoaODE.TAir,disPlugFlow.con[1].pipDisSup.del.x,disPlugFlow.con[1].pipDisSup.timDel.x,disPlugFlow.con[1].pipDisSup.vol_b.dynBal.U,disPlugFlow.con[1].pipDisSup.vol_a.dynBal.U,disPlugFlow.con[1].pipDisRet.del.x,disPlugFlow.con[1].pipDisRet.timDel.x,disPlugFlow.con[1].pipDisRet.vol_b.dynBal.U,disPlugFlow.con[1].pipDisRet.vol_a.dynBal.U,disPlugFlow.con[1].junConSup.vol.dynBal.U,disPlugFlow.con[1].junConRet.vol.dynBal.U,disPlugFlow.con[2].pipDisSup.del.x,disPlugFlow.con[2].pipDisSup.timDel.x,disPlugFlow.con[2].pipDisSup.vol_b.dynBal.U,disPlugFlow.con[2].pipDisSup.vol_a.dynBal.U,disPlugFlow.con[2].pipDisRet.del.x,disPlugFlow.con[2].pipDisRet.timDel.x,disPlugFlow.con[2].pipDisRet.vol_b.dynBal.U,disPlugFlow.con[2].pipDisRet.vol_a.dynBal.U,disPlugFlow.con[2].junConSup.vol.dynBal.U,disPlugFlow.con[2].junConRet.vol.dynBal.U,disPlugFlow.con[3].pipDisSup.del.x,disPlugFlow.con[3].pipDisSup.timDel.x,disPlugFlow.con[3].pipDisSup.vol_b.dynBal.U,disPlugFlow.con[3].pipDisSup.vol_a.dynBal.U,disPlugFlow.con[3].pipDisRet.del.x,disPlugFlow.con[3].pipDisRet.timDel.x,disPlugFlow.con[3].pipDisRet.vol_b.dynBal.U,disPlugFlow.con[3].pipDisRet.vol_a.dynBal.U,disPlugFlow.con[3].junConSup.vol.dynBal.U,disPlugFlow.con[3].junConRet.vol.dynBal.U,disPlugFlow.con[4].pipDisSup.del.x,disPlugFlow.con[4].pipDisSup.timDel.x,disPlugFlow.con[4].pipDisSup.vol_b.dynBal.U,disPlugFlow.con[4].pipDisSup.vol_a.dynBal.U,disPlugFlow.con[4].pipDisRet.del.x,disPlugFlow.con[4].pipDisRet.timDel.x,disPlugFlow.con[4].pipDisRet.vol_b.dynBal.U,disPlugFlow.con[4].pipDisRet.vol_a.dynBal.U,disPlugFlow.con[4].junConSup.vol.dynBal.U,disPlugFlow.con[4].junConRet.vol.dynBal.U,disPlugFlow.con[5].pipDisSup.del.x,disPlugFlow.con[5].pipDisSup.timDel.x,disPlugFlow.con[5].pipDisSup.vol_b.dynBal.U,disPlugFlow.con[5].pipDisSup.vol_a.dynBal.U,disPlugFlow.con[5].pipDisRet.del.x,disPlugFlow.con[5].pipDisRet.timDel.x,disPlugFlow.con[5].pipDisRet.vol_b.dynBal.U,disPlugFlow.con[5].pipDisRet.vol_a.dynBal.U,disPlugFlow.con[5].junConSup.vol.dynBal.U,disPlugFlow.con[5].junConRet.vol.dynBal.U,disPlugFlow.pipEnd.del.x,disPlugFlow.pipEnd.timDel.x,disPlugFlow.pipEnd.vol_b.dynBal.U,disPlugFlow.pipEnd.vol_a.dynBal.U,pipeGroundCouplingRet.groActLay[1].T[1],pipeGroundCouplingRet.groActLay[1].T[2],pipeGroundCouplingRet.groActLay[1].T[3],pipeGroundCouplingRet.groActLay[1].T[4],pipeGroundCouplingRet.groActLay[1].T[5],pipeGroundCouplingRet.groActLay[2].T[1],pipeGroundCouplingRet.groActLay[2].T[2],pipeGroundCouplingRet.groActLay[2].T[3],pipeGroundCouplingRet.groActLay[2].T[4],pipeGroundCouplingRet.groActLay[2].T[5],pipeGroundCouplingRet.groActLay[3].T[1],pipeGroundCouplingRet.groActLay[3].T[2],pipeGroundCouplingRet.groActLay[3].T[3],pipeGroundCouplingRet.groActLay[3].T[4],pipeGroundCouplingRet.groActLay[3].T[5],pipeGroundCouplingRet.groActLay[4].T[1],pipeGroundCouplingRet.groActLay[4].T[2],pipeGroundCouplingRet.groActLay[4].T[3],pipeGroundCouplingRet.groActLay[4].T[4],pipeGroundCouplingRet.groActLay[4].T[5],pipeGroundCouplingRet.groActLay[5].T[1],pipeGroundCouplingRet.groActLay[5].T[2],pipeGroundCouplingRet.groActLay[5].T[3],pipeGroundCouplingRet.groActLay[5].T[4],pipeGroundCouplingRet.groActLay[5].T[5],pipeGroundCouplingSup.groActLay[1].T[1],pipeGroundCouplingSup.groActLay[1].T[2],pipeGroundCouplingSup.groActLay[1].T[3],pipeGroundCouplingSup.groActLay[1].T[4],pipeGroundCouplingSup.groActLay[1].T[5],pipeGroundCouplingSup.groActLay[2].T[1],pipeGroundCouplingSup.groActLay[2].T[2],pipeGroundCouplingSup.groActLay[2].T[3],pipeGroundCouplingSup.groActLay[2].T[4],pipeGroundCouplingSup.groActLay[2].T[5],pipeGroundCouplingSup.groActLay[3].T[1],pipeGroundCouplingSup.groActLay[3].T[2],pipeGroundCouplingSup.groActLay[3].T[3],pipeGroundCouplingSup.groActLay[3].T[4],pipeGroundCouplingSup.groActLay[3].T[5],pipeGroundCouplingSup.groActLay[4].T[1],pipeGroundCouplingSup.groActLay[4].T[2],pipeGroundCouplingSup.groActLay[4].T[3],pipeGroundCouplingSup.groActLay[4].T[4],pipeGroundCouplingSup.groActLay[4].T[5],pipeGroundCouplingSup.groActLay[5].T[1],pipeGroundCouplingSup.groActLay[5].T[2],pipeGroundCouplingSup.groActLay[5].T[3],pipeGroundCouplingSup.groActLay[5].T[4],pipeGroundCouplingSup.groActLay[5].T[5],pipeGroundCouplingSup.groActLay[6].T[1],pipeGroundCouplingSup.groActLay[6].T[2],pipeGroundCouplingSup.groActLay[6].T[3],pipeGroundCouplingSup.groActLay[6].T[4],pipeGroundCouplingSup.groActLay[6].T[5]) * Number of discrete variables: 3 ($whenCondition1,loa.nextTimeEvent,loa.nextTimeEventScaled) * Number of discrete states: 2 (loa.nextTimeEvent,loa.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1263): * Single equations (assignments): 1157 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 92 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 12 systems {(11,226), (1,7), (1,7), (1,7), (1,7), (1,7), (1,7), (1,7), (1,7), (1,7), (1,7), (11,226)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01582/12.48, allocations: 6.054 MB / 4.515 GB, free: 485.2 MB / 1.92 GB Notification: Performance of simCode: created initialization part: time 0.3009/12.78, allocations: 103.1 MB / 4.616 GB, free: 381.9 MB / 1.92 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-05/12.78, allocations: 27.12 kB / 4.616 GB, free: 381.8 MB / 1.92 GB Notification: Performance of simCode: created simulation system equations: time 0.03356/12.81, allocations: 17.47 MB / 4.633 GB, free: 364.2 MB / 1.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1405/12.96, allocations: 25.67 MB / 4.658 GB, free: 339.1 MB / 1.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3341/13.29, allocations: 152.6 MB / 4.807 GB, free: 186.1 MB / 1.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0936/13.38, allocations: 39.62 MB / 4.845 GB, free: 146.4 MB / 1.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01884/13.4, allocations: 3.526 MB / 4.849 GB, free: 142.8 MB / 1.92 GB Notification: Performance of SimCode: time 1.232e-06/13.4, allocations: 4 kB / 4.849 GB, free: 142.8 MB / 1.92 GB Notification: Performance of Templates: time 18.04/31.44, allocations: 7.46 GB / 12.31 GB, free: 0.6391 GB / 1.92 GB make -j1 -f Buildings_latest_Buildings.Experimental.DHC.Networks.Examples.Distribution2PipeExample.makefile make -j1 -f Buildings_latest_Buildings.Experimental.DHC.Networks.Examples.Distribution2PipeExample.makefile clang++ -std=c++14 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Experimental.DHC.Networks.Examples.Distribution2PipeExampleCalcHelperMain.o OMCppBuildings_latest_Buildings.Experimental.DHC.Networks.Examples.Distribution2PipeExampleCalcHelperMain.cpp In file included from OMCppBuildings_latest_Buildings.Experimental.DHC.Networks.Examples.Distribution2PipeExampleCalcHelperMain.cpp:28: ./OMCppBuildings_latest_Buildings.Experimental.DHC.Networks.Examples.Distribution2PipeExampleFunctions.cpp:393:281: fatal error: bracket nesting level exceeded maximum of 256 ./OMCppBuildings_latest_Buildings.Experimental.DHC.Networks.Examples.Distribution2PipeExampleFunctions.cpp:393:281: note: use -fbracket-depth=N to increase maximum nesting level 1 error generated. make: *** [: OMCppBuildings_latest_Buildings.Experimental.DHC.Networks.Examples.Distribution2PipeExampleCalcHelperMain.o] Error 1