Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001375/0.001375, allocations: 107 kB / 16.27 MB, free: 6.414 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.001649/0.00165, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.358/1.358, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.375/2.375, allocations: 390.3 MB / 0.6653 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 69.86 kB / 0.8132 GB, free: 33.12 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3069, allocations: 140.4 MB / 0.9503 GB, free: 8.922 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized): time 0.06647/0.3734, allocations: 66.55 MB / 1.015 GB, free: 6.137 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02305/0.3965, allocations: 16.75 MB / 1.032 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003028/0.3996, allocations: 63.62 kB / 1.032 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00273/0.4024, allocations: 0.8112 MB / 1.032 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.007535/0.4099, allocations: 2.558 MB / 1.035 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.005047/0.415, allocations: 1.786 MB / 1.037 GB, free: 120 kB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.04391/0.4589, allocations: 35.78 MB / 1.072 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 1.106/1.565, allocations: 15.78 MB / 1.087 GB, free: 19.8 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02695/1.592, allocations: 11.74 MB / 1.099 GB, free: 18.94 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02258/1.615, allocations: 9.701 MB / 1.108 GB, free: 17.36 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.006976/1.622, allocations: 1.452 MB / 1.109 GB, free: 17.36 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01767/1.639, allocations: 3.178 MB / 1.113 GB, free: 17.36 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.009421/1.649, allocations: 3.281 MB / 1.116 GB, free: 16.93 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.02495/1.674, allocations: 7.311 MB / 1.123 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.03764/1.711, allocations: 21.75 MB / 1.144 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/1.711, allocations: 0 / 1.144 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.924e-06/1.711, allocations: 3.375 kB / 1.144 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.000823/1.712, allocations: 3.062 kB / 1.144 GB, free: 13.07 MB / 0.8575 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.04795/1.76, allocations: 13.13 MB / 1.157 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/1.76, allocations: 7.312 kB / 1.157 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009815/1.77, allocations: 1.288 MB / 1.158 GB, free: 6.5 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03166/1.802, allocations: 12.58 MB / 1.17 GB, free: 14.62 MB / 0.8732 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006852/1.803, allocations: 0.5284 MB / 1.171 GB, free: 14.38 MB / 0.8732 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004645/1.807, allocations: 0.7068 MB / 1.172 GB, free: 14.14 MB / 0.8732 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03627/1.843, allocations: 11.21 MB / 1.183 GB, free: 7.387 MB / 0.8732 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008666/1.844, allocations: 32.98 kB / 1.183 GB, free: 7.375 MB / 0.8732 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005997/1.85, allocations: 303.5 kB / 1.183 GB, free: 7.152 MB / 0.8732 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000322/1.851, allocations: 220.5 kB / 1.183 GB, free: 7.133 MB / 0.8732 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03081/1.882, allocations: 9.245 MB / 1.192 GB, free: 2.375 MB / 0.8732 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.1072/1.989, allocations: 52.5 MB / 1.243 GB, free: 15.75 MB / 0.9357 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01204/2.001, allocations: 4.856 MB / 1.248 GB, free: 10.95 MB / 0.9357 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006342/2.007, allocations: 2.829 MB / 1.251 GB, free: 8.113 MB / 0.9357 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002195/2.01, allocations: 1.711 MB / 1.253 GB, free: 6.082 MB / 0.9357 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001471/2.01, allocations: 98.2 kB / 1.253 GB, free: 5.977 MB / 0.9357 GB Notification: Performance of pre-optimization done (n=420): time 1.178e-05/2.01, allocations: 0 / 1.253 GB, free: 5.977 MB / 0.9357 GB Notification: Performance of matching and sorting (n=420): time 0.02643/2.036, allocations: 7.814 MB / 1.26 GB, free: 14.14 MB / 0.9513 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/2.036, allocations: 94.53 kB / 1.26 GB, free: 14.03 MB / 0.9513 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03139/2.068, allocations: 10.47 MB / 1.271 GB, free: 3.609 MB / 0.9513 GB Notification: Performance of collectPreVariables (initialization): time 0.001686/2.07, allocations: 109.7 kB / 1.271 GB, free: 3.496 MB / 0.9513 GB Notification: Performance of collectInitialEqns (initialization): time 0.008116/2.078, allocations: 4.719 MB / 1.275 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.004327/2.082, allocations: 1.484 MB / 1.277 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005426/2.088, allocations: 1.111 MB / 1.278 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001153/2.088, allocations: 301.1 kB / 1.278 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006024/2.094, allocations: 2.672 MB / 1.281 GB, free: 9.184 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00784/2.102, allocations: 4.199 MB / 1.285 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01407/2.116, allocations: 7.42 MB / 1.292 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.862e-05/2.116, allocations: 12 kB / 1.292 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.02553/2.141, allocations: 7.984 MB / 1.3 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.46e-05/2.141, allocations: 24.97 kB / 1.3 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003372/2.142, allocations: 75.64 kB / 1.3 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001483/2.142, allocations: 76 kB / 1.3 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00596/2.148, allocations: 1.207 MB / 1.301 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001961/2.148, allocations: 112.2 kB / 1.301 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01284/2.161, allocations: 0.6817 MB / 1.302 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002866/2.164, allocations: 283.9 kB / 1.302 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02515/2.189, allocations: 6.439 MB / 1.309 GB, free: 11.93 MB / 0.9982 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01409/2.203, allocations: 4.188 MB / 1.313 GB, free: 7.094 MB / 0.9982 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02595/2.229, allocations: 7.417 MB / 1.32 GB, free: 15.21 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001381/2.23, allocations: 12 kB / 1.32 GB, free: 15.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=694) (initialization_lambda0): time 0.03704/2.267, allocations: 7.978 MB / 1.328 GB, free: 7.477 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 9.944e-05/2.267, allocations: 24 kB / 1.328 GB, free: 7.453 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003719/2.267, allocations: 79.97 kB / 1.328 GB, free: 7.375 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001548/2.267, allocations: 76.03 kB / 1.328 GB, free: 7.301 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009632/2.277, allocations: 1.203 MB / 1.329 GB, free: 6.176 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002209/2.277, allocations: 105.1 kB / 1.329 GB, free: 6.094 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01561/2.293, allocations: 0.5856 MB / 1.33 GB, free: 5.504 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002412/2.295, allocations: 279.9 kB / 1.33 GB, free: 5.23 MB / 1.014 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.003369/2.299, allocations: 0.5072 MB / 1.331 GB, free: 4.797 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006799/2.306, allocations: 0.8413 MB / 1.331 GB, free: 3.945 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03948/2.345, allocations: 8.934 MB / 1.34 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002275/2.345, allocations: 75.95 kB / 1.34 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.109e-05/2.345, allocations: 3.938 kB / 1.34 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01931/2.365, allocations: 6.106 MB / 1.346 GB, free: 4.863 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06326/2.428, allocations: 20.63 MB / 1.366 GB, free: 76 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002867/2.428, allocations: 39.97 kB / 1.366 GB, free: 36 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004683/2.433, allocations: 0.9486 MB / 1.367 GB, free: 15.13 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.915e-05/2.433, allocations: 32.09 kB / 1.367 GB, free: 15.1 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001526/2.435, allocations: 191.3 kB / 1.367 GB, free: 14.92 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.485e-05/2.435, allocations: 41.23 kB / 1.368 GB, free: 14.88 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.952e-05/2.435, allocations: 25.17 kB / 1.368 GB, free: 14.86 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02883/2.464, allocations: 11.62 MB / 1.379 GB, free: 2.848 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009114/2.473, allocations: 2.346 MB / 1.381 GB, free: 480 kB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005335/2.478, allocations: 144 kB / 1.381 GB, free: 336 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01261/2.491, allocations: 323.6 kB / 1.382 GB, free: 12 kB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002074/2.493, allocations: 445.2 kB / 1.382 GB, free: 15.59 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001887/2.495, allocations: 267.8 kB / 1.382 GB, free: 15.32 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0244/2.519, allocations: 8.208 MB / 1.39 GB, free: 7.141 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.112e-06/2.519, allocations: 0 / 1.39 GB, free: 7.141 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.02926/2.549, allocations: 4.904 MB / 1.395 GB, free: 2.227 MB / 1.076 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.003894/2.553, allocations: 0.8064 MB / 1.396 GB, free: 1.512 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.05805/2.611, allocations: 22.88 MB / 1.418 GB, free: 10.76 MB / 1.108 GB Notification: Performance of simCode: created event and clocks part: time 3.044e-05/2.611, allocations: 12.69 kB / 1.418 GB, free: 10.75 MB / 1.108 GB Notification: Performance of simCode: created simulation system equations: time 0.008943/2.62, allocations: 4.239 MB / 1.422 GB, free: 6.508 MB / 1.108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04188/2.662, allocations: 6.257 MB / 1.428 GB, free: 0.5312 MB / 1.108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06445/2.726, allocations: 24.05 MB / 1.452 GB, free: 8.332 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01596/2.742, allocations: 7.336 MB / 1.459 GB, free: 0.9609 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005364/2.748, allocations: 0.8821 MB / 1.46 GB, free: 88 kB / 1.139 GB Notification: Performance of SimCode: time 7.92e-07/2.748, allocations: 0 / 1.46 GB, free: 88 kB / 1.139 GB Notification: Performance of Templates: time 0.8712/3.619, allocations: 203.3 MB / 1.659 GB, free: 337.1 MB / 1.201 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.makefile make -j1 -f Buildings_9_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_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedCalcHelperMain.cpp In file included from OMCppBuildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedCalcHelperMain.cpp:29: ./OMCppBuildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:2720:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp126; ^ ./OMCppBuildings_9_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_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:2766:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp129; ^ ./OMCppBuildings_9_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_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3098:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp149; ^ ./OMCppBuildings_9_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_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3144:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp152; ^ ./OMCppBuildings_9_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_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3476:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp172; ^ ./OMCppBuildings_9_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_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3522:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp175; ^ ./OMCppBuildings_9_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_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3854:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp195; ^ ./OMCppBuildings_9_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_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3900:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp198; ^ ./OMCppBuildings_9_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_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:4232:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp218; ^ ./OMCppBuildings_9_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_9_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_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedCalcHelperMain.o] Error 1