Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.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.Undirected.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|transportDelay.inlet.m_flow|transportDelay.x|transportDelay1.rear.m_flow|transportDelay1.x|trapezoid.T_start|trapezoid.count|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay") translateModel(ThermofluidStream.Undirected.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|transportDelay.inlet.m_flow|transportDelay.x|transportDelay1.rear.m_flow|transportDelay1.x|trapezoid.T_start|trapezoid.count|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 104.1 kB / 16.41 MB, free: 6.461 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.001076/0.001076, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6827/0.6827, allocations: 91.18 MB / 382.4 MB, free: 7.52 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001659/0.001659, allocations: 87.86 kB / 0.5175 GB, free: 4.102 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2818, allocations: 67.69 MB / 0.5836 GB, free: 13.94 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.4874/0.7693, allocations: 192.4 MB / 0.7715 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007111/0.7764, allocations: 5.525 MB / 0.7769 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001627/0.7781, allocations: 30.94 kB / 0.7769 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001744/0.7799, allocations: 416 kB / 0.7773 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005141/0.7851, allocations: 1.413 MB / 0.7787 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00307/0.7882, allocations: 0.828 MB / 0.7795 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005181/0.7934, allocations: 2.645 MB / 0.7821 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006807/0.7942, allocations: 242.8 kB / 0.7823 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004035/0.7982, allocations: 1.858 MB / 0.7841 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001509/0.7998, allocations: 0.7004 MB / 0.7848 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003903/0.8002, allocations: 74.61 kB / 0.7849 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003506/0.8037, allocations: 1.224 MB / 0.7861 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003943/0.8041, allocations: 190.8 kB / 0.7862 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009822/0.8051, allocations: 494.8 kB / 0.7867 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004059/0.8092, allocations: 1.721 MB / 0.7884 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.8092, allocations: 0 / 0.7884 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.944e-06/0.8093, allocations: 0.875 kB / 0.7884 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.866e-05/0.8093, allocations: 0 / 0.7884 GB, free: 0.7266 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003977/0.8133, allocations: 1.559 MB / 0.7899 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.8133, allocations: 10.72 kB / 0.7899 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001295/0.8146, allocations: 186.4 kB / 0.7901 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001634/0.8163, allocations: 0.7128 MB / 0.7908 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/0.8164, allocations: 73.97 kB / 0.7909 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002617/0.8167, allocations: 66.97 kB / 0.7909 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001992/0.8187, allocations: 0.8174 MB / 0.7917 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.8188, allocations: 0 / 0.7917 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-05/0.8189, allocations: 22.25 kB / 0.7918 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.8189, allocations: 20.62 kB / 0.7918 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001828/0.8207, allocations: 0.695 MB / 0.7925 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005389/0.8261, allocations: 3.602 MB / 0.796 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001824/0.828, allocations: 0.7023 MB / 0.7967 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008184/0.8288, allocations: 343.6 kB / 0.797 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008785/0.8297, allocations: 0.4951 MB / 0.7975 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001093/0.8309, allocations: 0.5114 MB / 0.798 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=69): time 4.018e-06/0.8309, allocations: 4.062 kB / 0.798 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69): time 0.003547/0.8344, allocations: 1.347 MB / 0.7993 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/0.8345, allocations: 87.61 kB / 0.7994 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009386/0.8355, allocations: 0.6659 MB / 0.8 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.712e-05/0.8356, allocations: 37.48 kB / 0.8001 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002678/0.8359, allocations: 391.8 kB / 0.8004 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002286/0.8361, allocations: 233.9 kB / 0.8007 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002783/0.8364, allocations: 164.1 kB / 0.8008 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.8365, allocations: 332 kB / 0.8011 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008414/0.8374, allocations: 297.9 kB / 0.8014 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009289/0.8383, allocations: 396.6 kB / 0.8018 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001757/0.8401, allocations: 0.7387 MB / 0.8025 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.8401, allocations: 0.9062 kB / 0.8025 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002483/0.8426, allocations: 1.025 MB / 0.8035 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.768e-05/0.8427, allocations: 60.64 kB / 0.8036 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-05/0.8427, allocations: 12.2 kB / 0.8036 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004078/0.8431, allocations: 85.88 kB / 0.8037 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000721/0.8439, allocations: 191.9 kB / 0.8039 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002635/0.8465, allocations: 3.061 MB / 0.8068 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009214/0.8474, allocations: 99.42 kB / 0.8069 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001972/0.8477, allocations: 80.33 kB / 0.807 GB, free: 8.188 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 10 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition2,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 69 * 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.0005342/0.8482, allocations: 216 kB / 0.8072 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002787/0.8485, allocations: 85 kB / 0.8073 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00386/0.8523, allocations: 1.793 MB / 0.8091 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/0.8524, allocations: 11.94 kB / 0.8091 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.8524, allocations: 0 / 0.8091 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.8524, allocations: 10.89 kB / 0.8091 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003762/0.8562, allocations: 1.947 MB / 0.811 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.729e-05/0.8562, allocations: 15 kB / 0.811 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006655/0.8569, allocations: 167 kB / 0.8111 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003049/0.8572, allocations: 85.66 kB / 0.8112 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.995e-05/0.8573, allocations: 41.8 kB / 0.8113 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00244/0.8598, allocations: 3.061 MB / 0.8143 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.8598, allocations: 5.234 kB / 0.8143 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003465/0.8633, allocations: 1.467 MB / 0.8157 GB, free: 3.406 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004459/0.8638, allocations: 252.2 kB / 0.8159 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002196/0.864, allocations: 23.95 kB / 0.816 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007107/0.8647, allocations: 50.34 kB / 0.816 GB, free: 3.145 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002558/0.865, allocations: 103.1 kB / 0.8161 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001319/0.8651, allocations: 75.72 kB / 0.8162 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006774/0.8658, allocations: 466.6 kB / 0.8166 GB, free: 2.82 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8658, allocations: 0 / 0.8166 GB, free: 2.82 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001415/0.8672, allocations: 339.6 kB / 0.8169 GB, free: 2.738 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (transportDelay1.x,flowResistance1.rear.m_flow,transportDelay.x,flowResistance.inlet.m_flow) * Number of discrete variables: 6 ($whenCondition1,trapezoid1.T_start,trapezoid1.count,$whenCondition2,trapezoid.T_start,trapezoid.count) * Number of discrete states: 2 (trapezoid.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 56 * 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.001194/0.8684, allocations: 420.7 kB / 0.8173 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002958/0.8714, allocations: 1.222 MB / 0.8185 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.8714, allocations: 0 / 0.8185 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001604/0.8731, allocations: 0.7792 MB / 0.8193 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/0.8748, allocations: 263.9 kB / 0.8196 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00414/0.8789, allocations: 1.832 MB / 0.8213 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006115/0.8796, allocations: 0.9746 MB / 0.8223 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000837/0.8804, allocations: 239.3 kB / 0.8225 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of SimCode: time 1.112e-06/0.8804, allocations: 0 / 0.8225 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of Templates: time 0.03053/0.911, allocations: 22.69 MB / 0.8447 GB, free: 7.027 MB / 0.6231 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.makefile make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.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.Undirected.Processes.Tests.TransportDelayCalcHelperMain.o OMCppThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelayCalcHelperMain.cpp In file included from OMCppThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelayCalcHelperMain.cpp:29: ./OMCppThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelayInitialize.cpp:312:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp11; ^ ./OMCppThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelayInitialize.cpp:318:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(3, _transportDelay1_P_v_rear_in_, _transportDelay1_P_v_fore_in_, __z[3], (_transportDelay1_P_v_ >= 0.0), tmp9, tmp10, tmp11); ~~~~~~~~~~ ^ ./OMCppThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelayInitialize.cpp:331:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp14; ^ ./OMCppThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelayInitialize.cpp:337:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(2, _transportDelay1_P_u_rear_in_, _transportDelay1_P_u_fore_in_, __z[3], (_transportDelay1_P_v_ >= 0.0), tmp12, tmp13, tmp14); ~~~~~~~~~~ ^ ./OMCppThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelayInitialize.cpp:954:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp48; ^ ./OMCppThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelayInitialize.cpp:961: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 * tmp45),!_initial,"287.0512249529787 * ThermofluidStream.Undirected.Processes.Tests.TransportDelay.transportDelay.Medium.T_h(293586.68523714185)")),!_initial,"max(transportDelay.rho_min, sink.inlet.state.p / (287.0512249529787 * ThermofluidStream.Undirected.Processes.Tests.TransportDelay.transportDelay.Medium.T_h(293586.68523714185)))"), __z[2], true, tmp46, tmp47, tmp48); ~~~~~~~~~~ ^ ./OMCppThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelayInitialize.cpp:978:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp59; ^ ./OMCppThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelayInitialize.cpp:1005:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(0, _transportDelay_P_u_in_, (tmp55 - (287.0512249529787 * tmp56)), __z[2], true, tmp57, tmp58, tmp59); ~~~~~~~~~~ ^ In file included from OMCppThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelayCalcHelperMain.cpp:33: ./OMCppThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.cpp:177:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp185; ^ ./OMCppThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.cpp:204:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(0, _transportDelay_P_u_in_, (tmp181 - (287.0512249529787 * tmp182)), __z[2], true, tmp183, tmp184, tmp185); ~~~~~~~~~~ ^ ./OMCppThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.cpp:218:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp189; ^ ./OMCppThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.cpp:225: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 * tmp186),!_initial,"287.0512249529787 * ThermofluidStream.Undirected.Processes.Tests.TransportDelay.transportDelay.Medium.T_h(293586.68523714185)")),!_initial,"max(transportDelay.rho_min, sink.inlet.state.p / (287.0512249529787 * ThermofluidStream.Undirected.Processes.Tests.TransportDelay.transportDelay.Medium.T_h(293586.68523714185)))"), __z[2], true, tmp187, tmp188, tmp189); ~~~~~~~~~~ ^ ./OMCppThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.cpp:635:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp209; ^ ./OMCppThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.cpp:641:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(2, _transportDelay1_P_u_rear_in_, _transportDelay1_P_u_fore_in_, __z[3], getCondition(14), tmp207, tmp208, tmp209); ~~~~~~~~~~ ^ ./OMCppThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.cpp:654:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp212; ^ ./OMCppThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.cpp:660:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(3, _transportDelay1_P_v_rear_in_, _transportDelay1_P_v_fore_in_, __z[3], getCondition(14), tmp210, tmp211, tmp212); ~~~~~~~~~~ ^ 16 errors generated. make: *** [: OMCppThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelayCalcHelperMain.o] Error 1