Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001697/0.001697, allocations: 104.5 kB / 16.4 MB, free: 6.508 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.001871/0.001871, allocations: 187 kB / 17.34 MB, free: 5.742 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.524/1.524, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.327/2.327, allocations: 390.3 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 59.91 kB / 0.9515 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9689/0.9703, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized): time 0.07894/1.049, allocations: 66.55 MB / 1.154 GB, free: 5.844 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02855/1.078, allocations: 16.75 MB / 1.17 GB, free: 9.805 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003651/1.082, allocations: 64.88 kB / 1.17 GB, free: 9.781 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003128/1.085, allocations: 0.8344 MB / 1.171 GB, free: 9.246 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.008752/1.094, allocations: 2.674 MB / 1.173 GB, free: 7.656 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005856/1.099, allocations: 1.833 MB / 1.175 GB, free: 6.598 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.05623/1.156, allocations: 35.85 MB / 1.21 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02475/1.181, allocations: 15.78 MB / 1.226 GB, free: 1.578 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02634/1.207, allocations: 11.98 MB / 1.237 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0198/1.227, allocations: 9.703 MB / 1.247 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.004852/1.232, allocations: 1.453 MB / 1.248 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01386/1.246, allocations: 3.177 MB / 1.251 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.00777/1.253, allocations: 3.279 MB / 1.255 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.01761/1.271, allocations: 7.31 MB / 1.262 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.03399/1.305, allocations: 21.95 MB / 1.283 GB, free: 6.613 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.914e-06/1.305, allocations: 0 / 1.283 GB, free: 6.613 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.364e-06/1.305, allocations: 0 / 1.283 GB, free: 6.613 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0007287/1.306, allocations: 0 / 1.283 GB, free: 6.613 MB / 1.014 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.0393/1.345, allocations: 13.13 MB / 1.296 GB, free: 9.367 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/1.345, allocations: 12.03 kB / 1.296 GB, free: 9.355 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007233/1.352, allocations: 1.283 MB / 1.297 GB, free: 8.059 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02807/1.381, allocations: 12.97 MB / 1.31 GB, free: 10.99 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005862/1.381, allocations: 0.5294 MB / 1.31 GB, free: 10.46 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003/1.384, allocations: 0.7145 MB / 1.311 GB, free: 9.742 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02921/1.413, allocations: 11.21 MB / 1.322 GB, free: 14.24 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004227/1.414, allocations: 35.67 kB / 1.322 GB, free: 14.21 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002548/1.416, allocations: 304 kB / 1.322 GB, free: 13.91 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002844/1.417, allocations: 219.9 kB / 1.323 GB, free: 13.7 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02332/1.44, allocations: 9.249 MB / 1.332 GB, free: 4.43 MB / 1.061 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.09181/1.532, allocations: 52.13 MB / 1.383 GB, free: 12.89 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01022/1.542, allocations: 4.849 MB / 1.387 GB, free: 8.043 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006177/1.548, allocations: 2.829 MB / 1.39 GB, free: 5.207 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0024/1.551, allocations: 1.719 MB / 1.392 GB, free: 3.137 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001771/1.551, allocations: 90.27 kB / 1.392 GB, free: 3.039 MB / 1.123 GB Notification: Performance of pre-optimization done (n=420): time 1.29e-05/1.551, allocations: 0 / 1.392 GB, free: 3.039 MB / 1.123 GB Notification: Performance of matching and sorting (n=420): time 0.02142/1.573, allocations: 7.815 MB / 1.399 GB, free: 11.2 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.535e-05/1.573, allocations: 90.55 kB / 1.399 GB, free: 11.09 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02565/1.598, allocations: 10.47 MB / 1.41 GB, free: 0.668 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.001449/1.6, allocations: 113.7 kB / 1.41 GB, free: 0.5508 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.007632/1.608, allocations: 4.717 MB / 1.414 GB, free: 11.8 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.003602/1.611, allocations: 1.49 MB / 1.416 GB, free: 10.29 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004479/1.616, allocations: 1.107 MB / 1.417 GB, free: 9.168 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000104/1.616, allocations: 301.1 kB / 1.417 GB, free: 8.871 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005775/1.622, allocations: 2.676 MB / 1.42 GB, free: 6.18 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007253/1.629, allocations: 4.197 MB / 1.424 GB, free: 1.324 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01292/1.642, allocations: 7.413 MB / 1.431 GB, free: 9.25 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.837e-05/1.642, allocations: 12 kB / 1.431 GB, free: 9.238 MB / 1.17 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.02185/1.664, allocations: 7.988 MB / 1.439 GB, free: 1.23 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 7.014e-05/1.664, allocations: 30.34 kB / 1.439 GB, free: 1.203 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002773/1.664, allocations: 75.97 kB / 1.439 GB, free: 1.129 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001247/1.664, allocations: 80 kB / 1.439 GB, free: 1.051 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005246/1.67, allocations: 1.205 MB / 1.44 GB, free: 15.84 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001551/1.67, allocations: 107.6 kB / 1.44 GB, free: 15.74 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008937/1.679, allocations: 0.6856 MB / 1.441 GB, free: 15.05 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001589/1.68, allocations: 283.9 kB / 1.441 GB, free: 14.77 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01384/1.694, allocations: 6.432 MB / 1.448 GB, free: 8.324 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007677/1.702, allocations: 4.201 MB / 1.452 GB, free: 3.457 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01413/1.716, allocations: 7.409 MB / 1.459 GB, free: 11.39 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.27e-05/1.716, allocations: 16 kB / 1.459 GB, free: 11.37 MB / 1.201 GB Notification: Performance of matching and sorting (n=694) (initialization_lambda0): time 0.02305/1.739, allocations: 7.984 MB / 1.467 GB, free: 3.367 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 7.692e-05/1.739, allocations: 28.03 kB / 1.467 GB, free: 3.34 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003068/1.74, allocations: 71.97 kB / 1.467 GB, free: 3.27 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001169/1.74, allocations: 79.94 kB / 1.467 GB, free: 3.191 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005221/1.745, allocations: 1.205 MB / 1.468 GB, free: 1.984 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001453/1.745, allocations: 107.6 kB / 1.468 GB, free: 1.879 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009144/1.754, allocations: 0.5702 MB / 1.469 GB, free: 1.305 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001647/1.756, allocations: 283.9 kB / 1.469 GB, free: 1.027 MB / 1.201 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.0029/1.759, allocations: 0.5069 MB / 1.47 GB, free: 0.5117 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004864/1.764, allocations: 0.849 MB / 1.47 GB, free: 15.65 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02288/1.787, allocations: 8.905 MB / 1.479 GB, free: 6.781 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001256/1.787, allocations: 79.94 kB / 1.479 GB, free: 6.703 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.601e-05/1.787, allocations: 0 / 1.479 GB, free: 6.703 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01316/1.8, allocations: 6.102 MB / 1.485 GB, free: 0.5156 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05264/1.853, allocations: 20.63 MB / 1.505 GB, free: 11.51 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002384/1.853, allocations: 39.97 kB / 1.505 GB, free: 11.47 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004386/1.858, allocations: 0.9486 MB / 1.506 GB, free: 10.52 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.07e-05/1.858, allocations: 35.94 kB / 1.506 GB, free: 10.48 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001079/1.859, allocations: 187.9 kB / 1.506 GB, free: 10.3 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.366e-05/1.859, allocations: 43.86 kB / 1.507 GB, free: 10.26 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-05/1.859, allocations: 23.88 kB / 1.507 GB, free: 10.23 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02386/1.883, allocations: 11.62 MB / 1.518 GB, free: 14.21 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00742/1.89, allocations: 2.35 MB / 1.52 GB, free: 11.82 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004044/1.894, allocations: 143.9 kB / 1.52 GB, free: 11.68 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008332/1.903, allocations: 335.5 kB / 1.521 GB, free: 11.36 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00138/1.904, allocations: 446.8 kB / 1.521 GB, free: 10.92 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001308/1.905, allocations: 271.8 kB / 1.521 GB, free: 10.65 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.02029/1.926, allocations: 8.208 MB / 1.529 GB, free: 2.469 MB / 1.264 GB Notification: Performance of sort global known variables: time 4.01e-07/1.926, allocations: 0 / 1.529 GB, free: 2.469 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0262/1.952, allocations: 4.908 MB / 1.534 GB, free: 13.55 MB / 1.279 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.00335/1.955, allocations: 0.786 MB / 1.535 GB, free: 12.77 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.02289/1.978, allocations: 11.35 MB / 1.546 GB, free: 1.16 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 2.479e-05/1.978, allocations: 5.062 kB / 1.546 GB, free: 1.156 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.00778/1.986, allocations: 4.243 MB / 1.55 GB, free: 12.79 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03658/2.023, allocations: 6.213 MB / 1.556 GB, free: 6.754 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.268/3.291, allocations: 23.79 MB / 1.579 GB, free: 406.7 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01904/3.31, allocations: 7.337 MB / 1.587 GB, free: 405.8 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005651/3.316, allocations: 0.8837 MB / 1.587 GB, free: 405.8 MB / 1.311 GB Notification: Performance of SimCode: time 2.063e-06/3.316, allocations: 0 / 1.587 GB, free: 405.8 MB / 1.311 GB Notification: Performance of Templates: time 0.3442/3.66, allocations: 204.5 MB / 1.787 GB, free: 260 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.makefile make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.makefile clang++ -std=c++17 -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_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedCalcHelperMain.cpp In file included from OMCppBuildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedCalcHelperMain.cpp:29: ./OMCppBuildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:2720:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp126; ^ ./OMCppBuildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:2726: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_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:2766:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp129; ^ ./OMCppBuildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:2772: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_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3098:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp149; ^ ./OMCppBuildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3104: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_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3144:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp152; ^ ./OMCppBuildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3150: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_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3476:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp172; ^ ./OMCppBuildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3482: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_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3522:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp175; ^ ./OMCppBuildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3528: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_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3854:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp195; ^ ./OMCppBuildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3860: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_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3900:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp198; ^ ./OMCppBuildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3906: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_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:4232:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp218; ^ ./OMCppBuildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:4238: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_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:4278:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp221; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppBuildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedCalcHelperMain.o] Error 1