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.001225/0.001225, allocations: 108.9 kB / 16.41 MB, free: 6.465 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.001192/0.001192, allocations: 187 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.474/1.474, allocations: 222.9 MB / 241 MB, free: 15.08 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.532/2.532, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 59.84 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9883/0.9898, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized): time 0.06737/1.057, allocations: 66.57 MB / 1.232 GB, free: 1.039 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02352/1.081, allocations: 16.75 MB / 1.249 GB, free: 252 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002658/1.084, allocations: 63.62 kB / 1.249 GB, free: 188 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002644/1.086, allocations: 0.8426 MB / 1.25 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.007759/1.094, allocations: 2.678 MB / 1.252 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004975/1.099, allocations: 1.82 MB / 1.254 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.04397/1.143, allocations: 35.84 MB / 1.289 GB, free: 6.898 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02474/1.168, allocations: 15.79 MB / 1.304 GB, free: 6.98 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02481/1.193, allocations: 11.98 MB / 1.316 GB, free: 11.03 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01766/1.21, allocations: 9.703 MB / 1.326 GB, free: 1.285 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.004559/1.215, allocations: 1.457 MB / 1.327 GB, free: 15.82 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01288/1.228, allocations: 3.177 MB / 1.33 GB, free: 12.65 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.007419/1.235, allocations: 3.279 MB / 1.333 GB, free: 9.359 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.01542/1.251, allocations: 7.31 MB / 1.34 GB, free: 2.02 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.02988/1.281, allocations: 21.95 MB / 1.362 GB, free: 12.02 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/1.281, allocations: 0 / 1.362 GB, free: 12.02 MB / 1.092 GB Notification: Performance of FrontEnd: time 4.058e-06/1.281, allocations: 0 / 1.362 GB, free: 12.02 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.000679/1.281, allocations: 3.938 kB / 1.362 GB, free: 12.01 MB / 1.092 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.0402/1.322, allocations: 13.14 MB / 1.375 GB, free: 14.76 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/1.322, allocations: 12.58 kB / 1.375 GB, free: 14.75 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007288/1.329, allocations: 1.287 MB / 1.376 GB, free: 13.45 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03115/1.36, allocations: 12.97 MB / 1.389 GB, free: 392 kB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006439/1.361, allocations: 0.5256 MB / 1.389 GB, free: 15.85 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003174/1.364, allocations: 0.7146 MB / 1.39 GB, free: 15.14 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03331/1.397, allocations: 11.21 MB / 1.401 GB, free: 3.641 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005579/1.398, allocations: 27.69 kB / 1.401 GB, free: 3.613 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002879/1.401, allocations: 304 kB / 1.401 GB, free: 3.316 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002866/1.401, allocations: 219.9 kB / 1.401 GB, free: 3.102 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02417/1.425, allocations: 9.249 MB / 1.41 GB, free: 9.836 MB / 1.139 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.0894/1.515, allocations: 52.13 MB / 1.461 GB, free: 2.293 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009366/1.524, allocations: 4.865 MB / 1.466 GB, free: 13.43 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005113/1.529, allocations: 2.825 MB / 1.469 GB, free: 10.6 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001859/1.531, allocations: 1.711 MB / 1.47 GB, free: 8.539 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00012/1.531, allocations: 94.2 kB / 1.47 GB, free: 8.438 MB / 1.201 GB Notification: Performance of pre-optimization done (n=420): time 1.044e-05/1.531, allocations: 4 kB / 1.47 GB, free: 8.434 MB / 1.201 GB Notification: Performance of matching and sorting (n=420): time 0.01881/1.55, allocations: 7.815 MB / 1.478 GB, free: 0.5859 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.624e-05/1.55, allocations: 98.48 kB / 1.478 GB, free: 488 kB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02389/1.574, allocations: 10.46 MB / 1.488 GB, free: 6.055 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.001151/1.575, allocations: 113.7 kB / 1.489 GB, free: 5.938 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.006305/1.582, allocations: 4.713 MB / 1.493 GB, free: 1.188 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.00303/1.585, allocations: 1.49 MB / 1.495 GB, free: 15.67 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003491/1.588, allocations: 1.103 MB / 1.496 GB, free: 14.56 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.000112/1.588, allocations: 305.1 kB / 1.496 GB, free: 14.26 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004888/1.593, allocations: 2.684 MB / 1.499 GB, free: 11.56 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006371/1.6, allocations: 4.193 MB / 1.503 GB, free: 6.699 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01238/1.612, allocations: 7.413 MB / 1.51 GB, free: 14.63 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-05/1.612, allocations: 20 kB / 1.51 GB, free: 14.61 MB / 1.248 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01955/1.632, allocations: 7.98 MB / 1.518 GB, free: 6.609 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 6.737e-05/1.632, allocations: 30.12 kB / 1.518 GB, free: 6.582 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002472/1.632, allocations: 71.98 kB / 1.518 GB, free: 6.512 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001076/1.632, allocations: 72 kB / 1.518 GB, free: 6.441 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004974/1.637, allocations: 1.21 MB / 1.519 GB, free: 5.23 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001534/1.638, allocations: 103.6 kB / 1.519 GB, free: 5.129 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008187/1.646, allocations: 0.6895 MB / 1.52 GB, free: 4.434 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001314/1.647, allocations: 283.9 kB / 1.52 GB, free: 4.156 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01313/1.66, allocations: 6.432 MB / 1.526 GB, free: 13.71 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006926/1.667, allocations: 4.201 MB / 1.53 GB, free: 8.852 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0125/1.68, allocations: 7.409 MB / 1.538 GB, free: 0.7812 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.022e-05/1.68, allocations: 16 kB / 1.538 GB, free: 0.7656 MB / 1.264 GB Notification: Performance of matching and sorting (n=694) (initialization_lambda0): time 0.02039/1.7, allocations: 7.983 MB / 1.546 GB, free: 8.762 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 5.811e-05/1.7, allocations: 24 kB / 1.546 GB, free: 8.738 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002505/1.701, allocations: 71.92 kB / 1.546 GB, free: 8.668 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.719e-05/1.701, allocations: 76.75 kB / 1.546 GB, free: 8.594 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004993/1.706, allocations: 1.205 MB / 1.547 GB, free: 7.387 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001798/1.706, allocations: 107.6 kB / 1.547 GB, free: 7.281 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00803/1.714, allocations: 0.5779 MB / 1.548 GB, free: 6.699 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001661/1.716, allocations: 287.9 kB / 1.548 GB, free: 6.418 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.002779/1.718, allocations: 0.5025 MB / 1.548 GB, free: 5.906 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004298/1.723, allocations: 0.8412 MB / 1.549 GB, free: 5.055 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.218/2.941, allocations: 8.905 MB / 1.558 GB, free: 352.9 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.854e-05/2.941, allocations: 77.34 kB / 1.558 GB, free: 352.8 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.869e-05/2.941, allocations: 5.641 kB / 1.558 GB, free: 352.8 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009869/2.951, allocations: 6.108 MB / 1.564 GB, free: 350.6 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04294/2.994, allocations: 20.63 MB / 1.584 GB, free: 342.4 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001951/2.994, allocations: 39.97 kB / 1.584 GB, free: 342.4 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004114/2.998, allocations: 0.9398 MB / 1.585 GB, free: 342.3 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.423e-05/2.998, allocations: 35.34 kB / 1.585 GB, free: 342.3 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001008/2.999, allocations: 194.2 kB / 1.585 GB, free: 342.3 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.583e-05/2.999, allocations: 42.28 kB / 1.585 GB, free: 342.3 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.514e-05/2.999, allocations: 22.31 kB / 1.585 GB, free: 342.3 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02028/3.02, allocations: 11.62 MB / 1.597 GB, free: 332.9 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007395/3.027, allocations: 2.344 MB / 1.599 GB, free: 331 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003456/3.031, allocations: 144 kB / 1.599 GB, free: 330.8 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008119/3.039, allocations: 332 kB / 1.599 GB, free: 330.5 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001484/3.04, allocations: 450.9 kB / 1.6 GB, free: 330.1 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001275/3.042, allocations: 267.8 kB / 1.6 GB, free: 329.8 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.01656/3.058, allocations: 8.208 MB / 1.608 GB, free: 321.7 MB / 1.279 GB Notification: Performance of sort global known variables: time 4.1e-07/3.058, allocations: 0.875 kB / 1.608 GB, free: 321.7 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.01771/3.076, allocations: 4.904 MB / 1.613 GB, free: 317 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.002497/3.079, allocations: 0.7914 MB / 1.614 GB, free: 316.4 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01784/3.096, allocations: 11.35 MB / 1.625 GB, free: 304.8 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.891e-05/3.096, allocations: 4.562 kB / 1.625 GB, free: 304.8 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.006117/3.103, allocations: 4.237 MB / 1.629 GB, free: 300.4 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02962/3.132, allocations: 6.224 MB / 1.635 GB, free: 294.6 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04257/3.175, allocations: 23.8 MB / 1.658 GB, free: 270.6 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009282/3.184, allocations: 7.336 MB / 1.665 GB, free: 263.2 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003339/3.187, allocations: 0.8895 MB / 1.666 GB, free: 262.3 MB / 1.279 GB Notification: Performance of SimCode: time 1.993e-06/3.188, allocations: 0 / 1.666 GB, free: 262.3 MB / 1.279 GB Notification: Performance of Templates: time 0.2332/3.421, allocations: 204.5 MB / 1.866 GB, free: 58.42 MB / 1.279 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