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.001929/0.001929, allocations: 104.6 kB / 15.98 MB, free: 6.344 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.002149/0.002149, allocations: 195.5 kB / 16.91 MB, free: 6.184 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.47/1.47, allocations: 222.9 MB / 240.6 MB, free: 13.75 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.572/2.572, allocations: 437 MB / 0.7107 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 71.38 kB / 0.8694 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3609, allocations: 151.6 MB / 1.017 GB, free: 10.98 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized): time 0.7094/1.07, allocations: 65.99 MB / 1.082 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02259/1.093, allocations: 16.63 MB / 1.098 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003593/1.097, allocations: 61.59 kB / 1.098 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002796/1.1, allocations: 0.6954 MB / 1.099 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.009313/1.109, allocations: 2.381 MB / 1.101 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.006099/1.115, allocations: 1.663 MB / 1.103 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.06076/1.176, allocations: 35.9 MB / 1.138 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02729/1.203, allocations: 15.59 MB / 1.153 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03273/1.236, allocations: 11.93 MB / 1.165 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02077/1.257, allocations: 9.975 MB / 1.175 GB, free: 6.199 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.005256/1.262, allocations: 1.438 MB / 1.176 GB, free: 4.762 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01427/1.276, allocations: 3.187 MB / 1.179 GB, free: 1.668 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.007466/1.284, allocations: 3.28 MB / 1.182 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.01981/1.304, allocations: 7.307 MB / 1.189 GB, free: 7.184 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.02658/1.33, allocations: 18.28 MB / 1.207 GB, free: 5.324 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.385e-06/1.33, allocations: 4 kB / 1.207 GB, free: 5.32 MB / 0.9044 GB Notification: Performance of FrontEnd: time 4.017e-06/1.33, allocations: 0 / 1.207 GB, free: 5.32 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0007339/1.331, allocations: 7.938 kB / 1.207 GB, free: 5.312 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.04699/1.378, allocations: 13.1 MB / 1.22 GB, free: 8.211 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.485e-05/1.378, allocations: 12.88 kB / 1.22 GB, free: 8.199 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009062/1.387, allocations: 1.292 MB / 1.221 GB, free: 6.895 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03481/1.422, allocations: 13.37 MB / 1.234 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007597/1.423, allocations: 0.5236 MB / 1.235 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003703/1.427, allocations: 0.7144 MB / 1.236 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03632/1.463, allocations: 11.19 MB / 1.247 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005117/1.464, allocations: 35.69 kB / 1.247 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003378/1.467, allocations: 302.9 kB / 1.247 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003472/1.467, allocations: 219.9 kB / 1.247 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02864/1.496, allocations: 9.245 MB / 1.256 GB, free: 3.215 MB / 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.1021/1.598, allocations: 51.18 MB / 1.306 GB, free: 12.98 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01107/1.609, allocations: 4.865 MB / 1.311 GB, free: 8.168 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006205/1.616, allocations: 2.821 MB / 1.314 GB, free: 5.34 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002391/1.618, allocations: 1.719 MB / 1.315 GB, free: 3.301 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/1.618, allocations: 86.27 kB / 1.315 GB, free: 3.207 MB / 1.014 GB Notification: Performance of pre-optimization done (n=420): time 1.609e-05/1.618, allocations: 0 / 1.315 GB, free: 3.207 MB / 1.014 GB Notification: Performance of matching and sorting (n=420): time 0.02446/1.643, allocations: 7.831 MB / 1.323 GB, free: 11.35 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/1.643, allocations: 94.48 kB / 1.323 GB, free: 11.24 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02809/1.671, allocations: 9.978 MB / 1.333 GB, free: 1.305 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.001567/1.673, allocations: 105.7 kB / 1.333 GB, free: 1.195 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.008817/1.681, allocations: 4.725 MB / 1.338 GB, free: 12.47 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.00365/1.685, allocations: 1.488 MB / 1.339 GB, free: 10.99 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004821/1.69, allocations: 1.103 MB / 1.34 GB, free: 9.879 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000165/1.69, allocations: 301.1 kB / 1.34 GB, free: 9.582 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005925/1.696, allocations: 2.645 MB / 1.343 GB, free: 6.922 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007967/1.704, allocations: 4.169 MB / 1.347 GB, free: 2.09 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0149/1.719, allocations: 7.374 MB / 1.354 GB, free: 10.06 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.686e-05/1.719, allocations: 15.94 kB / 1.354 GB, free: 10.04 MB / 1.061 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.02367/1.743, allocations: 7.917 MB / 1.362 GB, free: 2.105 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.524e-05/1.743, allocations: 24 kB / 1.362 GB, free: 2.082 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003221/1.743, allocations: 83.91 kB / 1.362 GB, free: 2 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001343/1.743, allocations: 72 kB / 1.362 GB, free: 1.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005626/1.749, allocations: 1.205 MB / 1.363 GB, free: 0.7227 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001949/1.749, allocations: 99.66 kB / 1.363 GB, free: 0.625 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01084/1.76, allocations: 1.021 MB / 1.364 GB, free: 15.6 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001813/1.762, allocations: 279.9 kB / 1.365 GB, free: 15.32 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01556/1.778, allocations: 6.404 MB / 1.371 GB, free: 8.906 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008712/1.786, allocations: 4.161 MB / 1.375 GB, free: 4.082 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01649/1.803, allocations: 7.374 MB / 1.382 GB, free: 12.05 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.6e-05/1.803, allocations: 16 kB / 1.382 GB, free: 12.04 MB / 1.092 GB Notification: Performance of matching and sorting (n=694) (initialization_lambda0): time 0.02669/1.83, allocations: 7.914 MB / 1.39 GB, free: 4.102 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 7.788e-05/1.83, allocations: 28 kB / 1.39 GB, free: 4.074 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003102/1.83, allocations: 76 kB / 1.39 GB, free: 4 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001229/1.83, allocations: 79.94 kB / 1.39 GB, free: 3.922 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005986/1.836, allocations: 1.205 MB / 1.391 GB, free: 2.715 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001818/1.837, allocations: 99.66 kB / 1.391 GB, free: 2.617 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01065/1.847, allocations: 0.9135 MB / 1.392 GB, free: 1.699 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001805/1.849, allocations: 279.9 kB / 1.393 GB, free: 1.426 MB / 1.092 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.00284/1.852, allocations: 0.5063 MB / 1.393 GB, free: 0.9102 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004395/1.856, allocations: 0.849 MB / 1.394 GB, free: 52 kB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0251/1.881, allocations: 8.924 MB / 1.403 GB, free: 7.164 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001564/1.882, allocations: 75.95 kB / 1.403 GB, free: 7.09 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.573e-05/1.882, allocations: 0 / 1.403 GB, free: 7.09 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01574/1.897, allocations: 6.111 MB / 1.409 GB, free: 0.8984 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05788/1.955, allocations: 20.07 MB / 1.428 GB, free: 12.58 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002751/1.956, allocations: 39.97 kB / 1.428 GB, free: 12.54 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004838/1.961, allocations: 0.9364 MB / 1.429 GB, free: 11.61 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001043/1.961, allocations: 32 kB / 1.429 GB, free: 11.57 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001349/1.962, allocations: 195.8 kB / 1.429 GB, free: 11.38 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.724e-05/1.962, allocations: 43.86 kB / 1.429 GB, free: 11.34 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.801e-05/1.962, allocations: 23.94 kB / 1.429 GB, free: 11.32 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02819/1.99, allocations: 11.61 MB / 1.441 GB, free: 15.3 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007424/1.998, allocations: 2.268 MB / 1.443 GB, free: 13 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00353/2.001, allocations: 147.9 kB / 1.443 GB, free: 12.86 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008515/2.01, allocations: 0.6938 MB / 1.444 GB, free: 12.16 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001474/2.011, allocations: 446.8 kB / 1.444 GB, free: 11.72 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001264/2.013, allocations: 267.9 kB / 1.444 GB, free: 11.46 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.01844/2.031, allocations: 7.853 MB / 1.452 GB, free: 3.633 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.614e-06/2.031, allocations: 0 / 1.452 GB, free: 3.633 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.02218/2.053, allocations: 4.865 MB / 1.457 GB, free: 14.75 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.003232/2.057, allocations: 0.7895 MB / 1.458 GB, free: 14 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.05829/2.115, allocations: 22.82 MB / 1.48 GB, free: 6.922 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.437e-05/2.115, allocations: 8.5 kB / 1.48 GB, free: 6.914 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.008598/2.124, allocations: 4.24 MB / 1.484 GB, free: 2.555 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03226/2.156, allocations: 6.177 MB / 1.49 GB, free: 12.55 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05682/2.213, allocations: 27.82 MB / 1.517 GB, free: 0.5234 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01488/2.228, allocations: 7.343 MB / 1.524 GB, free: 9.145 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00402/2.232, allocations: 0.874 MB / 1.525 GB, free: 8.27 MB / 1.232 GB Notification: Performance of SimCode: time 1.132e-06/2.232, allocations: 0 / 1.525 GB, free: 8.27 MB / 1.232 GB Notification: Performance of Templates: time 1.125/3.357, allocations: 200.4 MB / 1.721 GB, free: 266.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++14 -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:2612:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp126; ^ ./OMCppBuildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:2618: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:2658:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp129; ^ ./OMCppBuildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:2664: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:2990:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp149; ^ ./OMCppBuildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:2996: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:3036:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp152; ^ ./OMCppBuildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3042: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:3368:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp172; ^ ./OMCppBuildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3374: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:3414:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp175; ^ ./OMCppBuildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3420: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:3746:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp195; ^ ./OMCppBuildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3752: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:3792:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp198; ^ ./OMCppBuildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3798: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:4124:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp218; ^ ./OMCppBuildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:4130: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:4170: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