Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Networks.Examples.Distribution1PipeExample.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.DHC.Networks.Examples.Distribution1PipeExample,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.DHC.Networks.Examples.Distribution1PipeExample") translateModel(Buildings.DHC.Networks.Examples.Distribution1PipeExample,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.DHC.Networks.Examples.Distribution1PipeExample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.001148/0.001148, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.374/1.374, allocations: 222.9 MB / 240.6 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.742/2.742, allocations: 469.4 MB / 0.7423 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001323, allocations: 65.95 kB / 0.9083 GB, free: 34.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.31, allocations: 159.1 MB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Examples.Distribution1PipeExample): time 2.292/2.602, allocations: 0.9418 GB / 2.006 GB, free: 72.13 MB / 1.357 GB Notification: Performance of NFInst.instExpressions: time 0.1785/2.78, allocations: 152.9 MB / 2.155 GB, free: 9.867 MB / 1.389 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03448/2.815, allocations: 0.5825 MB / 2.155 GB, free: 9.281 MB / 1.389 GB Notification: Performance of NFTyping.typeComponents: time 0.1152/2.93, allocations: 31.79 MB / 2.186 GB, free: 10.58 MB / 1.42 GB Notification: Performance of NFTyping.typeBindings: time 0.06764/2.998, allocations: 20.9 MB / 2.207 GB, free: 5.613 MB / 1.436 GB Notification: Performance of NFTyping.typeClassSections: time 0.03652/3.034, allocations: 13.68 MB / 2.22 GB, free: 8.047 MB / 1.451 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089: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:1089:9-1089: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:1089:9-1089: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:1089:9-1089: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:1089:9-1089:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.001004433569776996, 0.002008867139553991, 0.002736215586633885}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 2.238/5.272, allocations: 252.2 MB / 2.467 GB, free: 80.6 MB / 1.592 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1331/5.405, allocations: 78.1 MB / 2.543 GB, free: 69.89 MB / 1.592 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1388/5.544, allocations: 60.93 MB / 2.602 GB, free: 64.68 MB / 1.592 GB Notification: Performance of NFSimplifyModel.simplify: time 0.09839/5.643, allocations: 50.03 MB / 2.651 GB, free: 33.31 MB / 1.592 GB Notification: Performance of NFPackage.collectConstants: time 0.03147/5.674, allocations: 7.254 MB / 2.658 GB, free: 26.06 MB / 1.592 GB Notification: Performance of NFFlatten.collectFunctions: time 0.07444/5.749, allocations: 18.92 MB / 2.677 GB, free: 11.83 MB / 1.592 GB Notification: Performance of NFScalarize.scalarize: time 0.04291/5.792, allocations: 22.47 MB / 2.699 GB, free: 14.4 MB / 1.608 GB Notification: Performance of NFVerifyModel.verify: time 0.09606/5.888, allocations: 41.74 MB / 2.739 GB, free: 0 / 1.623 GB Notification: Performance of NFConvertDAE.convert: time 0.1373/6.025, allocations: 108 MB / 2.845 GB, free: 6.773 MB / 1.733 GB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/6.025, allocations: 0 / 2.845 GB, free: 6.773 MB / 1.733 GB Notification: Performance of FrontEnd: time 1.593e-06/6.025, allocations: 0 / 2.845 GB, free: 6.773 MB / 1.733 GB Notification: Performance of Transformations before backend: time 0.004453/6.03, allocations: 0 / 2.845 GB, free: 6.773 MB / 1.733 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8856 * Number of variables: 8856 Notification: Performance of Generate backend data structure: time 0.2432/6.273, allocations: 80.15 MB / 2.923 GB, free: 7.078 MB / 1.811 GB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/6.273, allocations: 8.031 kB / 2.923 GB, free: 7.07 MB / 1.811 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09669/6.37, allocations: 19 MB / 2.942 GB, free: 3.988 MB / 1.826 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2267/6.596, allocations: 98.12 MB / 3.038 GB, free: 4.344 MB / 1.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01525/6.612, allocations: 5.716 MB / 3.043 GB, free: 14.64 MB / 1.936 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0187/6.631, allocations: 3.705 MB / 3.047 GB, free: 10.95 MB / 1.936 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.476/8.107, allocations: 59.63 MB / 3.105 GB, free: 0.9077 GB / 1.936 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002002/8.109, allocations: 113.6 kB / 3.105 GB, free: 0.9077 GB / 1.936 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01554/8.124, allocations: 1.448 MB / 3.107 GB, free: 0.9066 GB / 1.936 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001097/8.125, allocations: 1.303 MB / 3.108 GB, free: 0.9065 GB / 1.936 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1318/8.257, allocations: 52.39 MB / 3.159 GB, free: 0.8896 GB / 1.936 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.4229/8.68, allocations: 282.1 MB / 3.434 GB, free: 0.6379 GB / 1.936 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06838/8.749, allocations: 34.43 MB / 3.468 GB, free: 0.6046 GB / 1.936 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03532/8.784, allocations: 17.24 MB / 3.485 GB, free: 0.5879 GB / 1.936 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1566/8.941, allocations: 59.78 MB / 3.543 GB, free: 0.5296 GB / 1.936 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04369/8.984, allocations: 19.19 MB / 3.562 GB, free: 0.5108 GB / 1.936 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03404/9.019, allocations: 3.335 MB / 3.565 GB, free: 0.5081 GB / 1.936 GB Notification: Performance of pre-optimization done (n=1529): time 5.592e-05/9.019, allocations: 0 / 3.565 GB, free: 0.5081 GB / 1.936 GB Notification: Performance of matching and sorting (n=1529): time 0.2799/9.299, allocations: 87.51 MB / 3.651 GB, free: 432.4 MB / 1.936 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002153/9.299, allocations: 0.7369 MB / 3.651 GB, free: 431.5 MB / 1.936 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1641/9.463, allocations: 71.06 MB / 3.721 GB, free: 360.9 MB / 1.936 GB Notification: Performance of collectPreVariables (initialization): time 0.007999/9.471, allocations: 484.9 kB / 3.721 GB, free: 360.4 MB / 1.936 GB Notification: Performance of collectInitialEqns (initialization): time 0.04566/9.517, allocations: 32.55 MB / 3.753 GB, free: 327.8 MB / 1.936 GB Notification: Performance of collectInitialBindings (initialization): time 0.01165/9.528, allocations: 5.635 MB / 3.759 GB, free: 322.2 MB / 1.936 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.03838/9.567, allocations: 9.034 MB / 3.767 GB, free: 313.1 MB / 1.936 GB Notification: Performance of setup shared object (initialization): time 4.595e-05/9.567, allocations: 312.9 kB / 3.768 GB, free: 312.8 MB / 1.936 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05431/9.621, allocations: 26.46 MB / 3.794 GB, free: 286.3 MB / 1.936 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.06177/9.683, allocations: 38.92 MB / 3.832 GB, free: 242.2 MB / 1.936 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1016/9.785, allocations: 59.01 MB / 3.889 GB, free: 178.9 MB / 1.936 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004107/9.785, allocations: 87.94 kB / 3.889 GB, free: 178.8 MB / 1.936 GB Notification: Performance of matching and sorting (n=4910) (initialization): time 0.1759/9.961, allocations: 76.8 MB / 3.964 GB, free: 101.8 MB / 1.936 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005531/9.962, allocations: 136 kB / 3.964 GB, free: 101.7 MB / 1.936 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008159/9.962, allocations: 319.9 kB / 3.965 GB, free: 101.4 MB / 1.936 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04189/10, allocations: 12.95 MB / 3.977 GB, free: 88.4 MB / 1.936 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05103/10.06, allocations: 11.13 MB / 3.988 GB, free: 77.25 MB / 1.936 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.039/10.09, allocations: 35.51 MB / 4.023 GB, free: 40.95 MB / 1.936 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0643/10.16, allocations: 5.954 MB / 4.029 GB, free: 34.99 MB / 1.936 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009671/10.17, allocations: 1.792 MB / 4.03 GB, free: 33.2 MB / 1.936 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.9176/11.09, allocations: 48.59 MB / 4.078 GB, free: 0.849 GB / 1.936 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.07025/11.16, allocations: 37.18 MB / 4.114 GB, free: 0.8357 GB / 1.936 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.09717/11.25, allocations: 55.68 MB / 4.169 GB, free: 0.8139 GB / 1.936 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0005102/11.25, allocations: 86.84 kB / 4.169 GB, free: 0.8139 GB / 1.936 GB Notification: Performance of matching and sorting (n=4910) (initialization_lambda0): time 0.1794/11.43, allocations: 72.19 MB / 4.239 GB, free: 0.7942 GB / 1.936 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002842/11.43, allocations: 134.8 kB / 4.239 GB, free: 0.7942 GB / 1.936 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007352/11.43, allocations: 316.7 kB / 4.24 GB, free: 0.7942 GB / 1.936 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03405/11.47, allocations: 10.72 MB / 4.25 GB, free: 0.7927 GB / 1.936 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04936/11.52, allocations: 11.14 MB / 4.261 GB, free: 0.7915 GB / 1.936 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02864/11.55, allocations: 25.8 MB / 4.286 GB, free: 0.7689 GB / 1.936 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.06808/11.61, allocations: 5.945 MB / 4.292 GB, free: 0.7634 GB / 1.936 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01077/11.63, allocations: 1.695 MB / 4.294 GB, free: 0.7617 GB / 1.936 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1379 * 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 (3758): * Single equations (assignments): 3669 * Array equations: 22 * Algorithm blocks: 0 * Record equations: 35 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 16 * Torn equation systems: 16 * 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): 16 systems {1, 1, 1, 1, 1, 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): 16 systems {(1,29), (1,29), (1,29), (1,29), (4,62), (1,5), (1,5), (1,5), (1,5), (1,5), (1,5), (1,29), (1,29), (1,29), (1,29), (4,62)} Notification: Performance of prepare postOptimizeDAE: time 0.01911/11.64, allocations: 2.203 MB / 4.296 GB, free: 0.7598 GB / 1.936 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02395/11.67, allocations: 5.428 MB / 4.301 GB, free: 0.7556 GB / 1.936 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1326/11.8, allocations: 44.52 MB / 4.345 GB, free: 0.7123 GB / 1.936 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003057/11.8, allocations: 188 kB / 4.345 GB, free: 0.7121 GB / 1.936 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.205e-05/11.8, allocations: 4 kB / 4.345 GB, free: 0.7121 GB / 1.936 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.09373/11.9, allocations: 34.77 MB / 4.379 GB, free: 0.678 GB / 1.936 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2482/12.14, allocations: 97.18 MB / 4.474 GB, free: 0.5831 GB / 1.936 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003354/12.14, allocations: 35.98 kB / 4.474 GB, free: 0.5831 GB / 1.936 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01819/12.16, allocations: 3.531 MB / 4.477 GB, free: 0.5796 GB / 1.936 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0271/12.19, allocations: 10.06 MB / 4.487 GB, free: 0.5698 GB / 1.936 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.006702/12.2, allocations: 0.5621 MB / 4.487 GB, free: 0.5692 GB / 1.936 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03385/12.23, allocations: 30.58 MB / 4.517 GB, free: 0.5388 GB / 1.936 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.77e-05/12.23, allocations: 31.88 kB / 4.517 GB, free: 0.5387 GB / 1.936 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1452/12.38, allocations: 62.65 MB / 4.578 GB, free: 488.3 MB / 1.936 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03739/12.41, allocations: 10.15 MB / 4.588 GB, free: 478.1 MB / 1.936 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02481/12.44, allocations: 406.4 kB / 4.589 GB, free: 477.7 MB / 1.936 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0508/12.49, allocations: 4.528 MB / 4.593 GB, free: 473.2 MB / 1.936 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005249/12.49, allocations: 1.12 MB / 4.594 GB, free: 472.1 MB / 1.936 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005673/12.5, allocations: 0.8548 MB / 4.595 GB, free: 471.3 MB / 1.936 GB Notification: Performance of sorting global known variables: time 0.1112/12.61, allocations: 49.57 MB / 4.644 GB, free: 422 MB / 1.936 GB Notification: Performance of sort global known variables: time 8.32e-07/12.61, allocations: 0 / 4.644 GB, free: 422 MB / 1.936 GB Notification: Performance of remove unused functions: time 0.1199/12.73, allocations: 28.13 MB / 4.671 GB, free: 395.5 MB / 1.936 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 85 * Number of states: 94 (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].junConSup.vol.dynBal.U,disPlugFlow.con[1].junConRet.vol.dynBal.U,disPlugFlow.con[1].pipDis.del.x,disPlugFlow.con[1].pipDis.timDel.x,disPlugFlow.con[1].pipDis.vol_b.dynBal.U,disPlugFlow.con[1].pipDis.vol_a.dynBal.U,disPlugFlow.con[2].junConSup.vol.dynBal.U,disPlugFlow.con[2].junConRet.vol.dynBal.U,disPlugFlow.con[2].pipDis.del.x,disPlugFlow.con[2].pipDis.timDel.x,disPlugFlow.con[2].pipDis.vol_b.dynBal.U,disPlugFlow.con[2].pipDis.vol_a.dynBal.U,disPlugFlow.con[3].junConSup.vol.dynBal.U,disPlugFlow.con[3].junConRet.vol.dynBal.U,disPlugFlow.con[3].pipDis.del.x,disPlugFlow.con[3].pipDis.timDel.x,disPlugFlow.con[3].pipDis.vol_b.dynBal.U,disPlugFlow.con[3].pipDis.vol_a.dynBal.U,disPlugFlow.con[4].junConSup.vol.dynBal.U,disPlugFlow.con[4].junConRet.vol.dynBal.U,disPlugFlow.con[4].pipDis.del.x,disPlugFlow.con[4].pipDis.timDel.x,disPlugFlow.con[4].pipDis.vol_b.dynBal.U,disPlugFlow.con[4].pipDis.vol_a.dynBal.U,disPlugFlow.con[5].junConSup.vol.dynBal.U,disPlugFlow.con[5].junConRet.vol.dynBal.U,disPlugFlow.con[5].pipDis.del.x,disPlugFlow.con[5].pipDis.timDel.x,disPlugFlow.con[5].pipDis.vol_b.dynBal.U,disPlugFlow.con[5].pipDis.vol_a.dynBal.U,disPlugFlow.pipEnd.del.x,disPlugFlow.pipEnd.timDel.x,disPlugFlow.pipEnd.vol_b.dynBal.U,disPlugFlow.pipEnd.vol_a.dynBal.U,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 (1304): * Single equations (assignments): 1202 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 74 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 16 * 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): 10 systems {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): 16 systems {(1,31), (1,31), (1,31), (1,31), (4,66), (1,31), (1,7), (1,7), (1,31), (1,7), (1,7), (1,7), (1,7), (1,31), (1,31), (4,66)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01588/12.75, allocations: 5.832 MB / 4.677 GB, free: 390.3 MB / 1.936 GB Notification: Performance of simCode: created initialization part: time 0.5574/13.3, allocations: 214.7 MB / 4.886 GB, free: 175.7 MB / 1.936 GB Notification: Performance of simCode: created event and clocks part: time 5.006e-05/13.3, allocations: 22.89 kB / 4.886 GB, free: 175.7 MB / 1.936 GB Notification: Performance of simCode: created simulation system equations: time 0.04024/13.34, allocations: 17.95 MB / 4.904 GB, free: 157.7 MB / 1.936 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1549/13.5, allocations: 29.84 MB / 4.933 GB, free: 128.8 MB / 1.936 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.148/15.65, allocations: 162.7 MB / 5.092 GB, free: 0.7661 GB / 1.936 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1061/15.75, allocations: 41.86 MB / 5.133 GB, free: 0.7539 GB / 1.936 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02748/15.78, allocations: 3.915 MB / 5.137 GB, free: 0.7537 GB / 1.936 GB Notification: Performance of SimCode: time 2.124e-06/15.78, allocations: 0 / 5.137 GB, free: 0.7537 GB / 1.936 GB Notification: Performance of Templates: time 27.78/43.56, allocations: 12.36 GB / 17.5 GB, free: 0.5988 GB / 1.936 GB make -j1 -f Buildings_latest_Buildings.DHC.Networks.Examples.Distribution1PipeExample.makefile make -j1 -f Buildings_latest_Buildings.DHC.Networks.Examples.Distribution1PipeExample.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.DHC.Networks.Examples.Distribution1PipeExampleCalcHelperMain.o OMCppBuildings_latest_Buildings.DHC.Networks.Examples.Distribution1PipeExampleCalcHelperMain.cpp In file included from OMCppBuildings_latest_Buildings.DHC.Networks.Examples.Distribution1PipeExampleCalcHelperMain.cpp:28: ./OMCppBuildings_latest_Buildings.DHC.Networks.Examples.Distribution1PipeExampleFunctions.cpp:401:281: fatal error: bracket nesting level exceeded maximum of 256 ./OMCppBuildings_latest_Buildings.DHC.Networks.Examples.Distribution1PipeExampleFunctions.cpp:401:281: note: use -fbracket-depth=N to increase maximum nesting level 1 error generated. make: *** [: OMCppBuildings_latest_Buildings.DHC.Networks.Examples.Distribution1PipeExampleCalcHelperMain.o] Error 1