Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.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/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/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(ThermofluidStream.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|sawTooth.T_start|sawTooth.count|sawTooth1.T_start|sawTooth1.count|transportDelay.inlet.m_flow|transportDelay.x|transportDelay1.inlet.m_flow|transportDelay1.x",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay") translateModel(ThermofluidStream.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|sawTooth.T_start|sawTooth.count|sawTooth1.T_start|sawTooth1.count|transportDelay.inlet.m_flow|transportDelay.x|transportDelay1.inlet.m_flow|transportDelay1.x",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 100.1 kB / 15.88 MB, free: 12 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.001416/0.001416, allocations: 200.3 kB / 16.79 MB, free: 6.828 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.307/1.307, allocations: 222.9 MB / 240.5 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6765/0.6765, allocations: 89.53 MB / 380.1 MB, free: 11.25 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 78.95 kB / 458.2 MB, free: 23.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1249, allocations: 67.31 MB / 0.5132 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.3806/0.5056, allocations: 187.1 MB / 0.6959 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007605/0.5132, allocations: 7.371 MB / 0.7031 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004796/0.5137, allocations: 9.625 kB / 0.7031 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008385/0.5146, allocations: 325.8 kB / 0.7034 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002619/0.5173, allocations: 1.077 MB / 0.7045 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001428/0.5187, allocations: 0.588 MB / 0.705 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003316/0.522, allocations: 2.502 MB / 0.7075 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002657/0.5223, allocations: 164.1 kB / 0.7076 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002537/0.5249, allocations: 1.52 MB / 0.7091 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006517/0.5255, allocations: 0.5488 MB / 0.7097 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.719e-05/0.5256, allocations: 36 kB / 0.7097 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00204/0.5276, allocations: 1.045 MB / 0.7107 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.5278, allocations: 127.4 kB / 0.7108 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003072/0.5281, allocations: 354 kB / 0.7112 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001107/0.5292, allocations: 0.9668 MB / 0.7121 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.5292, allocations: 0 / 0.7121 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.133e-06/0.5292, allocations: 0 / 0.7121 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.5292, allocations: 0 / 0.7121 GB, free: 7.66 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.002476/0.5317, allocations: 1.23 MB / 0.7133 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.5318, allocations: 8.031 kB / 0.7133 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000976/0.5327, allocations: 147 kB / 0.7135 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005624/0.5333, allocations: 464.2 kB / 0.7139 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.095e-05/0.5334, allocations: 37 kB / 0.7139 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.805e-05/0.5335, allocations: 48 kB / 0.714 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.5346, allocations: 0.5858 MB / 0.7146 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.5346, allocations: 7.938 kB / 0.7146 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.309e-05/0.5347, allocations: 20 kB / 0.7146 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.5347, allocations: 12 kB / 0.7146 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.5359, allocations: 464.1 kB / 0.715 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00344/0.5393, allocations: 2.649 MB / 0.7176 GB, free: 1.641 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.5404, allocations: 458.4 kB / 0.7181 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005585/0.541, allocations: 246.5 kB / 0.7183 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002764/0.5413, allocations: 271.2 kB / 0.7186 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007652/0.542, allocations: 391.5 kB / 0.7189 GB, free: 212 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=54): time 1.954e-06/0.542, allocations: 4 kB / 0.7189 GB, free: 208 kB / 0.5137 GB Notification: Performance of matching and sorting (n=54): time 0.00259/0.5446, allocations: 1.019 MB / 0.7199 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.462e-05/0.5447, allocations: 85.11 kB / 0.72 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005042/0.5452, allocations: 470 kB / 0.7205 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.707e-05/0.5453, allocations: 37.7 kB / 0.7205 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.5455, allocations: 273 kB / 0.7208 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/0.5457, allocations: 193.3 kB / 0.7209 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002176/0.5459, allocations: 126.2 kB / 0.7211 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.546, allocations: 374.7 kB / 0.7214 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005367/0.5466, allocations: 197 kB / 0.7216 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005654/0.5471, allocations: 258.6 kB / 0.7219 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.5482, allocations: 0.512 MB / 0.7224 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.5483, allocations: 0 / 0.7224 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001673/0.5499, allocations: 0.7514 MB / 0.7231 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.646e-05/0.55, allocations: 67.39 kB / 0.7232 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.802e-05/0.55, allocations: 12.11 kB / 0.7232 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003396/0.5504, allocations: 89.59 kB / 0.7233 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005006/0.5509, allocations: 120.7 kB / 0.7234 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002188/0.5531, allocations: 2.836 MB / 0.7261 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005153/0.5536, allocations: 63.53 kB / 0.7262 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.5537, allocations: 68.86 kB / 0.7263 GB, free: 8.238 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 10 (sawTooth.count,$PRE.sawTooth.count,sawTooth.T_start,$PRE.sawTooth.T_start,$whenCondition2,sawTooth1.count,$PRE.sawTooth1.count,sawTooth1.T_start,$PRE.sawTooth1.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002675/0.554, allocations: 181.8 kB / 0.7264 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.5541, allocations: 59.28 kB / 0.7265 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002934/0.5571, allocations: 1.299 MB / 0.7278 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.5571, allocations: 8 kB / 0.7278 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.5571, allocations: 0 / 0.7278 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.5571, allocations: 3.984 kB / 0.7278 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002648/0.5598, allocations: 1.543 MB / 0.7293 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-05/0.5598, allocations: 17.92 kB / 0.7293 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004971/0.5603, allocations: 115.9 kB / 0.7294 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002838/0.5606, allocations: 89.61 kB / 0.7295 GB, free: 4.836 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.85e-05/0.5607, allocations: 39.92 kB / 0.7295 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002114/0.5628, allocations: 2.842 MB / 0.7323 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.5628, allocations: 4.031 kB / 0.7323 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00223/0.5651, allocations: 1.117 MB / 0.7334 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002495/0.5653, allocations: 204.3 kB / 0.7336 GB, free: 324 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.5654, allocations: 15.94 kB / 0.7336 GB, free: 308 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000514/0.566, allocations: 39.88 kB / 0.7337 GB, free: 268 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001768/0.5662, allocations: 83.89 kB / 0.7337 GB, free: 184 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.896e-05/0.5663, allocations: 55.98 kB / 0.7338 GB, free: 128 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003603/0.5666, allocations: 323 kB / 0.7341 GB, free: 15.81 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5666, allocations: 4 kB / 0.7341 GB, free: 15.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008855/0.5675, allocations: 299.6 kB / 0.7344 GB, free: 15.51 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (transportDelay1.x,flowResistance1.inlet.m_flow,transportDelay.x,flowResistance.inlet.m_flow) * Number of discrete variables: 6 ($whenCondition1,sawTooth1.T_start,sawTooth1.count,$whenCondition2,sawTooth.T_start,sawTooth.count) * Number of discrete states: 2 (sawTooth.count,sawTooth1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008482/0.5684, allocations: 423.7 kB / 0.7348 GB, free: 15.11 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001753/0.5701, allocations: 0.9718 MB / 0.7357 GB, free: 14.06 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.5702, allocations: 0 / 0.7357 GB, free: 14.06 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.5712, allocations: 0.6485 MB / 0.7364 GB, free: 13.36 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.5723, allocations: 185.6 kB / 0.7365 GB, free: 13.18 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002812/0.5751, allocations: 1.665 MB / 0.7382 GB, free: 11.47 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004299/0.5755, allocations: 0.8875 MB / 0.739 GB, free: 10.56 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006239/0.5762, allocations: 159.3 kB / 0.7392 GB, free: 10.4 MB / 0.545 GB Notification: Performance of SimCode: time 4.41e-07/0.5762, allocations: 0 / 0.7392 GB, free: 10.4 MB / 0.545 GB Notification: Performance of Templates: time 0.02095/0.5971, allocations: 17.03 MB / 0.7558 GB, free: 9.398 MB / 0.5606 GB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.makefile make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.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 OMCppThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelayCalcHelperMain.o OMCppThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelayCalcHelperMain.cpp In file included from OMCppThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelayCalcHelperMain.cpp:29: ./OMCppThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelayInitialize.cpp:308:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp12; ^ ./OMCppThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelayInitialize.cpp:315:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(3, _transportDelay1_P_v_in_, division(1.0,max(_transportDelay1_P_rho_min_,division(_sink1_P_inlet_P_state_P_p_,(287.0512249529787 * tmp9),!_initial,"287.0512249529787 * ThermofluidStream.Processes.Tests.TransportDelay.transportDelay1.Medium.T_h(293586.6852371418)")),!_initial,"max(transportDelay1.rho_min, sink1.inlet.state.p / (287.0512249529787 * ThermofluidStream.Processes.Tests.TransportDelay.transportDelay1.Medium.T_h(293586.6852371418)))"), __z[3], true, tmp10, tmp11, tmp12); ~~~~~~~~~~ ^ ./OMCppThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelayInitialize.cpp:332:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp23; ^ ./OMCppThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelayInitialize.cpp:359:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(2, _transportDelay1_P_u_in_, (tmp19 - (287.0512249529787 * tmp20)), __z[3], true, tmp21, tmp22, tmp23); ~~~~~~~~~~ ^ ./OMCppThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelayInitialize.cpp:774:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp41; ^ ./OMCppThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelayInitialize.cpp:781:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(1, _transportDelay_P_v_in_, division(1.0,max(_transportDelay_P_rho_min_,division(_sink_P_inlet_P_state_P_p_,(287.0512249529787 * tmp38),!_initial,"287.0512249529787 * ThermofluidStream.Processes.Tests.TransportDelay.transportDelay.Medium.T_h(293586.6852371418)")),!_initial,"max(transportDelay.rho_min, sink.inlet.state.p / (287.0512249529787 * ThermofluidStream.Processes.Tests.TransportDelay.transportDelay.Medium.T_h(293586.6852371418)))"), __z[2], true, tmp39, tmp40, tmp41); ~~~~~~~~~~ ^ ./OMCppThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelayInitialize.cpp:798:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp52; ^ ./OMCppThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelayInitialize.cpp:825:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(0, _transportDelay_P_u_in_, (tmp48 - (287.0512249529787 * tmp49)), __z[2], true, tmp50, tmp51, tmp52); ~~~~~~~~~~ ^ In file included from OMCppThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelayCalcHelperMain.cpp:33: ./OMCppThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.cpp:169:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp168; ^ ./OMCppThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.cpp:196:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(0, _transportDelay_P_u_in_, (tmp164 - (287.0512249529787 * tmp165)), __z[2], true, tmp166, tmp167, tmp168); ~~~~~~~~~~ ^ ./OMCppThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.cpp:210:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp172; ^ ./OMCppThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.cpp:217:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(1, _transportDelay_P_v_in_, division(1.0,max(_transportDelay_P_rho_min_,division(_sink_P_inlet_P_state_P_p_,(287.0512249529787 * tmp169),!_initial,"287.0512249529787 * ThermofluidStream.Processes.Tests.TransportDelay.transportDelay.Medium.T_h(293586.6852371418)")),!_initial,"max(transportDelay.rho_min, sink.inlet.state.p / (287.0512249529787 * ThermofluidStream.Processes.Tests.TransportDelay.transportDelay.Medium.T_h(293586.6852371418)))"), __z[2], true, tmp170, tmp171, tmp172); ~~~~~~~~~~ ^ ./OMCppThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.cpp:613:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp197; ^ ./OMCppThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.cpp:640:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(2, _transportDelay1_P_u_in_, (tmp193 - (287.0512249529787 * tmp194)), __z[3], true, tmp195, tmp196, tmp197); ~~~~~~~~~~ ^ ./OMCppThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.cpp:654:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp201; ^ ./OMCppThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.cpp:661:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(3, _transportDelay1_P_v_in_, division(1.0,max(_transportDelay1_P_rho_min_,division(_sink1_P_inlet_P_state_P_p_,(287.0512249529787 * tmp198),!_initial,"287.0512249529787 * ThermofluidStream.Processes.Tests.TransportDelay.transportDelay1.Medium.T_h(293586.6852371418)")),!_initial,"max(transportDelay1.rho_min, sink1.inlet.state.p / (287.0512249529787 * ThermofluidStream.Processes.Tests.TransportDelay.transportDelay1.Medium.T_h(293586.6852371418)))"), __z[3], true, tmp199, tmp200, tmp201); ~~~~~~~~~~ ^ 16 errors generated. make: *** [: OMCppThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelayCalcHelperMain.o] Error 1