Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001978/0.001978, allocations: 107.3 kB / 16.27 MB, free: 6.355 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.002235/0.002235, allocations: 192.3 kB / 17.2 MB, free: 5.953 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.379/1.379, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002544/0.002544, allocations: 281.1 kB / 291.3 MB, free: 14.56 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.203/1.203, allocations: 178.6 MB / 0.5079 GB, free: 12.85 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00271/0.00271, allocations: 95.84 kB / 0.6071 GB, free: 9.324 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1913, allocations: 89.13 MB / 0.6941 GB, free: 108 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.4228/0.6142, allocations: 115.2 MB / 0.8066 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.04369/0.6579, allocations: 26.57 MB / 0.8325 GB, free: 3.547 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006108/0.6641, allocations: 110.3 kB / 0.8327 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004355/0.6685, allocations: 1.145 MB / 0.8338 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01195/0.6805, allocations: 3.422 MB / 0.8371 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007918/0.6884, allocations: 2.343 MB / 0.8394 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01067/0.6991, allocations: 6.172 MB / 0.8454 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003608/0.7028, allocations: 1.927 MB / 0.8473 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007397/0.7102, allocations: 2.64 MB / 0.8499 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003981/0.7142, allocations: 1.773 MB / 0.8516 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0006211/0.7149, allocations: 219.6 kB / 0.8518 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006595/0.7215, allocations: 2.338 MB / 0.8541 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0009292/0.7224, allocations: 0.5381 MB / 0.8546 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002842/0.7253, allocations: 1.286 MB / 0.8559 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.009056/0.7343, allocations: 4.059 MB / 0.8599 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.7344, allocations: 0 / 0.8599 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7344, allocations: 0 / 0.8599 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.804e-05/0.7345, allocations: 0 / 0.8599 GB, free: 0.6055 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.006185/0.7407, allocations: 2.844 MB / 0.8626 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.7407, allocations: 8.031 kB / 0.8626 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007805/0.7415, allocations: 261 kB / 0.8629 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004418/0.7459, allocations: 2.054 MB / 0.8649 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.7461, allocations: 102.7 kB / 0.865 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002254/0.7463, allocations: 136 kB / 0.8651 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002644/0.749, allocations: 1.458 MB / 0.8665 GB, free: 9.562 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.191e-05/0.749, allocations: 15.86 kB / 0.8666 GB, free: 9.547 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001327/0.7491, allocations: 52 kB / 0.8666 GB, free: 9.496 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.811e-05/0.7492, allocations: 40 kB / 0.8667 GB, free: 9.457 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001986/0.7512, allocations: 1.017 MB / 0.8676 GB, free: 8.434 MB / 0.6231 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01056/0.7618, allocations: 8.191 MB / 0.8756 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001693/0.7635, allocations: 0.8316 MB / 0.8765 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006546/0.7642, allocations: 376.9 kB / 0.8768 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002627/0.7668, allocations: 2.811 MB / 0.8796 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.728e-05/0.7669, allocations: 43.22 kB / 0.8796 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=85): time 5.54e-06/0.7669, allocations: 3.984 kB / 0.8796 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of matching and sorting (n=85): time 0.002642/0.7695, allocations: 1.128 MB / 0.8807 GB, free: 9.688 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.043e-05/0.7696, allocations: 68.05 kB / 0.8808 GB, free: 9.609 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002468/0.7721, allocations: 1.621 MB / 0.8824 GB, free: 7.945 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.479e-05/0.7722, allocations: 45.7 kB / 0.8824 GB, free: 7.895 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008426/0.773, allocations: 0.9277 MB / 0.8833 GB, free: 6.957 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003256/0.7734, allocations: 299.6 kB / 0.8836 GB, free: 6.66 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00036/0.7737, allocations: 234.6 kB / 0.8838 GB, free: 6.422 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.7739, allocations: 357.9 kB / 0.8842 GB, free: 6.066 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006258/0.7745, allocations: 321.9 kB / 0.8845 GB, free: 5.75 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/0.7756, allocations: 0.7116 MB / 0.8852 GB, free: 4.867 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001729/0.7773, allocations: 1.085 MB / 0.8862 GB, free: 3.621 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.7773, allocations: 0 / 0.8862 GB, free: 3.621 MB / 0.6387 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002578/0.7799, allocations: 1.257 MB / 0.8874 GB, free: 2.355 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.78, allocations: 8 kB / 0.8875 GB, free: 2.348 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.31e-05/0.78, allocations: 16 kB / 0.8875 GB, free: 2.332 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.467e-05/0.78, allocations: 20 kB / 0.8875 GB, free: 2.312 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008258/0.7809, allocations: 259.5 kB / 0.8877 GB, free: 2.059 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.808e-05/0.7809, allocations: 27.86 kB / 0.8878 GB, free: 2.031 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/0.782, allocations: 135 kB / 0.8879 GB, free: 1.898 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/0.7822, allocations: 67.97 kB / 0.888 GB, free: 1.832 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001198/0.7834, allocations: 0.6203 MB / 0.8886 GB, free: 1.207 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009513/0.7843, allocations: 0.7082 MB / 0.8893 GB, free: 340 kB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00164/0.786, allocations: 1.081 MB / 0.8903 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.833e-06/0.786, allocations: 4 kB / 0.8903 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002393/0.7884, allocations: 1.241 MB / 0.8915 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.7884, allocations: 12 kB / 0.8915 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.954e-05/0.7885, allocations: 15.98 kB / 0.8915 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.7885, allocations: 20 kB / 0.8916 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008085/0.7893, allocations: 264.2 kB / 0.8918 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.08e-05/0.7893, allocations: 19.94 kB / 0.8918 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/0.7903, allocations: 103.2 kB / 0.8919 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/0.7905, allocations: 63.92 kB / 0.892 GB, free: 13.35 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003114/0.7908, allocations: 251.9 kB / 0.8922 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003471/0.7911, allocations: 189.7 kB / 0.8924 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003248/0.7944, allocations: 1.759 MB / 0.8941 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.098e-05/0.7944, allocations: 19.98 kB / 0.8942 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.7944, allocations: 3.938 kB / 0.8942 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001823/0.7963, allocations: 1.146 MB / 0.8953 GB, free: 9.941 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005677/0.802, allocations: 3.483 MB / 0.8987 GB, free: 6.297 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.762e-05/0.802, allocations: 11.98 kB / 0.8987 GB, free: 6.285 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007291/0.8028, allocations: 203.8 kB / 0.8989 GB, free: 6.086 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.494e-05/0.8028, allocations: 12 kB / 0.8989 GB, free: 6.074 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.999e-05/0.8029, allocations: 43.97 kB / 0.8989 GB, free: 6.031 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-05/0.8029, allocations: 11.36 kB / 0.899 GB, free: 6.023 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.999e-06/0.8029, allocations: 11.94 kB / 0.899 GB, free: 6.012 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003596/0.8065, allocations: 2.238 MB / 0.9011 GB, free: 3.672 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008486/0.8074, allocations: 438.1 kB / 0.9016 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002585/0.8076, allocations: 31.98 kB / 0.9016 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008311/0.8085, allocations: 43.97 kB / 0.9016 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001874/0.8087, allocations: 112.7 kB / 0.9017 GB, free: 3.035 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/0.8088, allocations: 55.97 kB / 0.9018 GB, free: 2.98 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001673/0.8105, allocations: 1.087 MB / 0.9029 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8105, allocations: 0 / 0.9029 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002959/0.8134, allocations: 1.135 MB / 0.904 GB, free: 0.7344 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 6 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,pipNoMix.del.x,pipNoMix.timDel.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 27 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001526/0.815, allocations: 0.8033 MB / 0.9048 GB, free: 15.93 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00396/0.8189, allocations: 1.898 MB / 0.9066 GB, free: 14 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/0.819, allocations: 0 / 0.9066 GB, free: 14 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001138/0.8201, allocations: 0.7487 MB / 0.9073 GB, free: 13.23 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004413/0.8245, allocations: 0.9643 MB / 0.9083 GB, free: 12.29 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005674/0.8302, allocations: 3.663 MB / 0.9119 GB, free: 8.512 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001109/0.8314, allocations: 1.435 MB / 0.9133 GB, free: 7.043 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004854/0.8318, allocations: 195.4 kB / 0.9134 GB, free: 6.852 MB / 0.67 GB Notification: Performance of SimCode: time 8.62e-07/0.8319, allocations: 0 / 0.9134 GB, free: 6.852 MB / 0.67 GB Notification: Performance of Templates: time 0.05558/0.8874, allocations: 36.55 MB / 0.9491 GB, free: 2.633 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.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 OMCppBuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipeCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipeCalcHelperMain.cpp In file included from OMCppBuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipeCalcHelperMain.cpp:29: ./OMCppBuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipeInitialize.cpp:730:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp36; ^ ./OMCppBuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipeInitialize.cpp:736:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(3, _simTime, _simTime, __z[5], (_pipNoMix_P_timDel_P_u_ >= 0.0), tmp34, tmp35, tmp36); ~~~~~~~~~~ ^ ./OMCppBuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipeInitialize.cpp:776:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp39; ^ ./OMCppBuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipeInitialize.cpp:782:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(2, _souNoMix_P_ports1_P_h_outflow_, _sin_P_ports2_P_h_outflow_, division(__z[4],_pipNoMix_P_del_P_length_,!_initial,"pipNoMix.del.length"), (_pipNoMix_P_v_ >= 0.0), tmp37, tmp38, tmp39); ~~~~~~~~~~ ^ ./OMCppBuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipeInitialize.cpp:1150:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp71; ^ ./OMCppBuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipeInitialize.cpp:1156:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(1, _simTime, _simTime, __z[1], (_pip_P_timDel_P_u_ >= 0.0), tmp69, tmp70, tmp71); ~~~~~~~~~~ ^ ./OMCppBuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipeInitialize.cpp:1196:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp74; ^ ./OMCppBuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipeInitialize.cpp:1202:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(0, _senTemIn_P_port_a_P_h_outflow_, _senTemOut_P_port_b_P_h_outflow_, division(__z[0],_pip_P_del_P_length_,!_initial,"pip.del.length"), (_pip_P_v_ >= 0.0), tmp72, tmp73, tmp74); ~~~~~~~~~~ ^ In file included from OMCppBuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipeCalcHelperMain.cpp:33: ./OMCppBuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.cpp:551:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp425; ^ ./OMCppBuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.cpp:557:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(0, _senTemIn_P_port_a_P_h_outflow_, _senTemOut_P_port_b_P_h_outflow_, division(__z[0],_pip_P_del_P_length_,!_initial,"pip.del.length"), getCondition(1), tmp423, tmp424, tmp425); ~~~~~~~~~~ ^ ./OMCppBuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.cpp:639:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp436; ^ ./OMCppBuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.cpp:645:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(1, _simTime, _simTime, __z[1], (_pip_P_timDel_P_u_ >= 0.0), tmp434, tmp435, tmp436); ~~~~~~~~~~ ^ ./OMCppBuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.cpp:1111:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp469; ^ ./OMCppBuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.cpp:1117:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(2, _souNoMix_P_ports1_P_h_outflow_, _sin_P_ports2_P_h_outflow_, division(__z[4],_pipNoMix_P_del_P_length_,!_initial,"pipNoMix.del.length"), getCondition(0), tmp467, tmp468, tmp469); ~~~~~~~~~~ ^ ./OMCppBuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.cpp:1199:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp480; ^ ./OMCppBuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.cpp:1205:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(3, _simTime, _simTime, __z[5], (_pipNoMix_P_timDel_P_u_ >= 0.0), tmp478, tmp479, tmp480); ~~~~~~~~~~ ^ 16 errors generated. make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipeCalcHelperMain.o] Error 1