Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemIn.T|senTemOut.T|bou.1..T|pip.QEnv_flow|pip.dp|pip.v|pip.m_flow_nominal|pip.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized") translateModel(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemIn.T|senTemOut.T|bou.1..T|pip.QEnv_flow|pip.dp|pip.v|pip.m_flow_nominal|pip.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 106.4 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.001271/0.00127, allocations: 187.5 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.357/1.357, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.585/2.585, allocations: 469.8 MB / 0.7427 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001892, allocations: 69.17 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3056, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized): time 0.5748/0.8805, allocations: 66 MB / 1.129 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02478/0.9053, allocations: 16.63 MB / 1.145 GB, free: 1.414 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003089/0.9085, allocations: 59.38 kB / 1.145 GB, free: 1.391 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002719/0.9112, allocations: 0.6918 MB / 1.146 GB, free: 0.9727 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.007973/0.9192, allocations: 2.378 MB / 1.148 GB, free: 15.56 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005307/0.9246, allocations: 1.658 MB / 1.149 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.05456/0.9791, allocations: 35.92 MB / 1.185 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02636/1.006, allocations: 15.59 MB / 1.2 GB, free: 14.45 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02999/1.036, allocations: 11.94 MB / 1.211 GB, free: 2.535 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01795/1.054, allocations: 9.964 MB / 1.221 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.004639/1.058, allocations: 1.438 MB / 1.223 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01268/1.071, allocations: 3.18 MB / 1.226 GB, free: 3.91 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.007039/1.078, allocations: 3.279 MB / 1.229 GB, free: 0.6211 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.01788/1.096, allocations: 7.306 MB / 1.236 GB, free: 9.285 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.02455/1.121, allocations: 18.29 MB / 1.254 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/1.121, allocations: 4 kB / 1.254 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.433e-06/1.121, allocations: 0 / 1.254 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0007145/1.121, allocations: 3.938 kB / 1.254 GB, free: 6.953 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1830 * Number of variables: 1830 Notification: Performance of Generate backend data structure: time 0.04099/1.162, allocations: 13.1 MB / 1.267 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/1.162, allocations: 8.031 kB / 1.267 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007187/1.17, allocations: 1.295 MB / 1.268 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02919/1.199, allocations: 13.36 MB / 1.281 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005977/1.199, allocations: 0.5255 MB / 1.282 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002879/1.202, allocations: 0.7107 MB / 1.282 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02966/1.232, allocations: 11.19 MB / 1.293 GB, free: 14.23 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003331/1.232, allocations: 35.67 kB / 1.293 GB, free: 14.2 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002208/1.235, allocations: 304 kB / 1.293 GB, free: 13.9 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002976/1.235, allocations: 223.9 kB / 1.294 GB, free: 13.68 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02217/1.257, allocations: 9.241 MB / 1.303 GB, free: 4.426 MB / 1.014 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.08188/1.339, allocations: 51.19 MB / 1.353 GB, free: 13.83 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009294/1.348, allocations: 4.849 MB / 1.357 GB, free: 8.977 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005145/1.354, allocations: 2.825 MB / 1.36 GB, free: 6.141 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002096/1.356, allocations: 1.722 MB / 1.362 GB, free: 4.066 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001123/1.356, allocations: 86.27 kB / 1.362 GB, free: 3.973 MB / 1.076 GB Notification: Performance of pre-optimization done (n=420): time 6.893e-06/1.356, allocations: 0 / 1.362 GB, free: 3.973 MB / 1.076 GB Notification: Performance of matching and sorting (n=420): time 0.0185/1.374, allocations: 7.827 MB / 1.37 GB, free: 12.12 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.92e-05/1.374, allocations: 90.55 kB / 1.37 GB, free: 12.02 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02246/1.397, allocations: 9.978 MB / 1.379 GB, free: 2.078 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.001281/1.398, allocations: 105.7 kB / 1.38 GB, free: 1.969 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.006976/1.405, allocations: 4.729 MB / 1.384 GB, free: 13.2 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.002899/1.408, allocations: 1.487 MB / 1.386 GB, free: 11.7 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004084/1.412, allocations: 1.103 MB / 1.387 GB, free: 10.58 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001479/1.412, allocations: 301.1 kB / 1.387 GB, free: 10.29 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005493/1.418, allocations: 2.641 MB / 1.39 GB, free: 7.629 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007046/1.425, allocations: 4.169 MB / 1.394 GB, free: 2.801 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01264/1.438, allocations: 7.374 MB / 1.401 GB, free: 10.77 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.661e-05/1.438, allocations: 12 kB / 1.401 GB, free: 10.76 MB / 1.123 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.0185/1.456, allocations: 7.925 MB / 1.409 GB, free: 2.812 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 6.023e-05/1.456, allocations: 27.94 kB / 1.409 GB, free: 2.785 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001968/1.457, allocations: 75.98 kB / 1.409 GB, free: 2.711 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.916e-05/1.457, allocations: 72 kB / 1.409 GB, free: 2.641 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004749/1.461, allocations: 1.202 MB / 1.41 GB, free: 1.438 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001449/1.462, allocations: 107.6 kB / 1.41 GB, free: 1.332 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008757/1.47, allocations: 1.021 MB / 1.411 GB, free: 312 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001329/1.472, allocations: 275.9 kB / 1.411 GB, free: 36 kB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01353/1.485, allocations: 6.408 MB / 1.418 GB, free: 9.613 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007352/1.493, allocations: 4.165 MB / 1.422 GB, free: 4.781 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0129/1.506, allocations: 7.37 MB / 1.429 GB, free: 12.75 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.183e-05/1.506, allocations: 16 kB / 1.429 GB, free: 12.73 MB / 1.154 GB Notification: Performance of matching and sorting (n=694) (initialization_lambda0): time 0.01968/1.525, allocations: 7.918 MB / 1.437 GB, free: 4.793 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 5.322e-05/1.526, allocations: 28 kB / 1.437 GB, free: 4.766 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002434/1.526, allocations: 72.08 kB / 1.437 GB, free: 4.695 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.03e-05/1.526, allocations: 80.03 kB / 1.437 GB, free: 4.617 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0051/1.531, allocations: 1.209 MB / 1.438 GB, free: 3.406 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001445/1.531, allocations: 103.6 kB / 1.438 GB, free: 3.305 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01041/1.542, allocations: 0.9097 MB / 1.439 GB, free: 2.391 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00151/1.543, allocations: 279.9 kB / 1.439 GB, free: 2.117 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 211 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (674): * Single equations (assignments): 654 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001787/1.545, allocations: 0.5102 MB / 1.44 GB, free: 1.598 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003675/1.549, allocations: 0.8528 MB / 1.44 GB, free: 0.7344 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01977/1.568, allocations: 8.924 MB / 1.449 GB, free: 7.848 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.554e-05/1.569, allocations: 79.94 kB / 1.449 GB, free: 7.77 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.48e-05/1.569, allocations: 0 / 1.449 GB, free: 7.77 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01092/1.579, allocations: 6.102 MB / 1.455 GB, free: 1.578 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05343/1.633, allocations: 20.07 MB / 1.475 GB, free: 13.14 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000238/1.633, allocations: 39.97 kB / 1.475 GB, free: 13.1 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004581/1.638, allocations: 0.9325 MB / 1.476 GB, free: 12.16 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.657e-05/1.638, allocations: 35.94 kB / 1.476 GB, free: 12.13 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001119/1.639, allocations: 191.9 kB / 1.476 GB, free: 11.94 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.532e-05/1.639, allocations: 43.86 kB / 1.476 GB, free: 11.9 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.761e-05/1.639, allocations: 23.94 kB / 1.476 GB, free: 11.88 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02703/1.666, allocations: 11.62 MB / 1.487 GB, free: 15.84 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007836/1.674, allocations: 2.264 MB / 1.49 GB, free: 13.55 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003937/1.678, allocations: 143.9 kB / 1.49 GB, free: 13.41 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009246/1.687, allocations: 0.6938 MB / 1.49 GB, free: 12.71 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00164/1.689, allocations: 446.8 kB / 1.491 GB, free: 12.27 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00144/1.691, allocations: 267.8 kB / 1.491 GB, free: 12.01 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.01985/1.71, allocations: 7.857 MB / 1.499 GB, free: 4.18 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.002e-06/1.71, allocations: 0 / 1.499 GB, free: 4.18 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.02251/1.733, allocations: 4.857 MB / 1.504 GB, free: 15.31 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 59 * Number of states: 42 (pip.pipSeg[1].del.x,pip.pipSeg[1].timDel.x,pip.pipSeg[1].vol_b.dynBal.U,pip.pipSeg[1].vol_a.dynBal.U,pip.pipSeg[2].del.x,pip.pipSeg[2].timDel.x,pip.pipSeg[2].vol_b.dynBal.U,pip.pipSeg[2].vol_a.dynBal.U,pip.pipSeg[3].del.x,pip.pipSeg[3].timDel.x,pip.pipSeg[3].vol_b.dynBal.U,pip.pipSeg[3].vol_a.dynBal.U,pip.pipSeg[4].del.x,pip.pipSeg[4].timDel.x,pip.pipSeg[4].vol_b.dynBal.U,pip.pipSeg[4].vol_a.dynBal.U,pip.pipSeg[5].del.x,pip.pipSeg[5].timDel.x,pip.pipSeg[5].vol_b.dynBal.U,pip.pipSeg[5].vol_a.dynBal.U,pip.pipSeg[6].del.x,pip.pipSeg[6].timDel.x,pip.pipSeg[6].vol_b.dynBal.U,pip.pipSeg[6].vol_a.dynBal.U,pip.pipSeg[7].del.x,pip.pipSeg[7].timDel.x,pip.pipSeg[7].vol_b.dynBal.U,pip.pipSeg[7].vol_a.dynBal.U,pip.pipSeg[8].del.x,pip.pipSeg[8].timDel.x,pip.pipSeg[8].vol_b.dynBal.U,pip.pipSeg[8].vol_a.dynBal.U,pip.pipSeg[9].del.x,pip.pipSeg[9].timDel.x,pip.pipSeg[9].vol_b.dynBal.U,pip.pipSeg[9].vol_a.dynBal.U,pip.pipSeg[10].del.x,pip.pipSeg[10].timDel.x,pip.pipSeg[10].vol_b.dynBal.U,pip.pipSeg[10].vol_a.dynBal.U,senTemOut.T,senTemIn.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (536): * Single equations (assignments): 450 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 86 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003257/1.736, allocations: 0.7813 MB / 1.504 GB, free: 14.54 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0566/1.793, allocations: 22.82 MB / 1.527 GB, free: 7.457 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 2.12e-05/1.793, allocations: 4.562 kB / 1.527 GB, free: 7.453 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.008074/1.801, allocations: 4.244 MB / 1.531 GB, free: 3.09 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03167/1.833, allocations: 6.178 MB / 1.537 GB, free: 13.2 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05777/1.891, allocations: 27.82 MB / 1.564 GB, free: 1.148 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.9041/2.795, allocations: 7.335 MB / 1.571 GB, free: 408.9 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003807/2.799, allocations: 0.8729 MB / 1.572 GB, free: 408.9 MB / 1.279 GB Notification: Performance of SimCode: time 1.784e-06/2.799, allocations: 1.312 kB / 1.572 GB, free: 408.9 MB / 1.279 GB Notification: Performance of Templates: time 0.2706/3.069, allocations: 200.5 MB / 1.768 GB, free: 268.7 MB / 1.279 GB make -j1 -f Buildings_11_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.makefile make -j1 -f Buildings_11_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.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_11_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedCalcHelperMain.o OMCppBuildings_11_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedCalcHelperMain.cpp In file included from OMCppBuildings_11_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedCalcHelperMain.cpp:29: ./OMCppBuildings_11_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:2612:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp126; ^ ./OMCppBuildings_11_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:2618:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(19, _simTime, _simTime, __z[19], (_pip_P_pipSeg10_P_timDel_P_u_ >= 0.0), tmp124, tmp125, tmp126); ~~~~~~~~~~ ^ ./OMCppBuildings_11_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:2658:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp129; ^ ./OMCppBuildings_11_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:2664:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(18, _pip_P_pipSeg10_P_port_a_P_h_outflow_, _senTemOut_P_port_b_P_h_outflow_, division(__z[9],_pip_P_pipSeg10_P_del_P_length_,!_initial,"pip.pipSeg[10].del.length"), (_pip_P_pipSeg10_P_v_ >= 0.0), tmp127, tmp128, tmp129); ~~~~~~~~~~ ^ ./OMCppBuildings_11_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:2990:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp149; ^ ./OMCppBuildings_11_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:2996:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(17, _simTime, _simTime, __z[18], (_pip_P_pipSeg9_P_timDel_P_u_ >= 0.0), tmp147, tmp148, tmp149); ~~~~~~~~~~ ^ ./OMCppBuildings_11_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3036:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp152; ^ ./OMCppBuildings_11_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3042:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(16, _pip_P_pipSeg9_P_port_a_P_h_outflow_, _pip_P_pipSeg9_P_port_b_P_h_outflow_, division(__z[8],_pip_P_pipSeg9_P_del_P_length_,!_initial,"pip.pipSeg[9].del.length"), (_pip_P_pipSeg9_P_v_ >= 0.0), tmp150, tmp151, tmp152); ~~~~~~~~~~ ^ ./OMCppBuildings_11_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3368:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp172; ^ ./OMCppBuildings_11_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3374:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(15, _simTime, _simTime, __z[17], (_pip_P_pipSeg8_P_timDel_P_u_ >= 0.0), tmp170, tmp171, tmp172); ~~~~~~~~~~ ^ ./OMCppBuildings_11_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3414:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp175; ^ ./OMCppBuildings_11_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3420:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(14, _pip_P_pipSeg8_P_port_a_P_h_outflow_, _pip_P_pipSeg8_P_port_b_P_h_outflow_, division(__z[7],_pip_P_pipSeg8_P_del_P_length_,!_initial,"pip.pipSeg[8].del.length"), (_pip_P_pipSeg8_P_v_ >= 0.0), tmp173, tmp174, tmp175); ~~~~~~~~~~ ^ ./OMCppBuildings_11_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3746:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp195; ^ ./OMCppBuildings_11_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3752:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(13, _simTime, _simTime, __z[16], (_pip_P_pipSeg7_P_timDel_P_u_ >= 0.0), tmp193, tmp194, tmp195); ~~~~~~~~~~ ^ ./OMCppBuildings_11_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3792:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp198; ^ ./OMCppBuildings_11_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3798:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(12, _pip_P_pipSeg7_P_port_a_P_h_outflow_, _pip_P_pipSeg7_P_port_b_P_h_outflow_, division(__z[6],_pip_P_pipSeg7_P_del_P_length_,!_initial,"pip.pipSeg[7].del.length"), (_pip_P_pipSeg7_P_v_ >= 0.0), tmp196, tmp197, tmp198); ~~~~~~~~~~ ^ ./OMCppBuildings_11_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:4124:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp218; ^ ./OMCppBuildings_11_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:4130:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(11, _simTime, _simTime, __z[15], (_pip_P_pipSeg6_P_timDel_P_u_ >= 0.0), tmp216, tmp217, tmp218); ~~~~~~~~~~ ^ ./OMCppBuildings_11_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:4170:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp221; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppBuildings_11_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedCalcHelperMain.o] Error 1