Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.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.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemIn.T|senTemInNoMix.T|senTemOutNoMix.T|senTemOut.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemIn.T|senTemInNoMix.T|senTemOutNoMix.T|senTemOut.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 103.3 kB / 16.27 MB, free: 6.414 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.001622/0.001622, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.43/1.43, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.634/2.634, allocations: 469.4 MB / 0.7427 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 58.59 kB / 0.9088 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3636, allocations: 159.1 MB / 1.064 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.7682/1.132, allocations: 115.2 MB / 1.177 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.04155/1.173, allocations: 26.57 MB / 1.203 GB, free: 5.223 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007266/1.181, allocations: 114.9 kB / 1.203 GB, free: 5.184 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004381/1.185, allocations: 1.147 MB / 1.204 GB, free: 4.184 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01238/1.198, allocations: 3.422 MB / 1.207 GB, free: 1.434 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.008372/1.206, allocations: 2.333 MB / 1.209 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01469/1.221, allocations: 6.172 MB / 1.216 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005003/1.226, allocations: 1.922 MB / 1.217 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00831/1.234, allocations: 2.652 MB / 1.22 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004086/1.238, allocations: 1.769 MB / 1.222 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000587/1.239, allocations: 220.6 kB / 1.222 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0063/1.245, allocations: 2.343 MB / 1.224 GB, free: 5.684 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0006545/1.246, allocations: 0.5332 MB / 1.225 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.00236/1.248, allocations: 1.287 MB / 1.226 GB, free: 3.855 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00845/1.257, allocations: 4.059 MB / 1.23 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/1.257, allocations: 4 kB / 1.23 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.344e-06/1.257, allocations: 0 / 1.23 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.348e-05/1.257, allocations: 0 / 1.23 GB, free: 15.78 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.005555/1.262, allocations: 2.834 MB / 1.233 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/1.262, allocations: 8.031 kB / 1.233 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007195/1.263, allocations: 261 kB / 1.233 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00389/1.267, allocations: 2.064 MB / 1.235 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.131e-05/1.267, allocations: 102.7 kB / 1.235 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001946/1.267, allocations: 140 kB / 1.235 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002315/1.27, allocations: 1.446 MB / 1.237 GB, free: 8.742 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.937e-05/1.27, allocations: 19.86 kB / 1.237 GB, free: 8.723 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/1.27, allocations: 52 kB / 1.237 GB, free: 8.672 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.371e-05/1.27, allocations: 36 kB / 1.237 GB, free: 8.637 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001839/1.272, allocations: 1.029 MB / 1.238 GB, free: 7.602 MB / 0.9512 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.009423/1.281, allocations: 8.187 MB / 1.246 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/1.283, allocations: 0.8388 MB / 1.247 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006117/1.283, allocations: 375.8 kB / 1.247 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002325/1.286, allocations: 2.803 MB / 1.25 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.684e-05/1.286, allocations: 43.22 kB / 1.25 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=85): time 3.426e-06/1.286, allocations: 7.938 kB / 1.25 GB, free: 10 MB / 0.9669 GB Notification: Performance of matching and sorting (n=85): time 0.002767/1.289, allocations: 1.125 MB / 1.251 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/1.289, allocations: 60.06 kB / 1.251 GB, free: 8.805 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002767/1.291, allocations: 1.617 MB / 1.252 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 9.963e-05/1.291, allocations: 45.7 kB / 1.252 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007253/1.292, allocations: 0.9315 MB / 1.253 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003189/1.293, allocations: 307.6 kB / 1.254 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003507/1.293, allocations: 234.6 kB / 1.254 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001339/1.293, allocations: 345.9 kB / 1.254 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006241/1.294, allocations: 329.9 kB / 1.255 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009234/1.295, allocations: 0.7071 MB / 1.255 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001626/1.296, allocations: 1.089 MB / 1.256 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/1.296, allocations: 0 / 1.256 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002625/1.299, allocations: 1.245 MB / 1.258 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.025e-05/1.299, allocations: 9.562 kB / 1.258 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.005e-05/1.299, allocations: 16 kB / 1.258 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.745e-05/1.299, allocations: 20 kB / 1.258 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008584/1.3, allocations: 268.2 kB / 1.258 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.533e-05/1.3, allocations: 27.86 kB / 1.258 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/1.301, allocations: 130.6 kB / 1.258 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000145/1.301, allocations: 67.97 kB / 1.258 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001207/1.303, allocations: 0.6197 MB / 1.259 GB, free: 416 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009014/1.304, allocations: 0.7071 MB / 1.259 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001563/1.305, allocations: 1.077 MB / 1.26 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.197e-06/1.305, allocations: 4 kB / 1.26 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002562/1.308, allocations: 1.245 MB / 1.262 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/1.308, allocations: 12.91 kB / 1.262 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-05/1.308, allocations: 12 kB / 1.262 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/1.308, allocations: 31.92 kB / 1.262 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008327/1.309, allocations: 259.5 kB / 1.262 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.53e-05/1.309, allocations: 19.94 kB / 1.262 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/1.31, allocations: 99.2 kB / 1.262 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/1.31, allocations: 67.91 kB / 1.262 GB, free: 12.54 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (140): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0003362/1.31, allocations: 263.8 kB / 1.262 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005816/1.311, allocations: 189.7 kB / 1.263 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003516/1.314, allocations: 1.747 MB / 1.264 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-05/1.315, allocations: 23.98 kB / 1.264 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/1.315, allocations: 3.938 kB / 1.264 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001765/1.316, allocations: 1.142 MB / 1.265 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006411/1.323, allocations: 3.487 MB / 1.269 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.222e-05/1.323, allocations: 11.98 kB / 1.269 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007367/1.324, allocations: 199.7 kB / 1.269 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-05/1.324, allocations: 12 kB / 1.269 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.195e-05/1.324, allocations: 43.97 kB / 1.269 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.337e-05/1.324, allocations: 11.94 kB / 1.269 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/1.324, allocations: 8 kB / 1.269 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003689/1.327, allocations: 2.234 MB / 1.271 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009529/1.328, allocations: 438.1 kB / 1.272 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004741/1.329, allocations: 31.98 kB / 1.272 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/1.33, allocations: 48.25 kB / 1.272 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002044/1.33, allocations: 112.7 kB / 1.272 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001308/1.33, allocations: 63.91 kB / 1.272 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002001/1.332, allocations: 1.087 MB / 1.273 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.51e-07/1.332, allocations: 0 / 1.273 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003491/1.336, allocations: 1.127 MB / 1.274 GB, free: 15.92 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 6 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,pipNoMix.del.x,pipNoMix.timDel.x) * 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 (129): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 27 * 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.001982/1.338, allocations: 0.7986 MB / 1.275 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004191/1.342, allocations: 1.898 MB / 1.277 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/1.342, allocations: 4.875 kB / 1.277 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001177/1.343, allocations: 0.7386 MB / 1.277 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005242/1.349, allocations: 0.9696 MB / 1.278 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00661/1.355, allocations: 3.668 MB / 1.282 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001601/1.357, allocations: 1.428 MB / 1.283 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006233/1.357, allocations: 191.4 kB / 1.284 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of SimCode: time 9.12e-07/1.357, allocations: 0 / 1.284 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of Templates: time 0.05834/1.416, allocations: 36.51 MB / 1.319 GB, free: 1.789 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.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_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeCalcHelperMain.cpp In file included from OMCppBuildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeCalcHelperMain.cpp:29: ./OMCppBuildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeInitialize.cpp:730:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp36; ^ ./OMCppBuildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeInitialize.cpp:736:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(3, _simTime, _simTime, __z[5], (_pipNoMix_P_timDel_P_u_ >= 0.0), tmp34, tmp35, tmp36); ~~~~~~~~~~ ^ ./OMCppBuildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeInitialize.cpp:776:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp39; ^ ./OMCppBuildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeInitialize.cpp:782:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(2, _souNoMix_P_ports1_P_h_outflow_, _sin_P_ports2_P_h_outflow_, division(__z[4],_pipNoMix_P_del_P_length_,!_initial,"pipNoMix.del.length"), (_pipNoMix_P_v_ >= 0.0), tmp37, tmp38, tmp39); ~~~~~~~~~~ ^ ./OMCppBuildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeInitialize.cpp:1150:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp71; ^ ./OMCppBuildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeInitialize.cpp:1156:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(1, _simTime, _simTime, __z[1], (_pip_P_timDel_P_u_ >= 0.0), tmp69, tmp70, tmp71); ~~~~~~~~~~ ^ ./OMCppBuildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeInitialize.cpp:1196:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp74; ^ ./OMCppBuildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeInitialize.cpp:1202:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(0, _senTemIn_P_port_a_P_h_outflow_, _senTemOut_P_port_b_P_h_outflow_, division(__z[0],_pip_P_del_P_length_,!_initial,"pip.del.length"), (_pip_P_v_ >= 0.0), tmp72, tmp73, tmp74); ~~~~~~~~~~ ^ In file included from OMCppBuildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeCalcHelperMain.cpp:33: ./OMCppBuildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.cpp:551:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp425; ^ ./OMCppBuildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.cpp:557:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(0, _senTemIn_P_port_a_P_h_outflow_, _senTemOut_P_port_b_P_h_outflow_, division(__z[0],_pip_P_del_P_length_,!_initial,"pip.del.length"), getCondition(1), tmp423, tmp424, tmp425); ~~~~~~~~~~ ^ ./OMCppBuildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.cpp:639:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp436; ^ ./OMCppBuildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.cpp:645:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(1, _simTime, _simTime, __z[1], (_pip_P_timDel_P_u_ >= 0.0), tmp434, tmp435, tmp436); ~~~~~~~~~~ ^ ./OMCppBuildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.cpp:1111:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp469; ^ ./OMCppBuildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.cpp:1117:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(2, _souNoMix_P_ports1_P_h_outflow_, _sin_P_ports2_P_h_outflow_, division(__z[4],_pipNoMix_P_del_P_length_,!_initial,"pipNoMix.del.length"), getCondition(0), tmp467, tmp468, tmp469); ~~~~~~~~~~ ^ ./OMCppBuildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.cpp:1199:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp480; ^ ./OMCppBuildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.cpp:1205:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(3, _simTime, _simTime, __z[5], (_pipNoMix_P_timDel_P_u_ >= 0.0), tmp478, tmp479, tmp480); ~~~~~~~~~~ ^ 16 errors generated. make: *** [: OMCppBuildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeCalcHelperMain.o] Error 1