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.001173/0.001173, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001078/0.001078, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.316/1.316, 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.7261/0.7261, allocations: 91.18 MB / 382.4 MB, free: 7.508 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 87.86 kB / 0.5175 GB, free: 4.098 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3456, allocations: 67.69 MB / 0.5836 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.5452/0.8909, allocations: 189.2 MB / 0.7684 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007479/0.8984, allocations: 7.317 MB / 0.7755 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/0.8995, allocations: 29.66 kB / 0.7755 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.9006, allocations: 380.8 kB / 0.7759 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005107/0.9058, allocations: 1.298 MB / 0.7772 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00213/0.9079, allocations: 0.6713 MB / 0.7778 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003931/0.9119, allocations: 2.367 MB / 0.7801 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004036/0.9123, allocations: 206.6 kB / 0.7803 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00298/0.9153, allocations: 1.625 MB / 0.7819 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008829/0.9162, allocations: 0.5863 MB / 0.7825 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.9163, allocations: 57.19 kB / 0.7826 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002812/0.9191, allocations: 1.149 MB / 0.7837 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001934/0.9193, allocations: 155.5 kB / 0.7838 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004637/0.9198, allocations: 400 kB / 0.7842 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002871/0.9227, allocations: 1.475 MB / 0.7856 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.9227, allocations: 0.7812 kB / 0.7856 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.625e-06/0.9227, allocations: 0 / 0.7856 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.943e-05/0.9227, allocations: 0.6875 kB / 0.7856 GB, free: 0.8789 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.002762/0.9255, allocations: 1.362 MB / 0.787 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.9255, allocations: 9 kB / 0.787 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009542/0.9265, allocations: 155.2 kB / 0.7871 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009128/0.9274, allocations: 0.6419 MB / 0.7878 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.542e-05/0.9275, allocations: 36.59 kB / 0.7878 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.9276, allocations: 55.84 kB / 0.7878 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.9287, allocations: 0.5893 MB / 0.7884 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.9287, allocations: 3.531 kB / 0.7884 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.47e-05/0.9288, allocations: 16.72 kB / 0.7884 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.9288, allocations: 13.53 kB / 0.7885 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.9299, allocations: 464.9 kB / 0.7889 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003462/0.9333, allocations: 2.677 MB / 0.7915 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.9344, allocations: 454 kB / 0.7919 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004826/0.9349, allocations: 246.4 kB / 0.7922 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002879/0.9352, allocations: 263.3 kB / 0.7924 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007746/0.9359, allocations: 396.5 kB / 0.7928 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=54): time 2.425e-06/0.936, allocations: 0 / 0.7928 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54): time 0.002526/0.9385, allocations: 1.032 MB / 0.7938 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.9386, allocations: 93.91 kB / 0.7939 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006644/0.9392, allocations: 0.5772 MB / 0.7945 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.214e-05/0.9393, allocations: 39.73 kB / 0.7945 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003115/0.9396, allocations: 337.7 kB / 0.7948 GB, free: 13 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001607/0.9398, allocations: 180 kB / 0.795 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/0.94, allocations: 136.2 kB / 0.7951 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.9402, allocations: 387.6 kB / 0.7955 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004932/0.9407, allocations: 192.6 kB / 0.7957 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005407/0.9413, allocations: 260.8 kB / 0.7959 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.9424, allocations: 0.5184 MB / 0.7964 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.9424, allocations: 0 / 0.7964 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001673/0.9441, allocations: 0.7649 MB / 0.7972 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.727e-05/0.9442, allocations: 65.97 kB / 0.7973 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.339e-05/0.9442, allocations: 13.84 kB / 0.7973 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003645/0.9446, allocations: 80.27 kB / 0.7973 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004724/0.945, allocations: 131.1 kB / 0.7975 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002532/0.9476, allocations: 3.052 MB / 0.8004 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005631/0.9482, allocations: 67.2 kB / 0.8005 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.994e-05/0.9483, allocations: 60.06 kB / 0.8006 GB, free: 9.406 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.0003906/0.9487, allocations: 198.7 kB / 0.8008 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.9488, allocations: 76.44 kB / 0.8008 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002477/0.9513, allocations: 1.298 MB / 0.8021 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/0.9513, allocations: 14.39 kB / 0.8021 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.9513, allocations: 6.094 kB / 0.8021 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.9513, allocations: 2.953 kB / 0.8021 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002722/0.9541, allocations: 1.576 MB / 0.8037 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.616e-05/0.9541, allocations: 15.5 kB / 0.8037 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004363/0.9546, allocations: 120.6 kB / 0.8038 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002644/0.9548, allocations: 87.27 kB / 0.8039 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.183e-05/0.9549, allocations: 32.44 kB / 0.8039 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002222/0.9571, allocations: 3.053 MB / 0.8069 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.9571, allocations: 0 / 0.8069 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002201/0.9594, allocations: 1.131 MB / 0.808 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003209/0.9597, allocations: 215.4 kB / 0.8082 GB, free: 5.465 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.9598, allocations: 19.25 kB / 0.8082 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000467/0.9603, allocations: 38.91 kB / 0.8083 GB, free: 5.457 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/0.9605, allocations: 74.73 kB / 0.8083 GB, free: 5.457 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.664e-05/0.9606, allocations: 65.22 kB / 0.8084 GB, free: 5.457 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004537/0.961, allocations: 406.3 kB / 0.8088 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.81e-07/0.961, allocations: 0 / 0.8088 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009665/0.962, allocations: 303.5 kB / 0.8091 GB, free: 5.328 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.0008234/0.9628, allocations: 430.3 kB / 0.8095 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001745/0.9646, allocations: 0.9817 MB / 0.8104 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.9646, allocations: 0 / 0.8104 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009631/0.9656, allocations: 0.6534 MB / 0.8111 GB, free: 4.312 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.9667, allocations: 224 kB / 0.8113 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003008/0.9697, allocations: 1.567 MB / 0.8128 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005341/0.9703, allocations: 0.9318 MB / 0.8137 GB, free: 2.793 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005678/0.9709, allocations: 170 kB / 0.8139 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of SimCode: time 7.41e-07/0.9709, allocations: 0 / 0.8139 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of Templates: time 0.02743/0.9983, allocations: 19.24 MB / 0.8327 GB, free: 2.246 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