Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001346/0.001346, allocations: 104.3 kB / 16.41 MB, free: 6.457 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.001424/0.001424, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.263/2.263, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 63.89 kB / 0.9515 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9148/0.9162, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized): time 0.06995/0.9862, allocations: 66.55 MB / 1.154 GB, free: 5.805 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0268/1.013, allocations: 16.74 MB / 1.17 GB, free: 9.766 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003909/1.017, allocations: 65.56 kB / 1.17 GB, free: 9.742 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003227/1.02, allocations: 0.8154 MB / 1.171 GB, free: 9.215 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.009212/1.03, allocations: 2.544 MB / 1.173 GB, free: 7.695 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00632/1.036, allocations: 1.817 MB / 1.175 GB, free: 6.645 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.05944/1.095, allocations: 35.82 MB / 1.21 GB, free: 1.621 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02706/1.122, allocations: 15.79 MB / 1.225 GB, free: 1.703 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03003/1.153, allocations: 11.96 MB / 1.237 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.021/1.174, allocations: 9.695 MB / 1.247 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.005463/1.179, allocations: 1.453 MB / 1.248 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01535/1.194, allocations: 3.18 MB / 1.251 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.007895/1.202, allocations: 3.279 MB / 1.254 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.02163/1.224, allocations: 7.314 MB / 1.261 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.03499/1.259, allocations: 21.95 MB / 1.283 GB, free: 6.75 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/1.259, allocations: 0 / 1.283 GB, free: 6.75 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.014e-06/1.259, allocations: 0 / 1.283 GB, free: 6.75 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0007451/1.26, allocations: 0 / 1.283 GB, free: 6.75 MB / 1.014 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.04095/1.301, allocations: 13.14 MB / 1.296 GB, free: 9.5 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/1.301, allocations: 8.031 kB / 1.296 GB, free: 9.492 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007772/1.309, allocations: 1.28 MB / 1.297 GB, free: 8.199 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02839/1.337, allocations: 12.97 MB / 1.31 GB, free: 11.13 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005594/1.338, allocations: 0.5333 MB / 1.31 GB, free: 10.6 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002833/1.341, allocations: 0.7184 MB / 1.311 GB, free: 9.879 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0303/1.371, allocations: 11.2 MB / 1.322 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003267/1.371, allocations: 35.67 kB / 1.322 GB, free: 14.35 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002372/1.374, allocations: 304 kB / 1.322 GB, free: 14.05 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002751/1.374, allocations: 219.9 kB / 1.322 GB, free: 13.84 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02205/1.396, allocations: 9.245 MB / 1.331 GB, free: 4.578 MB / 1.061 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.08666/1.483, allocations: 52.13 MB / 1.382 GB, free: 13.04 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008681/1.491, allocations: 4.857 MB / 1.387 GB, free: 8.184 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004636/1.496, allocations: 2.832 MB / 1.39 GB, free: 5.344 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00171/1.498, allocations: 1.707 MB / 1.391 GB, free: 3.285 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.846e-05/1.498, allocations: 90.2 kB / 1.392 GB, free: 3.188 MB / 1.123 GB Notification: Performance of pre-optimization done (n=420): time 6.433e-06/1.498, allocations: 4 kB / 1.392 GB, free: 3.184 MB / 1.123 GB Notification: Performance of matching and sorting (n=420): time 0.01755/1.516, allocations: 7.819 MB / 1.399 GB, free: 11.33 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.91e-05/1.516, allocations: 94.55 kB / 1.399 GB, free: 11.23 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02283/1.539, allocations: 10.47 MB / 1.41 GB, free: 0.8008 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.001367/1.54, allocations: 105.7 kB / 1.41 GB, free: 0.6914 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.006257/1.546, allocations: 4.717 MB / 1.414 GB, free: 11.94 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.003208/1.549, allocations: 1.49 MB / 1.416 GB, free: 10.43 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002145/1.552, allocations: 1.099 MB / 1.417 GB, free: 9.32 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000108/1.552, allocations: 301.1 kB / 1.417 GB, free: 9.023 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004475/1.556, allocations: 2.684 MB / 1.42 GB, free: 6.324 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006141/1.562, allocations: 4.193 MB / 1.424 GB, free: 1.473 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01187/1.574, allocations: 7.413 MB / 1.431 GB, free: 9.395 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.949e-05/1.574, allocations: 15.94 kB / 1.431 GB, free: 9.379 MB / 1.17 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.0183/1.593, allocations: 7.987 MB / 1.439 GB, free: 1.371 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 5.672e-05/1.593, allocations: 37.95 kB / 1.439 GB, free: 1.336 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002261/1.593, allocations: 67.98 kB / 1.439 GB, free: 1.27 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.622e-05/1.593, allocations: 72 kB / 1.439 GB, free: 1.199 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004879/1.598, allocations: 1.206 MB / 1.44 GB, free: 15.99 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001483/1.598, allocations: 103.6 kB / 1.44 GB, free: 15.89 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00783/1.606, allocations: 0.6895 MB / 1.441 GB, free: 15.2 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001417/1.608, allocations: 284 kB / 1.441 GB, free: 14.92 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01283/1.62, allocations: 6.436 MB / 1.447 GB, free: 8.469 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006897/1.627, allocations: 4.204 MB / 1.452 GB, free: 3.602 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01249/1.64, allocations: 7.409 MB / 1.459 GB, free: 11.54 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.04e-05/1.64, allocations: 16 kB / 1.459 GB, free: 11.52 MB / 1.201 GB Notification: Performance of matching and sorting (n=694) (initialization_lambda0): time 0.01964/1.66, allocations: 7.983 MB / 1.467 GB, free: 3.516 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 5.619e-05/1.66, allocations: 24 kB / 1.467 GB, free: 3.492 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002515/1.66, allocations: 79.91 kB / 1.467 GB, free: 3.414 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.565e-05/1.66, allocations: 72 kB / 1.467 GB, free: 3.344 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005/1.665, allocations: 1.21 MB / 1.468 GB, free: 2.133 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001491/1.665, allocations: 103.6 kB / 1.468 GB, free: 2.031 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007703/1.673, allocations: 0.578 MB / 1.469 GB, free: 1.449 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001422/1.674, allocations: 283.9 kB / 1.469 GB, free: 1.172 MB / 1.201 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.002197/1.677, allocations: 0.5069 MB / 1.469 GB, free: 0.6562 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003695/1.68, allocations: 0.8452 MB / 1.47 GB, free: 15.8 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01857/1.699, allocations: 8.911 MB / 1.479 GB, free: 6.918 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.517e-05/1.699, allocations: 79.95 kB / 1.479 GB, free: 6.84 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.49e-05/1.699, allocations: 0 / 1.479 GB, free: 6.84 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01221/1.711, allocations: 6.106 MB / 1.485 GB, free: 0.6484 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04548/1.757, allocations: 20.63 MB / 1.505 GB, free: 11.64 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000144/1.757, allocations: 43.97 kB / 1.505 GB, free: 11.6 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004173/1.761, allocations: 0.9402 MB / 1.506 GB, free: 10.66 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.214e-05/1.761, allocations: 31.94 kB / 1.506 GB, free: 10.63 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000815/1.762, allocations: 191.9 kB / 1.506 GB, free: 10.44 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.033e-05/1.762, allocations: 39.88 kB / 1.506 GB, free: 10.4 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.667e-05/1.762, allocations: 19.94 kB / 1.506 GB, free: 10.38 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02173/1.784, allocations: 11.62 MB / 1.518 GB, free: 14.35 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008374/1.792, allocations: 2.35 MB / 1.52 GB, free: 11.97 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004432/1.797, allocations: 152 kB / 1.52 GB, free: 11.82 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008666/1.806, allocations: 323.5 kB / 1.52 GB, free: 11.5 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001565/1.807, allocations: 450.8 kB / 1.521 GB, free: 11.06 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001153/1.808, allocations: 267.8 kB / 1.521 GB, free: 10.8 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.01874/1.827, allocations: 8.2 MB / 1.529 GB, free: 2.625 MB / 1.264 GB Notification: Performance of sort global known variables: time 7.51e-07/1.827, allocations: 0 / 1.529 GB, free: 2.625 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.02122/1.848, allocations: 4.912 MB / 1.534 GB, free: 13.7 MB / 1.279 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.002931/1.851, allocations: 0.796 MB / 1.535 GB, free: 12.91 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.02124/1.873, allocations: 11.35 MB / 1.546 GB, free: 1.301 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 2.065e-05/1.873, allocations: 8.562 kB / 1.546 GB, free: 1.293 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.00705/1.88, allocations: 4.233 MB / 1.55 GB, free: 12.94 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03215/1.912, allocations: 6.233 MB / 1.556 GB, free: 6.883 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.361/3.273, allocations: 23.78 MB / 1.579 GB, free: 406.6 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01489/3.288, allocations: 7.334 MB / 1.586 GB, free: 405.7 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004306/3.292, allocations: 0.8847 MB / 1.587 GB, free: 405.7 MB / 1.311 GB Notification: Performance of SimCode: time 1.523e-06/3.293, allocations: 0.5 kB / 1.587 GB, free: 405.7 MB / 1.311 GB Notification: Performance of Templates: time 0.3133/3.606, allocations: 204.5 MB / 1.787 GB, free: 260 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.makefile make -j1 -f Buildings_9_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_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedCalcHelperMain.cpp In file included from OMCppBuildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedCalcHelperMain.cpp:29: ./OMCppBuildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:2720:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp126; ^ ./OMCppBuildings_9_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_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:2766:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp129; ^ ./OMCppBuildings_9_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_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3098:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp149; ^ ./OMCppBuildings_9_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_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3144:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp152; ^ ./OMCppBuildings_9_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_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3476:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp172; ^ ./OMCppBuildings_9_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_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3522:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp175; ^ ./OMCppBuildings_9_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_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3854:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp195; ^ ./OMCppBuildings_9_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_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3900:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp198; ^ ./OMCppBuildings_9_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_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:4232:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp218; ^ ./OMCppBuildings_9_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_9_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_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedCalcHelperMain.o] Error 1