Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(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_latest_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_latest_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.001753/0.001758, allocations: 110.7 kB / 16.41 MB, free: 6.496 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.002351/0.002351, allocations: 183 kB / 17.34 MB, free: 5.766 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.639/2.639, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 64.11 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024/1.026, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized): time 0.06744/1.093, allocations: 66.54 MB / 1.273 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02522/1.119, allocations: 16.76 MB / 1.29 GB, free: 10.04 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003972/1.123, allocations: 71.62 kB / 1.29 GB, free: 9.965 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003466/1.126, allocations: 0.8347 MB / 1.291 GB, free: 9.125 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0109/1.137, allocations: 2.679 MB / 1.293 GB, free: 6.438 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005661/1.143, allocations: 1.826 MB / 1.295 GB, free: 4.617 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.05001/1.193, allocations: 35.85 MB / 1.33 GB, free: 0.6836 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02903/1.222, allocations: 15.78 MB / 1.345 GB, free: 0.7734 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02956/1.251, allocations: 11.98 MB / 1.357 GB, free: 4.816 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.021/1.272, allocations: 9.695 MB / 1.367 GB, free: 11.08 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.005982/1.279, allocations: 1.453 MB / 1.368 GB, free: 9.629 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01453/1.293, allocations: 3.184 MB / 1.371 GB, free: 6.441 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.008152/1.301, allocations: 3.279 MB / 1.374 GB, free: 3.152 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.02019/1.322, allocations: 7.31 MB / 1.381 GB, free: 11.81 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0348/1.356, allocations: 21.95 MB / 1.403 GB, free: 5.801 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/1.356, allocations: 0 / 1.403 GB, free: 5.801 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.314e-06/1.356, allocations: 0 / 1.403 GB, free: 5.801 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0008165/1.357, allocations: 0 / 1.403 GB, free: 5.801 MB / 1.123 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.04541/1.403, allocations: 13.13 MB / 1.416 GB, free: 8.551 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 6.331e-05/1.403, allocations: 8.031 kB / 1.416 GB, free: 8.543 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009293/1.412, allocations: 1.287 MB / 1.417 GB, free: 7.242 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0327/1.445, allocations: 12.96 MB / 1.43 GB, free: 10.18 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007419/1.446, allocations: 0.5255 MB / 1.43 GB, free: 9.652 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004146/1.45, allocations: 0.7146 MB / 1.431 GB, free: 8.938 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03457/1.484, allocations: 11.21 MB / 1.442 GB, free: 13.44 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002994/1.485, allocations: 31.69 kB / 1.442 GB, free: 13.41 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002248/1.487, allocations: 304 kB / 1.442 GB, free: 13.11 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002376/1.487, allocations: 227.8 kB / 1.442 GB, free: 12.89 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02156/1.509, allocations: 9.257 MB / 1.451 GB, free: 3.617 MB / 1.17 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.08637/1.595, allocations: 52.13 MB / 1.502 GB, free: 12.08 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009399/1.605, allocations: 4.857 MB / 1.507 GB, free: 7.215 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005301/1.61, allocations: 2.821 MB / 1.51 GB, free: 4.387 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002033/1.612, allocations: 1.715 MB / 1.511 GB, free: 2.32 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001419/1.612, allocations: 90.2 kB / 1.512 GB, free: 2.223 MB / 1.232 GB Notification: Performance of pre-optimization done (n=420): time 8.145e-06/1.612, allocations: 0 / 1.512 GB, free: 2.223 MB / 1.232 GB Notification: Performance of matching and sorting (n=420): time 0.01945/1.632, allocations: 7.823 MB / 1.519 GB, free: 10.37 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.108e-05/1.632, allocations: 94.55 kB / 1.519 GB, free: 10.27 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02491/1.657, allocations: 10.47 MB / 1.53 GB, free: 15.84 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.001418/1.658, allocations: 109.6 kB / 1.53 GB, free: 15.73 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.006828/1.665, allocations: 4.721 MB / 1.534 GB, free: 10.97 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.00322/1.668, allocations: 1.486 MB / 1.536 GB, free: 9.465 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004255/1.673, allocations: 1.103 MB / 1.537 GB, free: 8.352 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 9.519e-05/1.673, allocations: 301.1 kB / 1.537 GB, free: 8.055 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005074/1.678, allocations: 2.68 MB / 1.54 GB, free: 5.359 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006209/1.684, allocations: 4.201 MB / 1.544 GB, free: 0.4961 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01219/1.696, allocations: 7.413 MB / 1.551 GB, free: 8.422 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.908e-05/1.696, allocations: 12 kB / 1.551 GB, free: 8.41 MB / 1.279 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01973/1.716, allocations: 7.98 MB / 1.559 GB, free: 420 kB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 7.325e-05/1.716, allocations: 31.94 kB / 1.559 GB, free: 388 kB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002841/1.717, allocations: 79.91 kB / 1.559 GB, free: 308 kB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001253/1.717, allocations: 80.03 kB / 1.559 GB, free: 228 kB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.8441/2.561, allocations: 1.191 MB / 1.56 GB, free: 318.8 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000279/2.561, allocations: 105 kB / 1.56 GB, free: 318.8 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009729/2.571, allocations: 0.6843 MB / 1.561 GB, free: 318.8 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001762/2.573, allocations: 282.1 kB / 1.561 GB, free: 318.8 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01562/2.588, allocations: 6.436 MB / 1.567 GB, free: 318.7 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006631/2.595, allocations: 4.199 MB / 1.572 GB, free: 316 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01144/2.606, allocations: 7.409 MB / 1.579 GB, free: 311.8 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.73e-05/2.607, allocations: 15.84 kB / 1.579 GB, free: 311.8 MB / 1.279 GB Notification: Performance of matching and sorting (n=694) (initialization_lambda0): time 0.01791/2.624, allocations: 7.978 MB / 1.587 GB, free: 309.2 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 5.669e-05/2.625, allocations: 23.97 kB / 1.587 GB, free: 309.2 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002039/2.625, allocations: 82.73 kB / 1.587 GB, free: 309.2 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.237e-05/2.625, allocations: 76.39 kB / 1.587 GB, free: 309.2 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004511/2.629, allocations: 1.204 MB / 1.588 GB, free: 309.1 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.609e-05/2.63, allocations: 109.7 kB / 1.588 GB, free: 309 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00806/2.638, allocations: 0.5783 MB / 1.589 GB, free: 309 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001046/2.639, allocations: 278.5 kB / 1.589 GB, free: 308.9 MB / 1.279 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.002005/2.641, allocations: 0.5089 MB / 1.589 GB, free: 308.5 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003956/2.645, allocations: 0.8485 MB / 1.59 GB, free: 308.5 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01822/2.663, allocations: 8.91 MB / 1.599 GB, free: 305.5 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.571e-05/2.663, allocations: 75.45 kB / 1.599 GB, free: 305.5 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-05/2.663, allocations: 0 / 1.599 GB, free: 305.5 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01177/2.675, allocations: 6.105 MB / 1.605 GB, free: 300.7 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04408/2.719, allocations: 20.64 MB / 1.625 GB, free: 280.6 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001208/2.719, allocations: 39.97 kB / 1.625 GB, free: 280.5 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004229/2.723, allocations: 0.9443 MB / 1.626 GB, free: 279.6 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.787e-05/2.723, allocations: 32 kB / 1.626 GB, free: 279.6 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005834/2.724, allocations: 192.6 kB / 1.626 GB, free: 279.4 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.964e-05/2.724, allocations: 43.92 kB / 1.626 GB, free: 279.3 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.311e-05/2.724, allocations: 23.88 kB / 1.626 GB, free: 279.3 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01899/2.743, allocations: 11.61 MB / 1.638 GB, free: 267.3 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007598/2.751, allocations: 2.353 MB / 1.64 GB, free: 264.9 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003706/2.754, allocations: 136 kB / 1.64 GB, free: 264.8 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008227/2.763, allocations: 339.3 kB / 1.64 GB, free: 264.5 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001084/2.764, allocations: 446.8 kB / 1.641 GB, free: 264.1 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000767/2.765, allocations: 271.8 kB / 1.641 GB, free: 263.8 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.01831/2.783, allocations: 8.208 MB / 1.649 GB, free: 255.6 MB / 1.279 GB Notification: Performance of sort global known variables: time 7.82e-07/2.783, allocations: 0.5469 kB / 1.649 GB, free: 255.6 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.02436/2.807, allocations: 4.909 MB / 1.654 GB, free: 250.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.003037/2.81, allocations: 0.7904 MB / 1.655 GB, free: 250 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.02038/2.831, allocations: 11.35 MB / 1.666 GB, free: 238.4 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 2.874e-05/2.831, allocations: 4.562 kB / 1.666 GB, free: 238.4 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.006907/2.838, allocations: 4.239 MB / 1.67 GB, free: 234.1 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04786/2.886, allocations: 6.216 MB / 1.676 GB, free: 228 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08456/2.97, allocations: 23.8 MB / 1.699 GB, free: 204 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02347/2.994, allocations: 7.332 MB / 1.706 GB, free: 196.7 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007226/3.001, allocations: 0.8895 MB / 1.707 GB, free: 195.8 MB / 1.279 GB Notification: Performance of SimCode: time 2.635e-06/3.001, allocations: 4 kB / 1.707 GB, free: 195.8 MB / 1.279 GB Notification: Performance of Templates: time 0.3177/3.319, allocations: 204.5 MB / 1.907 GB, free: 7.879 MB / 1.295 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedCalcHelperMain.cpp In file included from OMCppBuildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedCalcHelperMain.cpp:29: ./OMCppBuildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:2720:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp126; ^ ./OMCppBuildings_latest_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_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:2766:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp129; ^ ./OMCppBuildings_latest_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_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3098:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp149; ^ ./OMCppBuildings_latest_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_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3144:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp152; ^ ./OMCppBuildings_latest_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_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3476:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp172; ^ ./OMCppBuildings_latest_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_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3522:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp175; ^ ./OMCppBuildings_latest_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_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3854:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp195; ^ ./OMCppBuildings_latest_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_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3900:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp198; ^ ./OMCppBuildings_latest_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_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:4232:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp218; ^ ./OMCppBuildings_latest_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_latest_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_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedCalcHelperMain.o] Error 1