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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001228/0.001228, allocations: 103.5 kB / 16.27 MB, free: 6.418 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.00123/0.00123, allocations: 190.1 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.35/1.35, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.627/2.627, allocations: 482.4 MB / 0.7553 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 68.83 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7742/0.7761, allocations: 162.2 MB / 1.083 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized): time 0.07329/0.8494, allocations: 66.65 MB / 1.148 GB, free: 1.617 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02524/0.8747, allocations: 16.75 MB / 1.164 GB, free: 3.973 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003402/0.8781, allocations: 68.97 kB / 1.164 GB, free: 3.945 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002808/0.8811, allocations: 0.81 MB / 1.165 GB, free: 3.238 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.008132/0.8892, allocations: 2.534 MB / 1.168 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005582/0.8948, allocations: 1.801 MB / 1.169 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.04218/0.937, allocations: 35.73 MB / 1.204 GB, free: 2.309 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0209/0.9579, allocations: 15.78 MB / 1.22 GB, free: 2.395 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02404/0.982, allocations: 11.86 MB / 1.231 GB, free: 6.555 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01676/0.9988, allocations: 9.555 MB / 1.241 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.004265/1.003, allocations: 1.453 MB / 1.242 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01132/1.014, allocations: 3.177 MB / 1.245 GB, free: 8.332 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.006457/1.021, allocations: 3.291 MB / 1.248 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.01791/1.039, allocations: 7.326 MB / 1.256 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.02898/1.068, allocations: 21.83 MB / 1.277 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/1.068, allocations: 0 / 1.277 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.363e-06/1.068, allocations: 4 kB / 1.277 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0005978/1.069, allocations: 0 / 1.277 GB, free: 7.781 MB / 0.9981 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.03654/1.105, allocations: 13.13 MB / 1.29 GB, free: 10.53 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/1.105, allocations: 8.031 kB / 1.29 GB, free: 10.52 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00678/1.112, allocations: 1.287 MB / 1.291 GB, free: 9.223 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02935/1.141, allocations: 12.6 MB / 1.303 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005943/1.142, allocations: 0.5294 MB / 1.304 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003025/1.145, allocations: 0.7029 MB / 1.304 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02824/1.173, allocations: 11.21 MB / 1.315 GB, free: 15.79 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002354/1.174, allocations: 35.69 kB / 1.315 GB, free: 15.75 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001157/1.175, allocations: 299.9 kB / 1.316 GB, free: 15.46 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002357/1.175, allocations: 223.9 kB / 1.316 GB, free: 15.25 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02093/1.196, allocations: 9.249 MB / 1.325 GB, free: 5.98 MB / 1.045 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.09257/1.289, allocations: 54.14 MB / 1.378 GB, free: 12.06 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01053/1.299, allocations: 4.857 MB / 1.383 GB, free: 7.191 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005944/1.305, allocations: 2.825 MB / 1.385 GB, free: 4.363 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002231/1.307, allocations: 1.719 MB / 1.387 GB, free: 2.293 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000131/1.308, allocations: 90.2 kB / 1.387 GB, free: 2.195 MB / 1.107 GB Notification: Performance of pre-optimization done (n=420): time 1.191e-05/1.308, allocations: 0 / 1.387 GB, free: 2.195 MB / 1.107 GB Notification: Performance of matching and sorting (n=420): time 0.02162/1.329, allocations: 7.819 MB / 1.395 GB, free: 10.35 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.595e-05/1.329, allocations: 102.4 kB / 1.395 GB, free: 10.24 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02639/1.356, allocations: 10.46 MB / 1.405 GB, free: 15.82 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.001163/1.357, allocations: 113.7 kB / 1.405 GB, free: 15.7 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.007383/1.364, allocations: 4.717 MB / 1.41 GB, free: 10.95 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.00339/1.368, allocations: 1.486 MB / 1.411 GB, free: 9.438 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004084/1.372, allocations: 1.099 MB / 1.412 GB, free: 8.328 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001477/1.372, allocations: 305.1 kB / 1.413 GB, free: 8.027 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005734/1.378, allocations: 2.68 MB / 1.415 GB, free: 5.332 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007702/1.385, allocations: 4.201 MB / 1.419 GB, free: 484 kB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01383/1.399, allocations: 7.405 MB / 1.427 GB, free: 8.406 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.978e-05/1.399, allocations: 16 kB / 1.427 GB, free: 8.391 MB / 1.154 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.02059/1.42, allocations: 7.988 MB / 1.434 GB, free: 392 kB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 7.271e-05/1.42, allocations: 33.44 kB / 1.434 GB, free: 360 kB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002458/1.42, allocations: 75.97 kB / 1.434 GB, free: 284 kB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001035/1.421, allocations: 72 kB / 1.435 GB, free: 212 kB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004825/1.425, allocations: 1.205 MB / 1.436 GB, free: 15 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001486/1.426, allocations: 99.66 kB / 1.436 GB, free: 14.9 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007495/1.433, allocations: 0.6856 MB / 1.436 GB, free: 14.21 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001228/1.434, allocations: 279.9 kB / 1.437 GB, free: 13.94 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01276/1.447, allocations: 6.441 MB / 1.443 GB, free: 7.48 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007177/1.454, allocations: 4.204 MB / 1.447 GB, free: 2.609 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01293/1.467, allocations: 7.405 MB / 1.454 GB, free: 10.55 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.257e-05/1.467, allocations: 16 kB / 1.454 GB, free: 10.53 MB / 1.186 GB Notification: Performance of matching and sorting (n=694) (initialization_lambda0): time 0.01933/1.487, allocations: 7.984 MB / 1.462 GB, free: 2.527 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 5.514e-05/1.487, allocations: 24 kB / 1.462 GB, free: 2.504 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002238/1.487, allocations: 75.91 kB / 1.462 GB, free: 2.43 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001084/1.487, allocations: 79.98 kB / 1.462 GB, free: 2.352 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00471/1.492, allocations: 1.205 MB / 1.464 GB, free: 1.145 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001456/1.492, allocations: 103.7 kB / 1.464 GB, free: 1.043 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007407/1.499, allocations: 0.5818 MB / 1.464 GB, free: 468 kB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001183/1.501, allocations: 275.9 kB / 1.464 GB, free: 192 kB / 1.186 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.002083/1.503, allocations: 0.5064 MB / 1.465 GB, free: 15.67 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003661/1.506, allocations: 0.8452 MB / 1.466 GB, free: 14.81 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02048/1.527, allocations: 8.924 MB / 1.475 GB, free: 5.922 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001296/1.527, allocations: 87.94 kB / 1.475 GB, free: 5.836 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.647e-05/1.527, allocations: 0 / 1.475 GB, free: 5.836 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01234/1.539, allocations: 6.102 MB / 1.481 GB, free: 15.65 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04721/1.587, allocations: 20.64 MB / 1.501 GB, free: 10.64 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001993/1.587, allocations: 44.03 kB / 1.501 GB, free: 10.59 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004219/1.591, allocations: 0.9323 MB / 1.502 GB, free: 9.66 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.305e-05/1.591, allocations: 35.94 kB / 1.502 GB, free: 9.625 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008422/1.592, allocations: 191.9 kB / 1.502 GB, free: 9.438 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.271e-05/1.592, allocations: 47.8 kB / 1.502 GB, free: 9.391 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-05/1.592, allocations: 19.94 kB / 1.502 GB, free: 9.371 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02283/1.615, allocations: 11.62 MB / 1.513 GB, free: 13.34 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006382/1.621, allocations: 2.354 MB / 1.516 GB, free: 10.95 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003044/1.624, allocations: 136 kB / 1.516 GB, free: 10.82 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006822/1.631, allocations: 331.4 kB / 1.516 GB, free: 10.5 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001296/1.633, allocations: 454.8 kB / 1.516 GB, free: 10.05 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001024/1.634, allocations: 271.8 kB / 1.517 GB, free: 9.785 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0178/1.651, allocations: 8.197 MB / 1.525 GB, free: 1.613 MB / 1.248 GB Notification: Performance of sort global known variables: time 4.5e-07/1.652, allocations: 0 / 1.525 GB, free: 1.613 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.01851/1.67, allocations: 4.935 MB / 1.53 GB, free: 12.67 MB / 1.264 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.002661/1.673, allocations: 0.7899 MB / 1.53 GB, free: 11.89 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.9265/2.599, allocations: 22.89 MB / 1.553 GB, free: 397.9 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 2.921e-05/2.599, allocations: 6.125 kB / 1.553 GB, free: 397.9 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.006571/2.606, allocations: 4.228 MB / 1.557 GB, free: 396.1 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03062/2.637, allocations: 6.266 MB / 1.563 GB, free: 394.6 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04262/2.679, allocations: 24.04 MB / 1.586 GB, free: 383.7 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01063/2.69, allocations: 7.339 MB / 1.594 GB, free: 381.2 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003409/2.693, allocations: 0.8832 MB / 1.594 GB, free: 381.1 MB / 1.264 GB Notification: Performance of SimCode: time 1.413e-06/2.693, allocations: 0 / 1.594 GB, free: 381.1 MB / 1.264 GB Notification: Performance of Templates: time 0.2396/2.933, allocations: 203.3 MB / 1.793 GB, free: 191.9 MB / 1.264 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