Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001506/0.001506, allocations: 106.4 kB / 16.41 MB, free: 5.977 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.0016/0.0016, allocations: 186.5 kB / 17.34 MB, free: 5.586 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.415/1.415, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.685/2.685, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.00151, allocations: 59.89 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8995/0.9011, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized): time 0.07343/0.9745, allocations: 66.55 MB / 1.273 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02499/0.9996, allocations: 16.76 MB / 1.29 GB, free: 10.08 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003395/1.003, allocations: 63.62 kB / 1.29 GB, free: 10.02 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002961/1.006, allocations: 0.819 MB / 1.291 GB, free: 9.191 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.008395/1.014, allocations: 2.546 MB / 1.293 GB, free: 6.633 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005528/1.02, allocations: 1.811 MB / 1.295 GB, free: 4.828 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.051/1.071, allocations: 35.8 MB / 1.33 GB, free: 0.9375 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02583/1.097, allocations: 15.77 MB / 1.345 GB, free: 1.031 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02716/1.124, allocations: 11.98 MB / 1.357 GB, free: 5.074 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0189/1.143, allocations: 9.699 MB / 1.366 GB, free: 11.34 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.005471/1.149, allocations: 1.453 MB / 1.368 GB, free: 9.883 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01315/1.162, allocations: 3.18 MB / 1.371 GB, free: 6.699 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.007057/1.169, allocations: 3.279 MB / 1.374 GB, free: 3.41 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.01836/1.187, allocations: 7.31 MB / 1.381 GB, free: 12.07 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.03461/1.222, allocations: 21.95 MB / 1.403 GB, free: 6.066 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 1.111e-05/1.222, allocations: 4 kB / 1.403 GB, free: 6.062 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.896e-06/1.222, allocations: 0 / 1.403 GB, free: 6.062 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0007781/1.223, allocations: 0 / 1.403 GB, free: 6.062 MB / 1.123 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.04343/1.266, allocations: 13.13 MB / 1.416 GB, free: 8.816 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/1.266, allocations: 8.031 kB / 1.416 GB, free: 8.809 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008061/1.274, allocations: 1.291 MB / 1.417 GB, free: 7.504 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03033/1.305, allocations: 12.97 MB / 1.429 GB, free: 10.43 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006406/1.305, allocations: 0.5294 MB / 1.43 GB, free: 9.902 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00347/1.309, allocations: 0.7068 MB / 1.431 GB, free: 9.195 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03281/1.342, allocations: 11.21 MB / 1.442 GB, free: 13.7 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005866/1.342, allocations: 35.67 kB / 1.442 GB, free: 13.66 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003649/1.346, allocations: 304 kB / 1.442 GB, free: 13.36 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003818/1.346, allocations: 223.9 kB / 1.442 GB, free: 13.14 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02501/1.371, allocations: 9.245 MB / 1.451 GB, free: 3.883 MB / 1.17 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.09064/1.462, allocations: 52.13 MB / 1.502 GB, free: 12.34 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00976/1.472, allocations: 4.853 MB / 1.507 GB, free: 7.477 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005627/1.478, allocations: 2.825 MB / 1.51 GB, free: 4.645 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002174/1.48, allocations: 1.718 MB / 1.511 GB, free: 2.578 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000142/1.48, allocations: 102.1 kB / 1.511 GB, free: 2.469 MB / 1.232 GB Notification: Performance of pre-optimization done (n=420): time 9.858e-06/1.48, allocations: 3.938 kB / 1.511 GB, free: 2.465 MB / 1.232 GB Notification: Performance of matching and sorting (n=420): time 0.01961/1.5, allocations: 7.811 MB / 1.519 GB, free: 10.63 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.466e-05/1.5, allocations: 90.55 kB / 1.519 GB, free: 10.53 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02544/1.525, allocations: 10.47 MB / 1.529 GB, free: 104 kB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.00143/1.527, allocations: 113.8 kB / 1.529 GB, free: 15.98 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.006557/1.533, allocations: 4.717 MB / 1.534 GB, free: 11.23 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.003231/1.537, allocations: 1.486 MB / 1.535 GB, free: 9.723 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004416/1.541, allocations: 1.107 MB / 1.537 GB, free: 8.605 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001053/1.541, allocations: 305.1 kB / 1.537 GB, free: 8.305 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005477/1.547, allocations: 2.672 MB / 1.539 GB, free: 5.617 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006801/1.553, allocations: 4.204 MB / 1.544 GB, free: 0.75 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01259/1.566, allocations: 7.413 MB / 1.551 GB, free: 8.676 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-05/1.566, allocations: 12 kB / 1.551 GB, free: 8.664 MB / 1.279 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.02072/1.587, allocations: 7.984 MB / 1.559 GB, free: 0.6602 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 8.007e-05/1.587, allocations: 28.12 kB / 1.559 GB, free: 0.6328 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002729/1.587, allocations: 75.97 kB / 1.559 GB, free: 0.5586 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001121/1.587, allocations: 76 kB / 1.559 GB, free: 496 kB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.403/2.991, allocations: 1.199 MB / 1.56 GB, free: 316.8 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002237/2.991, allocations: 104.8 kB / 1.56 GB, free: 316.8 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009186/3, allocations: 0.6835 MB / 1.561 GB, free: 316.8 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001702/3.002, allocations: 282.3 kB / 1.561 GB, free: 316.8 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01468/3.017, allocations: 6.44 MB / 1.567 GB, free: 316.7 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006406/3.023, allocations: 4.197 MB / 1.571 GB, free: 314 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0109/3.034, allocations: 7.41 MB / 1.579 GB, free: 309.7 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.935e-05/3.034, allocations: 11.91 kB / 1.579 GB, free: 309.7 MB / 1.279 GB Notification: Performance of matching and sorting (n=694) (initialization_lambda0): time 0.01903/3.053, allocations: 7.982 MB / 1.586 GB, free: 307.1 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 8.166e-05/3.053, allocations: 25.81 kB / 1.586 GB, free: 307.1 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002511/3.053, allocations: 80.72 kB / 1.587 GB, free: 307.1 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001033/3.054, allocations: 71.16 kB / 1.587 GB, free: 307.1 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004712/3.058, allocations: 1.211 MB / 1.588 GB, free: 307 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001515/3.058, allocations: 104.3 kB / 1.588 GB, free: 307 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008372/3.067, allocations: 0.5715 MB / 1.588 GB, free: 306.9 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001268/3.068, allocations: 282.9 kB / 1.589 GB, free: 306.8 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 211 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (674): * Single equations (assignments): 654 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002947/3.071, allocations: 0.5082 MB / 1.589 GB, free: 306.4 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004106/3.075, allocations: 0.8462 MB / 1.59 GB, free: 306.4 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02053/3.096, allocations: 8.907 MB / 1.599 GB, free: 303.4 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001166/3.096, allocations: 80.89 kB / 1.599 GB, free: 303.4 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-05/3.096, allocations: 3.75 kB / 1.599 GB, free: 303.4 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01201/3.108, allocations: 6.106 MB / 1.605 GB, free: 298.4 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05109/3.159, allocations: 20.63 MB / 1.625 GB, free: 278.3 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003417/3.16, allocations: 48 kB / 1.625 GB, free: 278.3 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006547/3.166, allocations: 0.944 MB / 1.626 GB, free: 277.3 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001057/3.166, allocations: 32.66 kB / 1.626 GB, free: 277.3 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001512/3.168, allocations: 187.9 kB / 1.626 GB, free: 277.1 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.383e-05/3.168, allocations: 39.92 kB / 1.626 GB, free: 277.1 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.857e-05/3.168, allocations: 19.88 kB / 1.626 GB, free: 277 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03577/3.204, allocations: 11.62 MB / 1.638 GB, free: 265 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01041/3.214, allocations: 2.353 MB / 1.64 GB, free: 262.7 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005591/3.22, allocations: 148 kB / 1.64 GB, free: 262.5 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01385/3.234, allocations: 331.3 kB / 1.64 GB, free: 262.2 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002238/3.236, allocations: 450.6 kB / 1.641 GB, free: 261.8 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001845/3.238, allocations: 271.8 kB / 1.641 GB, free: 261.5 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.02851/3.266, allocations: 8.204 MB / 1.649 GB, free: 253.3 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.122e-06/3.267, allocations: 0 / 1.649 GB, free: 253.3 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.02917/3.296, allocations: 4.908 MB / 1.654 GB, free: 248.4 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 59 * Number of states: 42 (pip.pipSeg[1].del.x,pip.pipSeg[1].timDel.x,pip.pipSeg[1].vol_b.dynBal.U,pip.pipSeg[1].vol_a.dynBal.U,pip.pipSeg[2].del.x,pip.pipSeg[2].timDel.x,pip.pipSeg[2].vol_b.dynBal.U,pip.pipSeg[2].vol_a.dynBal.U,pip.pipSeg[3].del.x,pip.pipSeg[3].timDel.x,pip.pipSeg[3].vol_b.dynBal.U,pip.pipSeg[3].vol_a.dynBal.U,pip.pipSeg[4].del.x,pip.pipSeg[4].timDel.x,pip.pipSeg[4].vol_b.dynBal.U,pip.pipSeg[4].vol_a.dynBal.U,pip.pipSeg[5].del.x,pip.pipSeg[5].timDel.x,pip.pipSeg[5].vol_b.dynBal.U,pip.pipSeg[5].vol_a.dynBal.U,pip.pipSeg[6].del.x,pip.pipSeg[6].timDel.x,pip.pipSeg[6].vol_b.dynBal.U,pip.pipSeg[6].vol_a.dynBal.U,pip.pipSeg[7].del.x,pip.pipSeg[7].timDel.x,pip.pipSeg[7].vol_b.dynBal.U,pip.pipSeg[7].vol_a.dynBal.U,pip.pipSeg[8].del.x,pip.pipSeg[8].timDel.x,pip.pipSeg[8].vol_b.dynBal.U,pip.pipSeg[8].vol_a.dynBal.U,pip.pipSeg[9].del.x,pip.pipSeg[9].timDel.x,pip.pipSeg[9].vol_b.dynBal.U,pip.pipSeg[9].vol_a.dynBal.U,pip.pipSeg[10].del.x,pip.pipSeg[10].timDel.x,pip.pipSeg[10].vol_b.dynBal.U,pip.pipSeg[10].vol_a.dynBal.U,senTemOut.T,senTemIn.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (536): * Single equations (assignments): 450 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 86 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004167/3.3, allocations: 0.7886 MB / 1.655 GB, free: 247.8 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.03172/3.332, allocations: 11.35 MB / 1.666 GB, free: 236.2 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.033e-05/3.332, allocations: 4.562 kB / 1.666 GB, free: 236.2 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.01116/3.343, allocations: 4.237 MB / 1.67 GB, free: 231.8 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05424/3.397, allocations: 6.225 MB / 1.676 GB, free: 225.8 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0659/3.463, allocations: 23.79 MB / 1.699 GB, free: 201.8 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007333/3.471, allocations: 7.339 MB / 1.706 GB, free: 194.4 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003491/3.474, allocations: 0.8817 MB / 1.707 GB, free: 193.5 MB / 1.279 GB Notification: Performance of SimCode: time 8.32e-07/3.474, allocations: 0 / 1.707 GB, free: 193.5 MB / 1.279 GB Notification: Performance of Templates: time 0.2454/3.72, allocations: 204.5 MB / 1.907 GB, free: 5.621 MB / 1.295 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedCalcHelperMain.cpp In file included from OMCppBuildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedCalcHelperMain.cpp:29: ./OMCppBuildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:2720:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp126; ^ ./OMCppBuildings_latest_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_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:2766:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp129; ^ ./OMCppBuildings_latest_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_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3098:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp149; ^ ./OMCppBuildings_latest_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_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3144:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp152; ^ ./OMCppBuildings_latest_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_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3476:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp172; ^ ./OMCppBuildings_latest_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_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3522:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp175; ^ ./OMCppBuildings_latest_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_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3854:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp195; ^ ./OMCppBuildings_latest_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_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3900:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp198; ^ ./OMCppBuildings_latest_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_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:4232:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp218; ^ ./OMCppBuildings_latest_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_latest_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_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedCalcHelperMain.o] Error 1