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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001584/0.001583, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00186/0.00186, allocations: 200.7 kB / 16.79 MB, free: 6.809 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.425/1.425, allocations: 222.9 MB / 240.5 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.395/2.395, allocations: 390.2 MB / 0.6649 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 59.91 kB / 0.8125 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7282/0.7298, allocations: 140.4 MB / 0.9496 GB, free: 9.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized): time 0.06099/0.7908, allocations: 66.18 MB / 1.014 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02278/0.8136, allocations: 16.81 MB / 1.031 GB, free: 14.88 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003199/0.8169, allocations: 59.62 kB / 1.031 GB, free: 14.82 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002326/0.8193, allocations: 0.6566 MB / 1.031 GB, free: 14.16 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.007073/0.8264, allocations: 2.357 MB / 1.034 GB, free: 11.79 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.004807/0.8312, allocations: 1.616 MB / 1.035 GB, free: 10.18 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.04957/0.8808, allocations: 45.59 MB / 1.08 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02135/0.9022, allocations: 12.44 MB / 1.092 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02156/0.9238, allocations: 8.681 MB / 1.1 GB, free: 7.191 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01849/0.9424, allocations: 9.167 MB / 1.109 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.004608/0.947, allocations: 0.5664 MB / 1.11 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01222/0.9593, allocations: 2.133 MB / 1.112 GB, free: 11.28 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.005878/0.9652, allocations: 2.287 MB / 1.114 GB, free: 8.984 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0157/0.9809, allocations: 6.216 MB / 1.12 GB, free: 2.738 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.02318/1.004, allocations: 18.09 MB / 1.138 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 9.298e-06/1.004, allocations: 7.984 kB / 1.138 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of FrontEnd: time 4.308e-06/1.004, allocations: 0 / 1.138 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0007478/1.005, allocations: 3.938 kB / 1.138 GB, free: 0.5977 MB / 0.8887 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.04011/1.045, allocations: 13.1 MB / 1.151 GB, free: 3.383 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/1.045, allocations: 12.03 kB / 1.151 GB, free: 3.371 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007104/1.052, allocations: 1.291 MB / 1.152 GB, free: 2.066 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02637/1.079, allocations: 13.37 MB / 1.165 GB, free: 4.605 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004961/1.079, allocations: 0.5294 MB / 1.166 GB, free: 4.074 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002895/1.082, allocations: 0.7146 MB / 1.166 GB, free: 3.359 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02604/1.108, allocations: 11.19 MB / 1.177 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002333/1.108, allocations: 35.67 kB / 1.177 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001343/1.11, allocations: 304 kB / 1.178 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002165/1.11, allocations: 219.9 kB / 1.178 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02016/1.13, allocations: 9.253 MB / 1.187 GB, free: 14.06 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.08162/1.212, allocations: 51.17 MB / 1.237 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00879/1.221, allocations: 4.853 MB / 1.241 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004661/1.225, allocations: 2.825 MB / 1.244 GB, free: 15.79 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001852/1.227, allocations: 1.715 MB / 1.246 GB, free: 13.73 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001251/1.227, allocations: 102.1 kB / 1.246 GB, free: 13.62 MB / 1.014 GB Notification: Performance of pre-optimization done (n=420): time 7.333e-06/1.227, allocations: 0 / 1.246 GB, free: 13.62 MB / 1.014 GB Notification: Performance of matching and sorting (n=420): time 0.01741/1.245, allocations: 7.811 MB / 1.254 GB, free: 5.777 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.998e-05/1.245, allocations: 94.55 kB / 1.254 GB, free: 5.672 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.058/2.303, allocations: 9.978 MB / 1.263 GB, free: 269.2 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.001431/2.305, allocations: 105 kB / 1.264 GB, free: 269.1 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.006901/2.312, allocations: 4.72 MB / 1.268 GB, free: 266.9 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.004155/2.316, allocations: 1.491 MB / 1.27 GB, free: 265.9 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004675/2.321, allocations: 1.095 MB / 1.271 GB, free: 265.4 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 5.809e-05/2.321, allocations: 301.9 kB / 1.271 GB, free: 265.1 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008497/2.329, allocations: 2.653 MB / 1.274 GB, free: 264.2 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009407/2.339, allocations: 4.167 MB / 1.278 GB, free: 261.4 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01794/2.357, allocations: 7.374 MB / 1.285 GB, free: 257.2 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001749/2.357, allocations: 14.03 kB / 1.285 GB, free: 257.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.02629/2.383, allocations: 7.918 MB / 1.293 GB, free: 254.2 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 9.818e-05/2.383, allocations: 28.34 kB / 1.293 GB, free: 254.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003239/2.384, allocations: 82.7 kB / 1.293 GB, free: 254.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001731/2.384, allocations: 73.62 kB / 1.293 GB, free: 254.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005209/2.389, allocations: 1.204 MB / 1.294 GB, free: 254 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001766/2.389, allocations: 105.8 kB / 1.294 GB, free: 254 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01061/2.4, allocations: 1.017 MB / 1.295 GB, free: 253.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001574/2.402, allocations: 280.8 kB / 1.295 GB, free: 253.6 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01422/2.416, allocations: 6.404 MB / 1.302 GB, free: 250.3 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006566/2.422, allocations: 4.162 MB / 1.306 GB, free: 247 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01169/2.434, allocations: 7.369 MB / 1.313 GB, free: 241.9 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.746e-05/2.434, allocations: 18.84 kB / 1.313 GB, free: 241.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=694) (initialization_lambda0): time 0.02217/2.456, allocations: 7.917 MB / 1.321 GB, free: 237.2 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.999e-05/2.457, allocations: 24.75 kB / 1.321 GB, free: 237.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002601/2.457, allocations: 73.83 kB / 1.321 GB, free: 237.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.26e-05/2.457, allocations: 76 kB / 1.321 GB, free: 237 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004726/2.462, allocations: 1.202 MB / 1.322 GB, free: 235.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001311/2.462, allocations: 107.6 kB / 1.322 GB, free: 235.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009825/2.472, allocations: 0.9135 MB / 1.323 GB, free: 234.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001524/2.473, allocations: 287.8 kB / 1.323 GB, free: 234.5 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.002745/2.476, allocations: 0.5025 MB / 1.324 GB, free: 234 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004406/2.48, allocations: 0.8413 MB / 1.324 GB, free: 233.1 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02069/2.501, allocations: 8.925 MB / 1.333 GB, free: 224.2 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001029/2.501, allocations: 79.94 kB / 1.333 GB, free: 224.2 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.836e-05/2.501, allocations: 0 / 1.333 GB, free: 224.2 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01149/2.513, allocations: 6.108 MB / 1.339 GB, free: 218 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0432/2.556, allocations: 20.06 MB / 1.359 GB, free: 197.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001003/2.556, allocations: 39.83 kB / 1.359 GB, free: 197.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003659/2.56, allocations: 0.948 MB / 1.36 GB, free: 196.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-05/2.56, allocations: 32 kB / 1.36 GB, free: 196.7 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005035/2.56, allocations: 201.2 kB / 1.36 GB, free: 196.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.657e-05/2.56, allocations: 39.92 kB / 1.36 GB, free: 196.4 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.176e-05/2.56, allocations: 23.88 kB / 1.36 GB, free: 196.4 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01696/2.577, allocations: 11.62 MB / 1.371 GB, free: 184.4 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0076/2.585, allocations: 2.26 MB / 1.374 GB, free: 182.1 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004482/2.59, allocations: 151.9 kB / 1.374 GB, free: 181.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01016/2.6, allocations: 0.6899 MB / 1.374 GB, free: 181.2 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001625/2.601, allocations: 442.8 kB / 1.375 GB, free: 180.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001572/2.603, allocations: 271.8 kB / 1.375 GB, free: 180.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.01872/2.622, allocations: 7.853 MB / 1.383 GB, free: 172.7 MB / 1.014 GB Notification: Performance of sort global known variables: time 8.82e-07/2.622, allocations: 0 / 1.383 GB, free: 172.7 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0249/2.647, allocations: 4.863 MB / 1.388 GB, free: 167.9 MB / 1.014 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.003553/2.65, allocations: 0.7866 MB / 1.388 GB, free: 167.2 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.02138/2.672, allocations: 11.23 MB / 1.399 GB, free: 155.7 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.452e-05/2.672, allocations: 9.438 kB / 1.399 GB, free: 155.7 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.007852/2.68, allocations: 4.231 MB / 1.403 GB, free: 151.4 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03847/2.718, allocations: 5.797 MB / 1.409 GB, free: 145.7 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04865/2.767, allocations: 27.81 MB / 1.436 GB, free: 117.7 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008414/2.775, allocations: 7.335 MB / 1.443 GB, free: 110.3 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003899/2.779, allocations: 0.8739 MB / 1.444 GB, free: 109.4 MB / 1.014 GB Notification: Performance of SimCode: time 2.104e-06/2.779, allocations: 0 / 1.444 GB, free: 109.4 MB / 1.014 GB Notification: Performance of Templates: time 0.2727/3.052, allocations: 200.4 MB / 1.64 GB, free: 5.688 MB / 1.108 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++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_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:2612:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp126; ^ ./OMCppBuildings_9_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_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:2658:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp129; ^ ./OMCppBuildings_9_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_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:2990:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp149; ^ ./OMCppBuildings_9_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_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3036:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp152; ^ ./OMCppBuildings_9_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_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3368:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp172; ^ ./OMCppBuildings_9_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_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3414:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp175; ^ ./OMCppBuildings_9_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_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3746:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp195; ^ ./OMCppBuildings_9_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_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3792:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp198; ^ ./OMCppBuildings_9_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_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:4124:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp218; ^ ./OMCppBuildings_9_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_9_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_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedCalcHelperMain.o] Error 1