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.001373/0.001373, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001401/0.001401, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.392/1.392, 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.531/2.531, allocations: 437.1 MB / 0.711 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 67.11 kB / 0.8699 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3395, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized): time 0.6842/1.024, allocations: 66.54 MB / 1.083 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02584/1.05, allocations: 16.75 MB / 1.099 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004067/1.054, allocations: 65.44 kB / 1.099 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002949/1.057, allocations: 0.8119 MB / 1.1 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.009834/1.067, allocations: 2.555 MB / 1.103 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.006134/1.073, allocations: 1.802 MB / 1.104 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.05803/1.131, allocations: 35.78 MB / 1.139 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03002/1.161, allocations: 15.78 MB / 1.155 GB, free: 6.73 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02948/1.19, allocations: 11.74 MB / 1.166 GB, free: 15 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0218/1.212, allocations: 9.7 MB / 1.176 GB, free: 6 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.006311/1.219, allocations: 1.453 MB / 1.177 GB, free: 4.547 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01664/1.235, allocations: 3.174 MB / 1.18 GB, free: 1.465 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.007866/1.243, allocations: 3.29 MB / 1.183 GB, free: 14.24 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.01965/1.263, allocations: 7.306 MB / 1.191 GB, free: 6.973 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.03385/1.297, allocations: 21.74 MB / 1.212 GB, free: 1.684 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/1.297, allocations: 0 / 1.212 GB, free: 1.684 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.944e-06/1.297, allocations: 0 / 1.212 GB, free: 1.684 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0007634/1.298, allocations: 0 / 1.212 GB, free: 1.684 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.04325/1.341, allocations: 13.13 MB / 1.225 GB, free: 4.555 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.777e-05/1.341, allocations: 12.88 kB / 1.225 GB, free: 4.543 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007974/1.349, allocations: 1.292 MB / 1.226 GB, free: 3.238 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02895/1.378, allocations: 12.58 MB / 1.238 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000706/1.379, allocations: 0.5255 MB / 1.239 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003598/1.382, allocations: 0.7235 MB / 1.239 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0338/1.416, allocations: 11.21 MB / 1.25 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005114/1.417, allocations: 35.78 kB / 1.25 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003208/1.42, allocations: 299.1 kB / 1.251 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003715/1.42, allocations: 219.9 kB / 1.251 GB, free: 9.539 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02525/1.446, allocations: 9.249 MB / 1.26 GB, free: 280 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.09463/1.54, allocations: 52.5 MB / 1.311 GB, free: 8.73 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009985/1.55, allocations: 4.861 MB / 1.316 GB, free: 3.922 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005449/1.556, allocations: 2.829 MB / 1.319 GB, free: 1.086 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002049/1.558, allocations: 1.715 MB / 1.32 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001289/1.558, allocations: 86.27 kB / 1.32 GB, free: 14.96 MB / 1.029 GB Notification: Performance of pre-optimization done (n=420): time 9.598e-06/1.558, allocations: 4 kB / 1.32 GB, free: 14.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=420): time 0.01901/1.577, allocations: 7.819 MB / 1.328 GB, free: 7.105 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/1.577, allocations: 90.55 kB / 1.328 GB, free: 7.004 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02264/1.6, allocations: 10.47 MB / 1.338 GB, free: 12.57 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.001215/1.601, allocations: 109.7 kB / 1.338 GB, free: 12.46 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.005785/1.607, allocations: 4.715 MB / 1.343 GB, free: 7.727 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.002998/1.61, allocations: 1.483 MB / 1.345 GB, free: 6.254 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004069/1.614, allocations: 1.103 MB / 1.346 GB, free: 5.141 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001076/1.614, allocations: 301.1 kB / 1.346 GB, free: 4.844 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005518/1.62, allocations: 2.688 MB / 1.349 GB, free: 2.141 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0069/1.627, allocations: 4.193 MB / 1.353 GB, free: 13.29 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01312/1.64, allocations: 7.413 MB / 1.36 GB, free: 5.215 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.467e-05/1.64, allocations: 20 kB / 1.36 GB, free: 5.195 MB / 1.061 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01974/1.66, allocations: 7.983 MB / 1.368 GB, free: 13.19 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.931e-05/1.66, allocations: 24 kB / 1.368 GB, free: 13.17 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002065/1.66, allocations: 71.92 kB / 1.368 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.326e-05/1.66, allocations: 79.94 kB / 1.368 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004802/1.665, allocations: 1.214 MB / 1.369 GB, free: 11.8 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001225/1.665, allocations: 103.6 kB / 1.369 GB, free: 11.7 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007628/1.673, allocations: 0.6896 MB / 1.37 GB, free: 11.01 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001223/1.674, allocations: 283.9 kB / 1.37 GB, free: 10.73 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01257/1.686, allocations: 6.436 MB / 1.376 GB, free: 4.281 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006924/1.693, allocations: 4.201 MB / 1.38 GB, free: 15.42 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0129/1.706, allocations: 7.401 MB / 1.388 GB, free: 7.359 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.922e-05/1.706, allocations: 20 kB / 1.388 GB, free: 7.34 MB / 1.092 GB Notification: Performance of matching and sorting (n=694) (initialization_lambda0): time 0.02116/1.728, allocations: 7.983 MB / 1.395 GB, free: 15.34 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.087e-05/1.728, allocations: 24 kB / 1.396 GB, free: 15.31 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001716/1.728, allocations: 67.98 kB / 1.396 GB, free: 15.25 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.041e-05/1.728, allocations: 80.69 kB / 1.396 GB, free: 15.17 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004572/1.733, allocations: 1.201 MB / 1.397 GB, free: 13.96 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001231/1.733, allocations: 107.6 kB / 1.397 GB, free: 13.86 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007496/1.74, allocations: 0.5778 MB / 1.397 GB, free: 13.28 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001108/1.741, allocations: 287.9 kB / 1.398 GB, free: 13 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.001477/1.743, allocations: 0.5063 MB / 1.398 GB, free: 12.48 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003325/1.746, allocations: 0.8451 MB / 1.399 GB, free: 11.62 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01763/1.764, allocations: 8.922 MB / 1.408 GB, free: 2.738 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001013/1.764, allocations: 75.95 kB / 1.408 GB, free: 2.664 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.478e-05/1.764, allocations: 0 / 1.408 GB, free: 2.664 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01137/1.775, allocations: 6.113 MB / 1.414 GB, free: 12.47 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05041/1.826, allocations: 20.63 MB / 1.434 GB, free: 7.598 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002385/1.826, allocations: 31.98 kB / 1.434 GB, free: 7.566 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004739/1.831, allocations: 0.9483 MB / 1.435 GB, free: 6.617 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001085/1.831, allocations: 36 kB / 1.435 GB, free: 6.582 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001296/1.832, allocations: 203.8 kB / 1.435 GB, free: 6.383 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.437e-05/1.832, allocations: 35.94 kB / 1.435 GB, free: 6.348 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-05/1.832, allocations: 19.94 kB / 1.435 GB, free: 6.328 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02605/1.858, allocations: 11.62 MB / 1.447 GB, free: 10.3 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007032/1.866, allocations: 2.346 MB / 1.449 GB, free: 7.922 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003706/1.869, allocations: 147.9 kB / 1.449 GB, free: 7.777 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007773/1.877, allocations: 327.4 kB / 1.449 GB, free: 7.457 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001459/1.879, allocations: 446.8 kB / 1.45 GB, free: 7.02 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001241/1.88, allocations: 271.8 kB / 1.45 GB, free: 6.754 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.02018/1.9, allocations: 8.204 MB / 1.458 GB, free: 14.57 MB / 1.17 GB Notification: Performance of sort global known variables: time 9.02e-07/1.9, allocations: 0 / 1.458 GB, free: 14.57 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0206/1.921, allocations: 4.908 MB / 1.463 GB, free: 9.656 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.002774/1.923, allocations: 0.7973 MB / 1.464 GB, free: 8.895 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.05489/1.978, allocations: 22.88 MB / 1.486 GB, free: 1.746 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.107e-05/1.978, allocations: 5.562 kB / 1.486 GB, free: 1.742 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.007116/1.986, allocations: 4.239 MB / 1.49 GB, free: 13.38 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03368/2.019, allocations: 6.255 MB / 1.496 GB, free: 7.305 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05215/2.072, allocations: 24.06 MB / 1.52 GB, free: 15.04 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01385/2.085, allocations: 7.336 MB / 1.527 GB, free: 7.664 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003908/2.089, allocations: 0.8856 MB / 1.528 GB, free: 6.777 MB / 1.232 GB Notification: Performance of SimCode: time 1.002e-06/2.089, allocations: 0 / 1.528 GB, free: 6.777 MB / 1.232 GB Notification: Performance of Templates: time 1.203/3.292, allocations: 203.3 MB / 1.726 GB, free: 262.5 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