Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.PlugFlowPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemIn.T|senTemInNoMix.T|senTemOutNoMix.T|senTemOut.T",fileNamePrefix="Buildings_9_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_9_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.001008/0.001008, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 186.3 kB / 16.92 MB, free: 6.758 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.486/1.486, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.391/2.391, allocations: 390.9 MB / 0.667 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003914/0.0003917, allocations: 8 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7051/0.7055, allocations: 142.4 MB / 0.9557 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.1121/0.8176, allocations: 112.6 MB / 1.066 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.03986/0.8576, allocations: 26.38 MB / 1.091 GB, free: 4.012 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005848/0.8635, allocations: 99.38 kB / 1.092 GB, free: 3.914 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003806/0.8673, allocations: 0.9245 MB / 1.092 GB, free: 2.984 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0113/0.8787, allocations: 3.152 MB / 1.096 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.007408/0.8861, allocations: 2.094 MB / 1.098 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01184/0.898, allocations: 8.151 MB / 1.106 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0042/0.9022, allocations: 1.553 MB / 1.107 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006692/0.9089, allocations: 2.255 MB / 1.109 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003468/0.9125, allocations: 1.715 MB / 1.111 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0008442/0.9133, allocations: 96 kB / 1.111 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00627/0.9196, allocations: 2.124 MB / 1.113 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001027/0.9207, allocations: 409.9 kB / 1.113 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.002964/0.9237, allocations: 1.164 MB / 1.115 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.005782/0.9295, allocations: 3.016 MB / 1.118 GB, free: 9.16 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.9295, allocations: 0 / 1.118 GB, free: 9.16 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.635e-06/0.9295, allocations: 3.938 kB / 1.118 GB, free: 9.156 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001255/0.9297, allocations: 0 / 1.118 GB, free: 9.156 MB / 0.8731 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.006861/0.9365, allocations: 2.421 MB / 1.12 GB, free: 6.676 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.9366, allocations: 8.031 kB / 1.12 GB, free: 6.668 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.9376, allocations: 261 kB / 1.12 GB, free: 6.41 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005691/0.9433, allocations: 2.103 MB / 1.122 GB, free: 4.254 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.9435, allocations: 102.7 kB / 1.122 GB, free: 4.152 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003727/0.9438, allocations: 140 kB / 1.122 GB, free: 4.016 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00328/0.9471, allocations: 1.454 MB / 1.124 GB, free: 2.484 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.553e-05/0.9472, allocations: 11.84 kB / 1.124 GB, free: 2.473 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001645/0.9474, allocations: 56 kB / 1.124 GB, free: 2.418 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.427e-05/0.9475, allocations: 36 kB / 1.124 GB, free: 2.383 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002328/0.9498, allocations: 1.04 MB / 1.125 GB, free: 1.336 MB / 0.8731 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.0114/0.9612, allocations: 8.14 MB / 1.133 GB, free: 8.496 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/0.9628, allocations: 0.8407 MB / 1.134 GB, free: 7.633 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000635/0.9635, allocations: 385.4 kB / 1.134 GB, free: 7.258 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002273/0.9658, allocations: 2.807 MB / 1.137 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/0.9659, allocations: 39.22 kB / 1.137 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=85): time 5.771e-06/0.9659, allocations: 0 / 1.137 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of matching and sorting (n=85): time 0.002724/0.9686, allocations: 1.148 MB / 1.138 GB, free: 2.617 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/0.9687, allocations: 64 kB / 1.138 GB, free: 2.543 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002972/0.9716, allocations: 1.602 MB / 1.14 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001248/0.9718, allocations: 41.7 kB / 1.14 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008106/0.9726, allocations: 0.9317 MB / 1.141 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003765/0.973, allocations: 307.5 kB / 1.141 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001455/0.9732, allocations: 97.66 kB / 1.141 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.9733, allocations: 349.9 kB / 1.141 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006417/0.9739, allocations: 322.4 kB / 1.142 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009048/0.9749, allocations: 0.715 MB / 1.142 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001625/0.9765, allocations: 1.097 MB / 1.143 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/0.9765, allocations: 4 kB / 1.143 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00257/0.9791, allocations: 1.257 MB / 1.145 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003373/0.9795, allocations: 444.8 kB / 1.145 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-05/0.9795, allocations: 19.98 kB / 1.145 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.625e-05/0.9796, allocations: 16 kB / 1.145 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008643/0.9804, allocations: 259.6 kB / 1.145 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.173e-05/0.9805, allocations: 27.92 kB / 1.145 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001645/0.9821, allocations: 186.5 kB / 1.146 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001457/0.9823, allocations: 67.97 kB / 1.146 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.348e-06/0.9823, allocations: 4 kB / 1.146 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001956/0.9843, allocations: 1.058 MB / 1.147 GB, free: 9.199 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.971e-05/0.9843, allocations: 16 kB / 1.147 GB, free: 9.184 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.9844, allocations: 20 kB / 1.147 GB, free: 9.164 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008111/0.9852, allocations: 268.2 kB / 1.147 GB, free: 8.902 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.961e-05/0.9852, allocations: 27.92 kB / 1.147 GB, free: 8.875 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001548/0.9868, allocations: 162.9 kB / 1.147 GB, free: 8.715 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/0.9869, allocations: 59.98 kB / 1.147 GB, free: 8.656 MB / 0.9044 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.0009673/0.9879, allocations: 480.6 kB / 1.148 GB, free: 8.176 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005658/0.9884, allocations: 193.6 kB / 1.148 GB, free: 7.984 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003425/0.9919, allocations: 1.748 MB / 1.15 GB, free: 6.227 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.805e-05/0.9919, allocations: 23.97 kB / 1.15 GB, free: 6.203 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.992, allocations: 0 / 1.15 GB, free: 6.203 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00175/0.9937, allocations: 1.154 MB / 1.151 GB, free: 5.016 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006924/1.001, allocations: 3.494 MB / 1.154 GB, free: 1.355 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.468e-05/1.001, allocations: 8 kB / 1.154 GB, free: 1.348 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007869/1.002, allocations: 208.1 kB / 1.154 GB, free: 1.145 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.115e-05/1.002, allocations: 12 kB / 1.154 GB, free: 1.133 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.674e-05/1.002, allocations: 43.98 kB / 1.154 GB, free: 1.09 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.651e-05/1.002, allocations: 15.98 kB / 1.154 GB, free: 1.074 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.735e-06/1.002, allocations: 7.938 kB / 1.154 GB, free: 1.066 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003675/1.005, allocations: 2.246 MB / 1.157 GB, free: 14.72 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0013/1.007, allocations: 477.9 kB / 1.157 GB, free: 14.23 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005838/1.007, allocations: 32 kB / 1.157 GB, free: 14.2 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00155/1.009, allocations: 95.83 kB / 1.157 GB, free: 14.11 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002281/1.009, allocations: 104.7 kB / 1.157 GB, free: 14 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001433/1.009, allocations: 59.97 kB / 1.157 GB, free: 13.95 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002196/1.012, allocations: 1.079 MB / 1.158 GB, free: 12.84 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.21e-07/1.012, allocations: 0 / 1.158 GB, free: 12.84 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.004314/1.016, allocations: 1.131 MB / 1.159 GB, free: 11.71 MB / 0.92 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.002123/1.018, allocations: 0.7961 MB / 1.16 GB, free: 10.92 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003338/1.021, allocations: 1.812 MB / 1.162 GB, free: 9.062 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.124e-05/1.021, allocations: 4 kB / 1.162 GB, free: 9.059 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001191/1.023, allocations: 0.7527 MB / 1.163 GB, free: 8.289 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007489/1.03, allocations: 0.9215 MB / 1.164 GB, free: 7.375 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008208/1.038, allocations: 4.502 MB / 1.168 GB, free: 2.746 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001521/1.04, allocations: 1.436 MB / 1.169 GB, free: 1.277 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000768/1.041, allocations: 191.4 kB / 1.17 GB, free: 1.09 MB / 0.92 GB Notification: Performance of SimCode: time 1.583e-06/1.041, allocations: 0 / 1.17 GB, free: 1.09 MB / 0.92 GB Notification: Performance of Templates: time 0.06071/1.101, allocations: 35.99 MB / 1.205 GB, free: 13.36 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.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_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeCalcHelperMain.cpp In file included from OMCppBuildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeCalcHelperMain.cpp:29: ./OMCppBuildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeInitialize.cpp:730:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp36; ^ ./OMCppBuildings_9_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_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeInitialize.cpp:776:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp39; ^ ./OMCppBuildings_9_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_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeInitialize.cpp:1150:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp71; ^ ./OMCppBuildings_9_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_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeInitialize.cpp:1196:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp74; ^ ./OMCppBuildings_9_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_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeCalcHelperMain.cpp:33: ./OMCppBuildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.cpp:552:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp421; ^ ./OMCppBuildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.cpp:558: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), tmp419, tmp420, tmp421); ~~~~~~~~~~ ^ ./OMCppBuildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.cpp:640:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp432; ^ ./OMCppBuildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.cpp:646:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(1, _simTime, _simTime, __z[1], (_pip_P_timDel_P_u_ >= 0.0), tmp430, tmp431, tmp432); ~~~~~~~~~~ ^ ./OMCppBuildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.cpp:1112:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp465; ^ ./OMCppBuildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.cpp:1118: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), tmp463, tmp464, tmp465); ~~~~~~~~~~ ^ ./OMCppBuildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.cpp:1200:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp476; ^ ./OMCppBuildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.cpp:1206:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(3, _simTime, _simTime, __z[5], (_pipNoMix_P_timDel_P_u_ >= 0.0), tmp474, tmp475, tmp476); ~~~~~~~~~~ ^ 16 errors generated. make: *** [: OMCppBuildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeCalcHelperMain.o] Error 1