Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemIn.T|senTemOut.T|bou.1..T|pip.QEnv_flow|pip.dp|pip.v|pip.m_flow_nominal|pip.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized") translateModel(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemIn.T|senTemOut.T|bou.1..T|pip.QEnv_flow|pip.dp|pip.v|pip.m_flow_nominal|pip.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001229/0.001229, allocations: 189.8 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.459/1.459, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.66/2.66, allocations: 437.1 MB / 0.7111 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 67.64 kB / 0.8699 GB, free: 2.215 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3536, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized): time 0.7095/1.063, allocations: 66.53 MB / 1.083 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02443/1.088, allocations: 16.74 MB / 1.099 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003968/1.092, allocations: 65.41 kB / 1.099 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003086/1.095, allocations: 0.8145 MB / 1.1 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.009231/1.104, allocations: 2.551 MB / 1.103 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.005871/1.11, allocations: 1.804 MB / 1.104 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.06447/1.174, allocations: 35.78 MB / 1.139 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02751/1.202, allocations: 15.79 MB / 1.155 GB, free: 6.422 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02853/1.231, allocations: 11.74 MB / 1.166 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02132/1.252, allocations: 9.699 MB / 1.176 GB, free: 5.812 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.005624/1.258, allocations: 1.449 MB / 1.177 GB, free: 4.363 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01556/1.273, allocations: 3.179 MB / 1.18 GB, free: 1.277 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.008314/1.282, allocations: 3.279 MB / 1.183 GB, free: 14.06 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.01949/1.301, allocations: 7.31 MB / 1.191 GB, free: 6.789 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.03382/1.335, allocations: 21.75 MB / 1.212 GB, free: 1.496 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/1.335, allocations: 0 / 1.212 GB, free: 1.496 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.122e-06/1.335, allocations: 0 / 1.212 GB, free: 1.496 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0007141/1.336, allocations: 0 / 1.212 GB, free: 1.496 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1830 * Number of variables: 1830 Notification: Performance of Generate backend data structure: time 0.04603/1.382, allocations: 13.14 MB / 1.225 GB, free: 4.359 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/1.382, allocations: 12.88 kB / 1.225 GB, free: 4.348 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008523/1.39, allocations: 1.28 MB / 1.226 GB, free: 3.055 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03399/1.424, allocations: 12.59 MB / 1.238 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007529/1.425, allocations: 0.5254 MB / 1.239 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00366/1.429, allocations: 0.7134 MB / 1.239 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03644/1.465, allocations: 11.21 MB / 1.25 GB, free: 9.891 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005155/1.466, allocations: 31.78 kB / 1.25 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003262/1.469, allocations: 302.7 kB / 1.251 GB, free: 9.566 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003435/1.47, allocations: 215.9 kB / 1.251 GB, free: 9.355 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02626/1.496, allocations: 9.249 MB / 1.26 GB, free: 92 kB / 0.9512 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.103/1.599, allocations: 52.5 MB / 1.311 GB, free: 8.543 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01076/1.61, allocations: 4.861 MB / 1.316 GB, free: 3.73 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006156/1.616, allocations: 2.829 MB / 1.319 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002456/1.618, allocations: 1.709 MB / 1.32 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001642/1.619, allocations: 94.25 kB / 1.32 GB, free: 14.77 MB / 1.029 GB Notification: Performance of pre-optimization done (n=420): time 1.15e-05/1.619, allocations: 0 / 1.32 GB, free: 14.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=420): time 0.02198/1.641, allocations: 7.812 MB / 1.328 GB, free: 6.926 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/1.641, allocations: 94.48 kB / 1.328 GB, free: 6.82 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02713/1.668, allocations: 10.47 MB / 1.338 GB, free: 12.39 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.001333/1.669, allocations: 113.6 kB / 1.338 GB, free: 12.27 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.007579/1.677, allocations: 4.721 MB / 1.343 GB, free: 7.535 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.003514/1.68, allocations: 1.484 MB / 1.345 GB, free: 6.062 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004095/1.685, allocations: 1.107 MB / 1.346 GB, free: 4.945 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001409/1.685, allocations: 301.1 kB / 1.346 GB, free: 4.648 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005594/1.69, allocations: 2.676 MB / 1.349 GB, free: 1.957 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007623/1.698, allocations: 4.197 MB / 1.353 GB, free: 13.1 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01354/1.712, allocations: 7.413 MB / 1.36 GB, free: 5.027 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.912e-05/1.712, allocations: 12 kB / 1.36 GB, free: 5.016 MB / 1.061 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01984/1.732, allocations: 7.991 MB / 1.368 GB, free: 13 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 6.913e-05/1.732, allocations: 24 kB / 1.368 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002318/1.732, allocations: 76.81 kB / 1.368 GB, free: 12.91 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001012/1.732, allocations: 76 kB / 1.368 GB, free: 12.83 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004919/1.737, allocations: 1.201 MB / 1.369 GB, free: 11.63 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001331/1.737, allocations: 107.7 kB / 1.369 GB, free: 11.52 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007871/1.745, allocations: 0.6856 MB / 1.37 GB, free: 10.83 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001416/1.746, allocations: 287.8 kB / 1.37 GB, free: 10.55 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01319/1.76, allocations: 6.439 MB / 1.376 GB, free: 4.098 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007382/1.767, allocations: 4.2 MB / 1.38 GB, free: 15.23 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01375/1.781, allocations: 7.409 MB / 1.388 GB, free: 7.168 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.87e-05/1.781, allocations: 16 kB / 1.388 GB, free: 7.152 MB / 1.092 GB Notification: Performance of matching and sorting (n=694) (initialization_lambda0): time 0.02026/1.801, allocations: 7.979 MB / 1.396 GB, free: 15.15 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.925e-05/1.801, allocations: 27.31 kB / 1.396 GB, free: 15.13 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001931/1.801, allocations: 71.97 kB / 1.396 GB, free: 15.06 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.061e-05/1.802, allocations: 83.94 kB / 1.396 GB, free: 14.98 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00514/1.807, allocations: 1.205 MB / 1.397 GB, free: 13.77 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001321/1.807, allocations: 103.7 kB / 1.397 GB, free: 13.67 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007857/1.815, allocations: 0.5779 MB / 1.398 GB, free: 13.09 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001344/1.816, allocations: 279.9 kB / 1.398 GB, free: 12.81 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 211 * 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 (674): * Single equations (assignments): 654 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * 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.001911/1.818, allocations: 0.5025 MB / 1.398 GB, free: 12.3 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00383/1.822, allocations: 0.8451 MB / 1.399 GB, free: 11.45 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02057/1.842, allocations: 8.921 MB / 1.408 GB, free: 2.559 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001155/1.843, allocations: 79.94 kB / 1.408 GB, free: 2.48 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/1.843, allocations: 0 / 1.408 GB, free: 2.48 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01241/1.855, allocations: 6.106 MB / 1.414 GB, free: 12.29 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04749/1.903, allocations: 20.62 MB / 1.434 GB, free: 7.418 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001447/1.903, allocations: 39.97 kB / 1.434 GB, free: 7.379 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004236/1.907, allocations: 0.9447 MB / 1.435 GB, free: 6.434 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.161e-05/1.907, allocations: 32 kB / 1.435 GB, free: 6.402 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008571/1.908, allocations: 191.8 kB / 1.435 GB, free: 6.215 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.792e-05/1.908, allocations: 43.86 kB / 1.435 GB, free: 6.172 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.785e-05/1.908, allocations: 23.88 kB / 1.435 GB, free: 6.148 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02179/1.93, allocations: 11.63 MB / 1.447 GB, free: 10.12 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006679/1.937, allocations: 2.35 MB / 1.449 GB, free: 7.734 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002969/1.94, allocations: 139.9 kB / 1.449 GB, free: 7.598 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007191/1.947, allocations: 335.4 kB / 1.449 GB, free: 7.27 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001416/1.948, allocations: 450.8 kB / 1.45 GB, free: 6.828 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000987/1.949, allocations: 267.8 kB / 1.45 GB, free: 6.566 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.01945/1.969, allocations: 8.206 MB / 1.458 GB, free: 14.39 MB / 1.17 GB Notification: Performance of sort global known variables: time 6.91e-07/1.969, allocations: 0 / 1.458 GB, free: 14.39 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0212/1.99, allocations: 4.912 MB / 1.463 GB, free: 9.465 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 59 * Number of states: 42 (pip.pipSeg[1].del.x,pip.pipSeg[1].timDel.x,pip.pipSeg[1].vol_b.dynBal.U,pip.pipSeg[1].vol_a.dynBal.U,pip.pipSeg[2].del.x,pip.pipSeg[2].timDel.x,pip.pipSeg[2].vol_b.dynBal.U,pip.pipSeg[2].vol_a.dynBal.U,pip.pipSeg[3].del.x,pip.pipSeg[3].timDel.x,pip.pipSeg[3].vol_b.dynBal.U,pip.pipSeg[3].vol_a.dynBal.U,pip.pipSeg[4].del.x,pip.pipSeg[4].timDel.x,pip.pipSeg[4].vol_b.dynBal.U,pip.pipSeg[4].vol_a.dynBal.U,pip.pipSeg[5].del.x,pip.pipSeg[5].timDel.x,pip.pipSeg[5].vol_b.dynBal.U,pip.pipSeg[5].vol_a.dynBal.U,pip.pipSeg[6].del.x,pip.pipSeg[6].timDel.x,pip.pipSeg[6].vol_b.dynBal.U,pip.pipSeg[6].vol_a.dynBal.U,pip.pipSeg[7].del.x,pip.pipSeg[7].timDel.x,pip.pipSeg[7].vol_b.dynBal.U,pip.pipSeg[7].vol_a.dynBal.U,pip.pipSeg[8].del.x,pip.pipSeg[8].timDel.x,pip.pipSeg[8].vol_b.dynBal.U,pip.pipSeg[8].vol_a.dynBal.U,pip.pipSeg[9].del.x,pip.pipSeg[9].timDel.x,pip.pipSeg[9].vol_b.dynBal.U,pip.pipSeg[9].vol_a.dynBal.U,pip.pipSeg[10].del.x,pip.pipSeg[10].timDel.x,pip.pipSeg[10].vol_b.dynBal.U,pip.pipSeg[10].vol_a.dynBal.U,senTemOut.T,senTemIn.T) * 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 (536): * Single equations (assignments): 450 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 86 * 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.003528/1.994, allocations: 0.8002 MB / 1.464 GB, free: 8.699 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.1048/2.098, allocations: 22.88 MB / 1.486 GB, free: 1.551 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.894e-05/2.098, allocations: 8.75 kB / 1.486 GB, free: 1.543 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.01379/2.112, allocations: 4.231 MB / 1.49 GB, free: 13.19 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05829/2.171, allocations: 6.265 MB / 1.496 GB, free: 7.109 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08657/2.257, allocations: 24.04 MB / 1.52 GB, free: 14.85 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02111/2.278, allocations: 7.343 MB / 1.527 GB, free: 7.473 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006359/2.285, allocations: 0.8818 MB / 1.528 GB, free: 6.59 MB / 1.232 GB Notification: Performance of SimCode: time 1.513e-06/2.285, allocations: 0 / 1.528 GB, free: 6.59 MB / 1.232 GB Notification: Performance of Templates: time 1.151/3.436, allocations: 203.3 MB / 1.726 GB, free: 262.2 MB / 1.233 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.makefile make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.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 OMCppBuildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedCalcHelperMain.o OMCppBuildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedCalcHelperMain.cpp In file included from OMCppBuildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedCalcHelperMain.cpp:29: ./OMCppBuildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:2720:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp126; ^ ./OMCppBuildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:2726:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(19, _simTime, _simTime, __z[19], (_pip_P_pipSeg10_P_timDel_P_u_ >= 0.0), tmp124, tmp125, tmp126); ~~~~~~~~~~ ^ ./OMCppBuildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:2766:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp129; ^ ./OMCppBuildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:2772:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(18, _pip_P_pipSeg10_P_port_a_P_h_outflow_, _senTemOut_P_port_b_P_h_outflow_, division(__z[9],_pip_P_pipSeg10_P_del_P_length_,!_initial,"pip.pipSeg[10].del.length"), (_pip_P_pipSeg10_P_v_ >= 0.0), tmp127, tmp128, tmp129); ~~~~~~~~~~ ^ ./OMCppBuildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3098:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp149; ^ ./OMCppBuildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3104:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(17, _simTime, _simTime, __z[18], (_pip_P_pipSeg9_P_timDel_P_u_ >= 0.0), tmp147, tmp148, tmp149); ~~~~~~~~~~ ^ ./OMCppBuildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3144:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp152; ^ ./OMCppBuildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3150:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(16, _pip_P_pipSeg9_P_port_a_P_h_outflow_, _pip_P_pipSeg9_P_port_b_P_h_outflow_, division(__z[8],_pip_P_pipSeg9_P_del_P_length_,!_initial,"pip.pipSeg[9].del.length"), (_pip_P_pipSeg9_P_v_ >= 0.0), tmp150, tmp151, tmp152); ~~~~~~~~~~ ^ ./OMCppBuildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3476:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp172; ^ ./OMCppBuildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3482:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(15, _simTime, _simTime, __z[17], (_pip_P_pipSeg8_P_timDel_P_u_ >= 0.0), tmp170, tmp171, tmp172); ~~~~~~~~~~ ^ ./OMCppBuildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3522:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp175; ^ ./OMCppBuildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3528:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(14, _pip_P_pipSeg8_P_port_a_P_h_outflow_, _pip_P_pipSeg8_P_port_b_P_h_outflow_, division(__z[7],_pip_P_pipSeg8_P_del_P_length_,!_initial,"pip.pipSeg[8].del.length"), (_pip_P_pipSeg8_P_v_ >= 0.0), tmp173, tmp174, tmp175); ~~~~~~~~~~ ^ ./OMCppBuildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3854:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp195; ^ ./OMCppBuildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3860:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(13, _simTime, _simTime, __z[16], (_pip_P_pipSeg7_P_timDel_P_u_ >= 0.0), tmp193, tmp194, tmp195); ~~~~~~~~~~ ^ ./OMCppBuildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3900:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp198; ^ ./OMCppBuildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3906:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(12, _pip_P_pipSeg7_P_port_a_P_h_outflow_, _pip_P_pipSeg7_P_port_b_P_h_outflow_, division(__z[6],_pip_P_pipSeg7_P_del_P_length_,!_initial,"pip.pipSeg[7].del.length"), (_pip_P_pipSeg7_P_v_ >= 0.0), tmp196, tmp197, tmp198); ~~~~~~~~~~ ^ ./OMCppBuildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:4232:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp218; ^ ./OMCppBuildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:4238:15: error: no member named 'spatialDistribution' in 'Functions' _functions->spatialDistribution(11, _simTime, _simTime, __z[15], (_pip_P_pipSeg6_P_timDel_P_u_ >= 0.0), tmp216, tmp217, tmp218); ~~~~~~~~~~ ^ ./OMCppBuildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:4278:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp221; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppBuildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedCalcHelperMain.o] Error 1