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/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/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.001303/0.001303, allocations: 109.1 kB / 15.99 MB, free: 6.355 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.001263/0.001263, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.385/1.385, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.6959/0.6959, allocations: 89.46 MB / 380.2 MB, free: 8.793 MB / 302.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002318/0.002318, allocations: 75.88 kB / 458.4 MB, free: 11.62 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1245, allocations: 67.3 MB / 0.5133 GB, free: 8.246 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.37/0.4945, allocations: 187 MB / 0.696 GB, free: 12.97 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00895/0.5035, allocations: 7.294 MB / 0.7031 GB, free: 5.672 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006126/0.5041, allocations: 11.94 kB / 0.7031 GB, free: 5.66 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000923/0.5051, allocations: 314.3 kB / 0.7034 GB, free: 5.352 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003106/0.5082, allocations: 1.134 MB / 0.7045 GB, free: 4.215 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00158/0.5098, allocations: 0.6043 MB / 0.7051 GB, free: 3.609 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003482/0.5133, allocations: 2.282 MB / 0.7073 GB, free: 1.324 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003188/0.5136, allocations: 187.3 kB / 0.7075 GB, free: 1.156 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002639/0.5163, allocations: 1.583 MB / 0.7091 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008153/0.5171, allocations: 0.5722 MB / 0.7096 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.769e-05/0.5172, allocations: 56 kB / 0.7097 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002442/0.5197, allocations: 1.135 MB / 0.7108 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.5199, allocations: 151.4 kB / 0.7109 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003927/0.5203, allocations: 366.1 kB / 0.7113 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001556/0.5218, allocations: 0.9784 MB / 0.7122 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.5218, allocations: 0 / 0.7122 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.095e-06/0.5219, allocations: 0 / 0.7122 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.5219, allocations: 3.938 kB / 0.7122 GB, free: 12.31 MB / 0.5606 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.002816/0.5247, allocations: 1.226 MB / 0.7134 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.5247, allocations: 8.031 kB / 0.7134 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.5258, allocations: 147 kB / 0.7136 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006894/0.5265, allocations: 452.3 kB / 0.714 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.104e-05/0.5265, allocations: 44.94 kB / 0.7141 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.5266, allocations: 48 kB / 0.7141 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.5279, allocations: 0.5896 MB / 0.7147 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.5279, allocations: 3.938 kB / 0.7147 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.81e-05/0.528, allocations: 20 kB / 0.7147 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.528, allocations: 16 kB / 0.7147 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/0.5292, allocations: 464.1 kB / 0.7152 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003904/0.5332, allocations: 2.643 MB / 0.7177 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/0.5343, allocations: 468.7 kB / 0.7182 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005768/0.5349, allocations: 246.4 kB / 0.7184 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003115/0.5352, allocations: 267.3 kB / 0.7187 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008349/0.5361, allocations: 398.4 kB / 0.7191 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=54): time 2.685e-06/0.5361, allocations: 0 / 0.7191 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of matching and sorting (n=54): time 0.002691/0.5388, allocations: 1.015 MB / 0.7201 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.538e-05/0.5389, allocations: 89.11 kB / 0.7201 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005666/0.5394, allocations: 462.1 kB / 0.7206 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.409e-05/0.5395, allocations: 37.7 kB / 0.7206 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/0.5398, allocations: 276.9 kB / 0.7209 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/0.54, allocations: 185.3 kB / 0.7211 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002476/0.5402, allocations: 130.2 kB / 0.7212 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001953/0.5404, allocations: 370.7 kB / 0.7215 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005469/0.541, allocations: 201.6 kB / 0.7217 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005922/0.5416, allocations: 258.6 kB / 0.722 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.5427, allocations: 0.512 MB / 0.7225 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.5428, allocations: 4 kB / 0.7225 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001774/0.5445, allocations: 0.7515 MB / 0.7232 GB, free: 456 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.732e-05/0.5446, allocations: 63.41 kB / 0.7233 GB, free: 380 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-05/0.5446, allocations: 17.17 kB / 0.7233 GB, free: 364 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003641/0.545, allocations: 81.64 kB / 0.7234 GB, free: 276 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005011/0.5455, allocations: 127.8 kB / 0.7235 GB, free: 148 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002664/0.5482, allocations: 3.042 MB / 0.7265 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005474/0.5488, allocations: 75.52 kB / 0.7265 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/0.5489, allocations: 67.98 kB / 0.7266 GB, free: 12.68 MB / 0.5762 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.0002973/0.5492, allocations: 174.3 kB / 0.7268 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.5493, allocations: 63.19 kB / 0.7268 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003059/0.5524, allocations: 1.295 MB / 0.7281 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.5524, allocations: 8 kB / 0.7281 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.5524, allocations: 0 / 0.7281 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.5524, allocations: 15.97 kB / 0.7281 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002877/0.5553, allocations: 1.539 MB / 0.7296 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.689e-05/0.5554, allocations: 11.98 kB / 0.7296 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005015/0.5559, allocations: 115.9 kB / 0.7297 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003093/0.5562, allocations: 89.7 kB / 0.7298 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.069e-05/0.5563, allocations: 41.09 kB / 0.7299 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002619/0.5589, allocations: 3.057 MB / 0.7328 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.5589, allocations: 4.031 kB / 0.7328 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002365/0.5613, allocations: 1.11 MB / 0.7339 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003139/0.5616, allocations: 204.1 kB / 0.7341 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.5618, allocations: 15.94 kB / 0.7341 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005379/0.5623, allocations: 45.08 kB / 0.7342 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001962/0.5625, allocations: 79.91 kB / 0.7343 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/0.5626, allocations: 59.98 kB / 0.7343 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003925/0.563, allocations: 322.9 kB / 0.7346 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.4e-07/0.563, allocations: 0 / 0.7346 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001006/0.564, allocations: 299.6 kB / 0.7349 GB, free: 3.762 MB / 0.5762 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.0009462/0.565, allocations: 424.7 kB / 0.7353 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002034/0.567, allocations: 1.014 MB / 0.7363 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5671, allocations: 0 / 0.7363 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001117/0.5682, allocations: 0.6525 MB / 0.7369 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.5693, allocations: 196.2 kB / 0.7371 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1865/0.7558, allocations: 1.653 MB / 0.7387 GB, free: 184.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.7562, allocations: 0.8855 MB / 0.7396 GB, free: 184 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006814/0.7569, allocations: 164.3 kB / 0.7398 GB, free: 184 MB / 0.5762 GB Notification: Performance of SimCode: time 6.82e-07/0.7569, allocations: 0 / 0.7398 GB, free: 184 MB / 0.5762 GB Notification: Performance of Templates: time 0.02259/0.7795, allocations: 17.03 MB / 0.7564 GB, free: 182.9 MB / 0.5762 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