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.001079/0.001079, allocations: 92.7 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 179.9 kB / 16.92 MB, free: 6.652 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.319/1.319, allocations: 223.3 MB / 241 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6102/0.6102, allocations: 89.64 MB / 381.7 MB, free: 11.26 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003454/0.0003455, allocations: 9.281 kB / 461.3 MB, free: 24.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1027, allocations: 68.83 MB / 0.5177 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.3915/0.4942, allocations: 187.7 MB / 0.701 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007099/0.5014, allocations: 5.507 MB / 0.7064 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007542/0.5022, allocations: 11.94 kB / 0.7064 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.5032, allocations: 350.1 kB / 0.7067 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003307/0.5065, allocations: 1.204 MB / 0.7079 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001984/0.5085, allocations: 0.7242 MB / 0.7086 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003929/0.5124, allocations: 2.871 MB / 0.7114 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003622/0.5128, allocations: 211 kB / 0.7116 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002896/0.5157, allocations: 1.704 MB / 0.7133 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.5168, allocations: 0.6343 MB / 0.7139 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001935/0.517, allocations: 36 kB / 0.7139 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002311/0.5193, allocations: 1.104 MB / 0.715 GB, free: 1.266 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002012/0.5195, allocations: 147.2 kB / 0.7151 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000535/0.5201, allocations: 431.5 kB / 0.7155 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001627/0.5217, allocations: 1.119 MB / 0.7166 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.5217, allocations: 0 / 0.7166 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5217, allocations: 0 / 0.7166 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.192e-05/0.5218, allocations: 0 / 0.7166 GB, free: 15.57 MB / 0.5294 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.003244/0.525, allocations: 1.304 MB / 0.7179 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.5251, allocations: 8.031 kB / 0.7179 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/0.5263, allocations: 174.8 kB / 0.7181 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008181/0.5271, allocations: 0.4942 MB / 0.7186 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.058e-05/0.5272, allocations: 75.02 kB / 0.7186 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000162/0.5274, allocations: 67.98 kB / 0.7187 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001795/0.5292, allocations: 0.8467 MB / 0.7195 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.5292, allocations: 4 kB / 0.7195 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.06e-05/0.5293, allocations: 20 kB / 0.7196 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.5293, allocations: 16 kB / 0.7196 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001999/0.5313, allocations: 0.7672 MB / 0.7203 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004706/0.536, allocations: 3.621 MB / 0.7239 GB, free: 7.727 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001986/0.538, allocations: 0.7533 MB / 0.7246 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009278/0.539, allocations: 381.8 kB / 0.725 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008982/0.5399, allocations: 0.5212 MB / 0.7255 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001187/0.5411, allocations: 0.5438 MB / 0.726 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=69): time 2.896e-06/0.5411, allocations: 0 / 0.726 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of matching and sorting (n=69): time 0.003708/0.5448, allocations: 1.441 MB / 0.7274 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.5449, allocations: 89.09 kB / 0.7275 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000601/0.5455, allocations: 0.5186 MB / 0.728 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.943e-05/0.5456, allocations: 41.7 kB / 0.728 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002361/0.5458, allocations: 324.5 kB / 0.7283 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002073/0.546, allocations: 232.7 kB / 0.7286 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.5461, allocations: 61.69 kB / 0.7286 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.5463, allocations: 382.7 kB / 0.729 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009257/0.5472, allocations: 329.8 kB / 0.7293 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009845/0.5482, allocations: 430.3 kB / 0.7297 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001914/0.5502, allocations: 0.8131 MB / 0.7305 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.5502, allocations: 0 / 0.7305 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00261/0.5528, allocations: 1.081 MB / 0.7316 GB, free: 15.48 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.938e-05/0.5529, allocations: 63.39 kB / 0.7316 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.023e-05/0.5529, allocations: 15.98 kB / 0.7316 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003439/0.5533, allocations: 85.7 kB / 0.7317 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008034/0.5541, allocations: 207.7 kB / 0.7319 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002364/0.5564, allocations: 2.842 MB / 0.7347 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007857/0.5572, allocations: 123.4 kB / 0.7348 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.5574, allocations: 83.98 kB / 0.7349 GB, free: 11.79 MB / 0.545 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.0003287/0.5577, allocations: 193.7 kB / 0.7351 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.5578, allocations: 75.09 kB / 0.7352 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004285/0.5621, allocations: 1.849 MB / 0.737 GB, free: 9.66 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.5622, allocations: 11.94 kB / 0.737 GB, free: 9.648 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.5622, allocations: 4 kB / 0.737 GB, free: 9.645 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.5622, allocations: 3.984 kB / 0.737 GB, free: 9.641 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003898/0.5661, allocations: 1.98 MB / 0.7389 GB, free: 7.586 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.081e-05/0.5661, allocations: 11.98 kB / 0.7389 GB, free: 7.574 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007442/0.5669, allocations: 191.9 kB / 0.7391 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002878/0.5672, allocations: 77.64 kB / 0.7392 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.593e-05/0.5673, allocations: 43.97 kB / 0.7392 GB, free: 7.262 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002192/0.5695, allocations: 2.857 MB / 0.742 GB, free: 4.141 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/0.5695, allocations: 4.031 kB / 0.742 GB, free: 4.137 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003484/0.573, allocations: 1.558 MB / 0.7435 GB, free: 2.547 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003305/0.5733, allocations: 239.9 kB / 0.7438 GB, free: 2.293 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.5735, allocations: 15.98 kB / 0.7438 GB, free: 2.277 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007245/0.5742, allocations: 83.84 kB / 0.7439 GB, free: 2.195 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002239/0.5744, allocations: 91.88 kB / 0.7439 GB, free: 2.105 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/0.5745, allocations: 79.91 kB / 0.744 GB, free: 2.027 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004331/0.575, allocations: 370.8 kB / 0.7444 GB, free: 1.668 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.11e-07/0.575, allocations: 4 kB / 0.7444 GB, free: 1.664 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001043/0.576, allocations: 339.6 kB / 0.7447 GB, free: 1.332 MB / 0.545 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.0009132/0.577, allocations: 434.5 kB / 0.7451 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002729/0.5797, allocations: 1.277 MB / 0.7464 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.5797, allocations: 0 / 0.7464 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001487/0.5812, allocations: 0.8122 MB / 0.7472 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/0.5826, allocations: 235.9 kB / 0.7474 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003613/0.5863, allocations: 2.103 MB / 0.7494 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000502/0.5868, allocations: 0.9234 MB / 0.7503 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008787/0.5877, allocations: 235.2 kB / 0.7506 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.5877, allocations: 0 / 0.7506 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of Templates: time 0.02661/0.6143, allocations: 20.21 MB / 0.7703 GB, free: 6.973 MB / 0.5762 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.makefile make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.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.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.6852371418)")),!_initial,"max(transportDelay.rho_min, sink.inlet.state.p / (287.0512249529787 * ThermofluidStream.Undirected.Processes.Tests.TransportDelay.transportDelay.Medium.T_h(293586.6852371418)))"), __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:178:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp187; ^ ./OMCppThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.cpp:205:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(0, _transportDelay_P_u_in_, (tmp183 - (287.0512249529787 * tmp184)), __z[2], true, tmp185, tmp186, tmp187); ~~~~~~~~~~ ^ ./OMCppThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.cpp:219:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp191; ^ ./OMCppThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.cpp:226: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 * tmp188),!_initial,"287.0512249529787 * ThermofluidStream.Undirected.Processes.Tests.TransportDelay.transportDelay.Medium.T_h(293586.6852371418)")),!_initial,"max(transportDelay.rho_min, sink.inlet.state.p / (287.0512249529787 * ThermofluidStream.Undirected.Processes.Tests.TransportDelay.transportDelay.Medium.T_h(293586.6852371418)))"), __z[2], true, tmp189, tmp190, tmp191); ~~~~~~~~~~ ^ ./OMCppThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.cpp:636:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp211; ^ ./OMCppThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.cpp:642: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), tmp209, tmp210, tmp211); ~~~~~~~~~~ ^ ./OMCppThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.cpp:655:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp214; ^ ./OMCppThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.cpp:661: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), tmp212, tmp213, tmp214); ~~~~~~~~~~ ^ 16 errors generated. make: *** [: OMCppThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelayCalcHelperMain.o] Error 1