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.001374/0.001374, allocations: 102.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.00149/0.00149, allocations: 196.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.378/1.378, allocations: 222.9 MB / 240.6 MB, free: 15.42 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.412/2.412, allocations: 437 MB / 0.7107 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001328, allocations: 63.47 kB / 0.8694 GB, free: 2.625 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3244, allocations: 151.6 MB / 1.017 GB, free: 11.06 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized): time 0.7254/1.05, allocations: 65.99 MB / 1.082 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02255/1.072, allocations: 16.62 MB / 1.098 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003601/1.076, allocations: 58.22 kB / 1.098 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002889/1.079, allocations: 0.703 MB / 1.099 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.009308/1.088, allocations: 2.374 MB / 1.101 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00615/1.095, allocations: 1.664 MB / 1.103 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.06351/1.158, allocations: 35.9 MB / 1.138 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03011/1.188, allocations: 15.6 MB / 1.153 GB, free: 6.703 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03519/1.223, allocations: 11.94 MB / 1.165 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02114/1.245, allocations: 9.956 MB / 1.174 GB, free: 6.285 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.00591/1.251, allocations: 1.438 MB / 1.176 GB, free: 4.848 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01563/1.266, allocations: 3.183 MB / 1.179 GB, free: 1.758 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.007703/1.274, allocations: 3.283 MB / 1.182 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.02066/1.295, allocations: 7.303 MB / 1.189 GB, free: 7.27 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0291/1.324, allocations: 18.29 MB / 1.207 GB, free: 5.402 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 1.159e-05/1.324, allocations: 0 / 1.207 GB, free: 5.402 MB / 0.9044 GB Notification: Performance of FrontEnd: time 4.669e-06/1.324, allocations: 0 / 1.207 GB, free: 5.402 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0009936/1.325, allocations: 0 / 1.207 GB, free: 5.402 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.04662/1.372, allocations: 13.11 MB / 1.22 GB, free: 8.293 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.776e-05/1.372, allocations: 16.88 kB / 1.22 GB, free: 8.277 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008512/1.38, allocations: 1.288 MB / 1.221 GB, free: 6.977 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02987/1.41, allocations: 13.37 MB / 1.234 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005572/1.411, allocations: 0.5331 MB / 1.235 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003184/1.414, allocations: 0.7131 MB / 1.236 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03193/1.446, allocations: 11.19 MB / 1.246 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004065/1.446, allocations: 31.69 kB / 1.247 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002975/1.449, allocations: 300 kB / 1.247 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002788/1.45, allocations: 227.9 kB / 1.247 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03167/1.481, allocations: 9.249 MB / 1.256 GB, free: 3.281 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.1477/1.629, allocations: 51.18 MB / 1.306 GB, free: 13.06 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0164/1.646, allocations: 4.861 MB / 1.311 GB, free: 8.25 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009498/1.655, allocations: 2.825 MB / 1.314 GB, free: 5.414 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003342/1.658, allocations: 1.716 MB / 1.315 GB, free: 3.379 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001987/1.659, allocations: 90.27 kB / 1.315 GB, free: 3.281 MB / 1.014 GB Notification: Performance of pre-optimization done (n=420): time 3.631e-05/1.659, allocations: 4 kB / 1.315 GB, free: 3.277 MB / 1.014 GB Notification: Performance of matching and sorting (n=420): time 0.03304/1.692, allocations: 7.819 MB / 1.323 GB, free: 11.43 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001409/1.692, allocations: 98.55 kB / 1.323 GB, free: 11.32 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03998/1.732, allocations: 9.974 MB / 1.333 GB, free: 1.387 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.001801/1.734, allocations: 109.7 kB / 1.333 GB, free: 1.273 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.01117/1.745, allocations: 4.742 MB / 1.338 GB, free: 12.57 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.004488/1.75, allocations: 1.479 MB / 1.339 GB, free: 11.1 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006137/1.756, allocations: 1.103 MB / 1.34 GB, free: 9.988 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000157/1.756, allocations: 305.1 kB / 1.34 GB, free: 9.688 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009309/1.765, allocations: 2.645 MB / 1.343 GB, free: 7.027 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01224/1.778, allocations: 4.158 MB / 1.347 GB, free: 2.207 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02251/1.8, allocations: 7.385 MB / 1.354 GB, free: 10.16 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.979e-05/1.8, allocations: 20 kB / 1.354 GB, free: 10.14 MB / 1.061 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.03322/1.834, allocations: 7.909 MB / 1.362 GB, free: 2.215 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.823e-05/1.834, allocations: 24 kB / 1.362 GB, free: 2.191 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003684/1.834, allocations: 75.91 kB / 1.362 GB, free: 2.117 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001608/1.834, allocations: 76.75 kB / 1.362 GB, free: 2.043 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009271/1.844, allocations: 1.205 MB / 1.363 GB, free: 0.8359 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002169/1.844, allocations: 107.6 kB / 1.363 GB, free: 0.7305 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01583/1.86, allocations: 1.017 MB / 1.364 GB, free: 15.71 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001897/1.862, allocations: 283.9 kB / 1.365 GB, free: 15.43 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02073/1.882, allocations: 6.4 MB / 1.371 GB, free: 9.016 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01115/1.894, allocations: 4.161 MB / 1.375 GB, free: 4.191 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0209/1.915, allocations: 7.374 MB / 1.382 GB, free: 12.16 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.867e-05/1.915, allocations: 12 kB / 1.382 GB, free: 12.15 MB / 1.092 GB Notification: Performance of matching and sorting (n=694) (initialization_lambda0): time 0.03374/1.949, allocations: 7.921 MB / 1.39 GB, free: 4.207 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001107/1.949, allocations: 24 kB / 1.39 GB, free: 4.184 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003807/1.949, allocations: 71.97 kB / 1.39 GB, free: 4.113 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001551/1.949, allocations: 79.94 kB / 1.39 GB, free: 4.035 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009524/1.959, allocations: 1.201 MB / 1.391 GB, free: 2.832 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002204/1.959, allocations: 107.6 kB / 1.391 GB, free: 2.727 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01588/1.975, allocations: 0.9096 MB / 1.392 GB, free: 1.812 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002013/1.977, allocations: 283.9 kB / 1.393 GB, free: 1.535 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.003578/1.981, allocations: 0.5063 MB / 1.393 GB, free: 1.02 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006024/1.987, allocations: 0.8451 MB / 1.394 GB, free: 168 kB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03512/2.022, allocations: 8.923 MB / 1.403 GB, free: 7.277 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002039/2.022, allocations: 75.95 kB / 1.403 GB, free: 7.203 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-05/2.022, allocations: 0 / 1.403 GB, free: 7.203 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0158/2.038, allocations: 6.111 MB / 1.409 GB, free: 1.012 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05135/2.089, allocations: 20.07 MB / 1.428 GB, free: 12.7 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002293/2.09, allocations: 43.97 kB / 1.428 GB, free: 12.65 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004555/2.094, allocations: 0.9408 MB / 1.429 GB, free: 11.71 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.475e-05/2.094, allocations: 36 kB / 1.429 GB, free: 11.68 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001156/2.096, allocations: 195.8 kB / 1.429 GB, free: 11.48 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.845e-05/2.096, allocations: 39.88 kB / 1.429 GB, free: 11.45 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-05/2.096, allocations: 19.94 kB / 1.429 GB, free: 11.43 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02359/2.119, allocations: 11.62 MB / 1.441 GB, free: 15.4 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007575/2.127, allocations: 2.256 MB / 1.443 GB, free: 13.11 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004062/2.131, allocations: 147.9 kB / 1.443 GB, free: 12.96 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009614/2.141, allocations: 0.6938 MB / 1.444 GB, free: 12.27 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001633/2.142, allocations: 442.8 kB / 1.444 GB, free: 11.84 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001412/2.144, allocations: 267.8 kB / 1.444 GB, free: 11.57 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.01797/2.162, allocations: 7.857 MB / 1.452 GB, free: 3.742 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.132e-06/2.162, allocations: 0 / 1.452 GB, free: 3.742 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.02347/2.185, allocations: 4.853 MB / 1.457 GB, free: 14.88 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.003093/2.188, allocations: 0.7886 MB / 1.458 GB, free: 14.12 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.05492/2.243, allocations: 22.81 MB / 1.48 GB, free: 7.047 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.628e-05/2.243, allocations: 9.562 kB / 1.48 GB, free: 7.039 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.00847/2.252, allocations: 4.235 MB / 1.484 GB, free: 2.684 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0343/2.286, allocations: 6.19 MB / 1.49 GB, free: 12.67 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05314/2.339, allocations: 27.82 MB / 1.517 GB, free: 0.6367 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0124/2.352, allocations: 7.336 MB / 1.524 GB, free: 9.266 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003455/2.355, allocations: 0.8701 MB / 1.525 GB, free: 8.395 MB / 1.232 GB Notification: Performance of SimCode: time 1.262e-06/2.355, allocations: 0 / 1.525 GB, free: 8.395 MB / 1.232 GB Notification: Performance of Templates: time 1.202/3.558, allocations: 200.5 MB / 1.721 GB, free: 266.6 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