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.001495/0.001496, allocations: 109 kB / 16.41 MB, free: 6.488 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.001405/0.001406, allocations: 187 kB / 17.34 MB, free: 5.73 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.714/0.714, allocations: 91.19 MB / 382.4 MB, free: 7.512 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 91.81 kB / 0.5175 GB, free: 4.105 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2952, allocations: 67.67 MB / 0.5836 GB, free: 13.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.5213/0.8165, allocations: 192.4 MB / 0.7715 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006008/0.8225, allocations: 5.525 MB / 0.7769 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000642/0.8232, allocations: 35 kB / 0.7769 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000911/0.8241, allocations: 413.2 kB / 0.7773 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003263/0.8274, allocations: 1.438 MB / 0.7787 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001857/0.8293, allocations: 0.8265 MB / 0.7795 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003222/0.8325, allocations: 2.651 MB / 0.7821 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000343/0.8329, allocations: 247.4 kB / 0.7823 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002796/0.8357, allocations: 1.859 MB / 0.7841 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008181/0.8365, allocations: 0.6986 MB / 0.7848 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.8366, allocations: 73.03 kB / 0.7849 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002468/0.8391, allocations: 1.228 MB / 0.7861 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001576/0.8393, allocations: 193.4 kB / 0.7863 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004042/0.8397, allocations: 488.9 kB / 0.7867 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002309/0.842, allocations: 1.724 MB / 0.7884 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.842, allocations: 3.219 kB / 0.7884 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8421, allocations: 0 / 0.7884 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.242e-05/0.8421, allocations: 0 / 0.7884 GB, free: 0.6953 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.003129/0.8452, allocations: 1.563 MB / 0.79 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.8453, allocations: 10.28 kB / 0.79 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/0.8464, allocations: 183.5 kB / 0.7901 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009944/0.8474, allocations: 0.709 MB / 0.7908 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.619e-05/0.8475, allocations: 75.73 kB / 0.7909 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.8476, allocations: 66.75 kB / 0.791 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/0.8491, allocations: 0.8129 MB / 0.7918 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/0.8491, allocations: 6.062 kB / 0.7918 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-05/0.8492, allocations: 23.28 kB / 0.7918 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.8492, allocations: 14.22 kB / 0.7918 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001693/0.8509, allocations: 0.6962 MB / 0.7925 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004492/0.8554, allocations: 3.608 MB / 0.796 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001797/0.8573, allocations: 0.6913 MB / 0.7967 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008175/0.8581, allocations: 356.1 kB / 0.797 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008632/0.859, allocations: 0.4913 MB / 0.7975 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001051/0.86, allocations: 0.5087 MB / 0.798 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=69): time 3.066e-06/0.86, allocations: 0 / 0.798 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69): time 0.003476/0.8635, allocations: 1.353 MB / 0.7993 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.8636, allocations: 89.55 kB / 0.7994 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000722/0.8643, allocations: 0.6603 MB / 0.8001 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.253e-05/0.8644, allocations: 39.36 kB / 0.8001 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002614/0.8647, allocations: 388.7 kB / 0.8005 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002162/0.8649, allocations: 234.2 kB / 0.8007 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002473/0.8652, allocations: 164.7 kB / 0.8008 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.8653, allocations: 337 kB / 0.8012 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008481/0.8661, allocations: 295 kB / 0.8014 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009623/0.8671, allocations: 399.6 kB / 0.8018 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00173/0.8689, allocations: 0.7432 MB / 0.8026 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.8689, allocations: 1.094 kB / 0.8026 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002438/0.8713, allocations: 1.02 MB / 0.8035 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.527e-05/0.8714, allocations: 63.62 kB / 0.8036 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.817e-05/0.8714, allocations: 11.17 kB / 0.8036 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003568/0.8718, allocations: 83.86 kB / 0.8037 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007188/0.8725, allocations: 189.5 kB / 0.8039 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002433/0.875, allocations: 3.06 MB / 0.8069 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008064/0.8758, allocations: 108 kB / 0.807 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/0.8759, allocations: 78.91 kB / 0.807 GB, free: 8.152 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.0004138/0.8763, allocations: 210.8 kB / 0.8072 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/0.8765, allocations: 86.53 kB / 0.8073 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003547/0.8801, allocations: 1.799 MB / 0.8091 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.8801, allocations: 4.938 kB / 0.8091 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.8801, allocations: 1.875 kB / 0.8091 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.55e-05/0.8801, allocations: 10.72 kB / 0.8091 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003493/0.8836, allocations: 1.945 MB / 0.811 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.763e-05/0.8837, allocations: 18.55 kB / 0.811 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006914/0.8844, allocations: 169.2 kB / 0.8112 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002851/0.8847, allocations: 85.98 kB / 0.8113 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.096e-05/0.8848, allocations: 44.48 kB / 0.8113 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00239/0.8872, allocations: 3.057 MB / 0.8143 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.8872, allocations: 1.344 kB / 0.8143 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00342/0.8906, allocations: 1.469 MB / 0.8157 GB, free: 3.398 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004099/0.891, allocations: 249.6 kB / 0.816 GB, free: 3.176 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001434/0.8912, allocations: 25.06 kB / 0.816 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006442/0.8918, allocations: 55.73 kB / 0.816 GB, free: 3.133 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002461/0.8921, allocations: 96.36 kB / 0.8161 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/0.8922, allocations: 73.81 kB / 0.8162 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005483/0.8928, allocations: 462.2 kB / 0.8166 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8928, allocations: 0 / 0.8166 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001102/0.8939, allocations: 347 kB / 0.817 GB, free: 2.73 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.0008358/0.8947, allocations: 431.6 kB / 0.8174 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002529/0.8973, allocations: 1.223 MB / 0.8186 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.8973, allocations: 0 / 0.8186 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00143/0.8987, allocations: 0.7802 MB / 0.8193 GB, free: 1.004 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/0.9001, allocations: 249 kB / 0.8196 GB, free: 0.7656 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003879/0.904, allocations: 1.848 MB / 0.8214 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005529/0.9045, allocations: 0.9707 MB / 0.8223 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007312/0.9053, allocations: 243.2 kB / 0.8226 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of SimCode: time 4.71e-07/0.9053, allocations: 0 / 0.8226 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of Templates: time 0.02816/0.9335, allocations: 22.68 MB / 0.8447 GB, free: 7.055 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