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: 113.9 kB / 16.41 MB, free: 6.484 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.001327/0.001328, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7752/0.7752, allocations: 91.18 MB / 382.4 MB, free: 7.516 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 83.89 kB / 0.5175 GB, free: 4.098 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4104, allocations: 67.68 MB / 0.5836 GB, free: 13.98 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.6377/1.048, allocations: 189.2 MB / 0.7684 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007225/1.055, allocations: 7.323 MB / 0.7755 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/1.056, allocations: 30 kB / 0.7755 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001126/1.058, allocations: 378.7 kB / 0.7759 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003633/1.061, allocations: 1.279 MB / 0.7771 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001733/1.063, allocations: 0.6657 MB / 0.7778 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003566/1.067, allocations: 2.365 MB / 0.7801 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003441/1.067, allocations: 207.7 kB / 0.7803 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002638/1.07, allocations: 1.627 MB / 0.7819 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009521/1.071, allocations: 0.5804 MB / 0.7825 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.00022/1.071, allocations: 57.31 kB / 0.7825 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002782/1.074, allocations: 1.146 MB / 0.7836 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002511/1.074, allocations: 157.1 kB / 0.7838 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006044/1.075, allocations: 398.7 kB / 0.7842 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003069/1.078, allocations: 1.474 MB / 0.7856 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/1.078, allocations: 0 / 0.7856 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.844e-06/1.078, allocations: 3.688 kB / 0.7856 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.095e-05/1.078, allocations: 0 / 0.7856 GB, free: 0.8594 MB / 0.5762 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.003137/1.081, allocations: 1.357 MB / 0.7869 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/1.081, allocations: 7.969 kB / 0.7869 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/1.082, allocations: 157.3 kB / 0.7871 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/1.083, allocations: 0.6467 MB / 0.7877 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.374e-05/1.083, allocations: 41.03 kB / 0.7878 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/1.083, allocations: 50.53 kB / 0.7878 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/1.084, allocations: 0.5854 MB / 0.7884 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/1.084, allocations: 7.031 kB / 0.7884 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.151e-05/1.084, allocations: 21.56 kB / 0.7884 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/1.084, allocations: 12 kB / 0.7884 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009869/1.085, allocations: 466.7 kB / 0.7889 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003251/1.089, allocations: 2.674 MB / 0.7915 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009745/1.09, allocations: 457.5 kB / 0.7919 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004801/1.09, allocations: 241.7 kB / 0.7921 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002665/1.09, allocations: 269.9 kB / 0.7924 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007229/1.091, allocations: 393 kB / 0.7928 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=54): time 3.256e-06/1.091, allocations: 0.8125 kB / 0.7928 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54): time 0.002666/1.094, allocations: 1.033 MB / 0.7938 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.333e-05/1.094, allocations: 91.77 kB / 0.7939 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008541/1.095, allocations: 0.5744 MB / 0.7944 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.027e-05/1.095, allocations: 42.16 kB / 0.7945 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003697/1.095, allocations: 338.3 kB / 0.7948 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002171/1.095, allocations: 177.1 kB / 0.795 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000299/1.096, allocations: 139.1 kB / 0.7951 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002177/1.096, allocations: 380.3 kB / 0.7955 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005266/1.096, allocations: 201.2 kB / 0.7957 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005905/1.097, allocations: 264.6 kB / 0.7959 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/1.098, allocations: 0.5138 MB / 0.7964 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.72e-06/1.098, allocations: 0 / 0.7964 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001631/1.1, allocations: 0.7593 MB / 0.7971 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.04e-05/1.1, allocations: 71.97 kB / 0.7972 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.31e-05/1.1, allocations: 13.25 kB / 0.7972 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003433/1.1, allocations: 86.08 kB / 0.7973 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000446/1.101, allocations: 128.8 kB / 0.7974 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002243/1.103, allocations: 3.048 MB / 0.8004 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005568/1.104, allocations: 64.88 kB / 0.8005 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/1.104, allocations: 63.44 kB / 0.8005 GB, free: 9.383 MB / 0.5919 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.0003487/1.104, allocations: 189.9 kB / 0.8007 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/1.104, allocations: 77.69 kB / 0.8008 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002992/1.107, allocations: 1.315 MB / 0.8021 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.778e-05/1.107, allocations: 9.281 kB / 0.8021 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.375e-05/1.107, allocations: 2.812 kB / 0.8021 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.562e-05/1.107, allocations: 5.812 kB / 0.8021 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003451/1.111, allocations: 1.576 MB / 0.8036 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.95e-05/1.111, allocations: 16.16 kB / 0.8036 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004429/1.111, allocations: 119.3 kB / 0.8038 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003014/1.112, allocations: 88.38 kB / 0.8038 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-05/1.112, allocations: 38.59 kB / 0.8039 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002228/1.114, allocations: 3.057 MB / 0.8069 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.114, allocations: 0 / 0.8069 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002333/1.116, allocations: 1.128 MB / 0.808 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003347/1.117, allocations: 218.2 kB / 0.8082 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/1.117, allocations: 14.52 kB / 0.8082 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005159/1.117, allocations: 32.47 kB / 0.8082 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/1.117, allocations: 73.08 kB / 0.8083 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.87e-05/1.118, allocations: 67.42 kB / 0.8084 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004945/1.118, allocations: 406.9 kB / 0.8087 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2e-07/1.118, allocations: 2.812 kB / 0.8087 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001107/1.119, allocations: 299.3 kB / 0.809 GB, free: 5.301 MB / 0.5919 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.001021/1.12, allocations: 437.8 kB / 0.8094 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00186/1.122, allocations: 0.9776 MB / 0.8104 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.122, allocations: 0 / 0.8104 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/1.123, allocations: 0.6541 MB / 0.811 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/1.124, allocations: 226.1 kB / 0.8113 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003186/1.128, allocations: 1.557 MB / 0.8128 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005806/1.128, allocations: 0.9278 MB / 0.8137 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005768/1.129, allocations: 172.2 kB / 0.8138 GB, free: 2.746 MB / 0.5919 GB Notification: Performance of SimCode: time 5.71e-07/1.129, allocations: 0 / 0.8138 GB, free: 2.746 MB / 0.5919 GB Notification: Performance of Templates: time 0.02695/1.156, allocations: 19.24 MB / 0.8326 GB, free: 2.23 MB / 0.6075 GB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.makefile make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.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 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.68523714185)")),!_initial,"max(transportDelay1.rho_min, sink1.inlet.state.p / (287.0512249529787 * ThermofluidStream.Processes.Tests.TransportDelay.transportDelay1.Medium.T_h(293586.68523714185)))"), __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.68523714185)")),!_initial,"max(transportDelay.rho_min, sink.inlet.state.p / (287.0512249529787 * ThermofluidStream.Processes.Tests.TransportDelay.transportDelay.Medium.T_h(293586.68523714185)))"), __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:168:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp166; ^ ./OMCppThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.cpp:195:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(0, _transportDelay_P_u_in_, (tmp162 - (287.0512249529787 * tmp163)), __z[2], true, tmp164, tmp165, tmp166); ~~~~~~~~~~ ^ ./OMCppThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.cpp:209:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp170; ^ ./OMCppThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.cpp:216: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 * tmp167),!_initial,"287.0512249529787 * ThermofluidStream.Processes.Tests.TransportDelay.transportDelay.Medium.T_h(293586.68523714185)")),!_initial,"max(transportDelay.rho_min, sink.inlet.state.p / (287.0512249529787 * ThermofluidStream.Processes.Tests.TransportDelay.transportDelay.Medium.T_h(293586.68523714185)))"), __z[2], true, tmp168, tmp169, tmp170); ~~~~~~~~~~ ^ ./OMCppThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.cpp:612:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp195; ^ ./OMCppThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.cpp:639:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(2, _transportDelay1_P_u_in_, (tmp191 - (287.0512249529787 * tmp192)), __z[3], true, tmp193, tmp194, tmp195); ~~~~~~~~~~ ^ ./OMCppThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.cpp:653:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp199; ^ ./OMCppThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.cpp:660: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 * tmp196),!_initial,"287.0512249529787 * ThermofluidStream.Processes.Tests.TransportDelay.transportDelay1.Medium.T_h(293586.68523714185)")),!_initial,"max(transportDelay1.rho_min, sink1.inlet.state.p / (287.0512249529787 * ThermofluidStream.Processes.Tests.TransportDelay.transportDelay1.Medium.T_h(293586.68523714185)))"), __z[3], true, tmp197, tmp198, tmp199); ~~~~~~~~~~ ^ 16 errors generated. make: *** [: OMCppThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelayCalcHelperMain.o] Error 1