Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized") translateModel(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001566/0.001566, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001801/0.001801, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.435/1.435, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7879/0.7879, allocations: 132.2 MB / 423.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001252, allocations: 74.39 kB / 0.582 GB, free: 23.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1514, allocations: 80.21 MB / 0.6603 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized): time 0.0665/0.218, allocations: 66.53 MB / 0.7253 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02327/0.2413, allocations: 16.71 MB / 0.7416 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003238/0.2446, allocations: 67.62 kB / 0.7417 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002736/0.2474, allocations: 0.8347 MB / 0.7425 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008023/0.2554, allocations: 2.671 MB / 0.7451 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005424/0.2609, allocations: 1.819 MB / 0.7469 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.421/0.6819, allocations: 35.8 MB / 0.7818 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03023/0.7121, allocations: 15.81 MB / 0.7973 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04013/0.7523, allocations: 11.99 MB / 0.809 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02954/0.7819, allocations: 9.723 MB / 0.8185 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.006803/0.7888, allocations: 1.453 MB / 0.8199 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01585/0.8047, allocations: 3.174 MB / 0.823 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00701/0.8118, allocations: 3.284 MB / 0.8262 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.01949/0.8313, allocations: 7.318 MB / 0.8334 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.03126/0.8626, allocations: 21.97 MB / 0.8548 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 9.628e-06/0.8627, allocations: 0 / 0.8548 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.462e-06/0.8627, allocations: 0 / 0.8548 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0007279/0.8634, allocations: 0 / 0.8548 GB, free: 14.72 MB / 0.6387 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.0384/0.9018, allocations: 13.13 MB / 0.8676 GB, free: 1.586 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.9019, allocations: 8.031 kB / 0.8676 GB, free: 1.578 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007456/0.9094, allocations: 1.288 MB / 0.8689 GB, free: 284 kB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02871/0.9381, allocations: 12.97 MB / 0.8816 GB, free: 3.457 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005606/0.9387, allocations: 0.5278 MB / 0.8821 GB, free: 2.93 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003184/0.9419, allocations: 0.7166 MB / 0.8828 GB, free: 2.215 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03057/0.9725, allocations: 11.21 MB / 0.8937 GB, free: 6.73 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005154/0.9731, allocations: 27.78 kB / 0.8937 GB, free: 6.703 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002869/0.976, allocations: 302.4 kB / 0.894 GB, free: 6.41 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002815/0.9763, allocations: 219.9 kB / 0.8942 GB, free: 6.195 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02286/0.9991, allocations: 9.253 MB / 0.9033 GB, free: 12.93 MB / 0.6856 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.08568/1.085, allocations: 52.12 MB / 0.9542 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01024/1.095, allocations: 4.845 MB / 0.9589 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005445/1.101, allocations: 2.832 MB / 0.9617 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001928/1.103, allocations: 1.712 MB / 0.9633 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001375/1.103, allocations: 94.25 kB / 0.9634 GB, free: 12 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=420): time 1.295e-05/1.103, allocations: 0 / 0.9634 GB, free: 12 MB / 0.7481 GB Notification: Performance of matching and sorting (n=420): time 0.02016/1.123, allocations: 7.827 MB / 0.9711 GB, free: 4.148 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.58e-05/1.123, allocations: 90.55 kB / 0.9712 GB, free: 4.047 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.024/1.147, allocations: 10.47 MB / 0.9814 GB, free: 9.617 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.001276/1.148, allocations: 109.7 kB / 0.9815 GB, free: 9.504 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.006406/1.155, allocations: 4.715 MB / 0.9861 GB, free: 4.77 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.003022/1.158, allocations: 1.485 MB / 0.9876 GB, free: 3.297 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004075/1.162, allocations: 1.103 MB / 0.9886 GB, free: 2.184 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.909e-05/1.162, allocations: 301.1 kB / 0.9889 GB, free: 1.887 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005234/1.167, allocations: 2.682 MB / 0.9915 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006536/1.174, allocations: 4.196 MB / 0.9956 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01226/1.186, allocations: 7.413 MB / 1.003 GB, free: 2.285 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.475e-05/1.186, allocations: 12 kB / 1.003 GB, free: 2.273 MB / 0.7794 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01914/1.206, allocations: 7.993 MB / 1.011 GB, free: 10.26 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.35e-05/1.206, allocations: 24 kB / 1.011 GB, free: 10.24 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002285/1.206, allocations: 71.97 kB / 1.011 GB, free: 10.17 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.652e-05/1.206, allocations: 79.94 kB / 1.011 GB, free: 10.09 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004836/1.211, allocations: 1.213 MB / 1.012 GB, free: 8.879 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001498/1.211, allocations: 103.7 kB / 1.012 GB, free: 8.777 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007809/1.219, allocations: 0.6856 MB / 1.013 GB, free: 8.086 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001369/1.22, allocations: 279.9 kB / 1.013 GB, free: 7.812 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01319/1.233, allocations: 6.44 MB / 1.019 GB, free: 1.359 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007073/1.241, allocations: 4.2 MB / 1.023 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01333/1.254, allocations: 7.401 MB / 1.031 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.7e-05/1.254, allocations: 12 kB / 1.031 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of matching and sorting (n=694) (initialization_lambda0): time 0.02098/1.275, allocations: 7.986 MB / 1.039 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.337e-05/1.275, allocations: 31.94 kB / 1.039 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002657/1.275, allocations: 71.97 kB / 1.039 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.398e-05/1.275, allocations: 76 kB / 1.039 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005094/1.281, allocations: 1.202 MB / 1.04 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000156/1.281, allocations: 103.6 kB / 1.04 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008179/1.289, allocations: 0.5741 MB / 1.041 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001518/1.291, allocations: 283.9 kB / 1.041 GB, free: 10.1 MB / 0.8262 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.002607/1.293, allocations: 0.5102 MB / 1.041 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004142/1.297, allocations: 0.849 MB / 1.042 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6647/1.962, allocations: 8.897 MB / 1.051 GB, free: 295.2 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002033/1.962, allocations: 80.56 kB / 1.051 GB, free: 295.2 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.879e-05/1.962, allocations: 1.25 kB / 1.051 GB, free: 295.2 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01338/1.976, allocations: 6.108 MB / 1.057 GB, free: 294.8 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04455/2.02, allocations: 20.64 MB / 1.077 GB, free: 286.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001686/2.021, allocations: 39.8 kB / 1.077 GB, free: 286.7 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003999/2.025, allocations: 0.9363 MB / 1.078 GB, free: 286.6 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.537e-05/2.025, allocations: 41.41 kB / 1.078 GB, free: 286.6 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008706/2.026, allocations: 188.7 kB / 1.078 GB, free: 286.5 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.593e-05/2.026, allocations: 41.64 kB / 1.078 GB, free: 286.5 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.544e-05/2.026, allocations: 23.69 kB / 1.078 GB, free: 286.5 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01897/2.045, allocations: 11.62 MB / 1.09 GB, free: 281.7 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00692/2.052, allocations: 2.347 MB / 1.092 GB, free: 280.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003229/2.055, allocations: 142.1 kB / 1.092 GB, free: 280.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007316/2.062, allocations: 334.3 kB / 1.092 GB, free: 280.7 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001399/2.064, allocations: 447.4 kB / 1.093 GB, free: 280.6 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008067/2.064, allocations: 263.1 kB / 1.093 GB, free: 280.5 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 0.0147/2.079, allocations: 8.209 MB / 1.101 GB, free: 276.4 MB / 0.8263 GB Notification: Performance of sort global known variables: time 5.61e-07/2.079, allocations: 0 / 1.101 GB, free: 276.4 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.01719/2.096, allocations: 4.914 MB / 1.106 GB, free: 275.8 MB / 0.8263 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.002436/2.099, allocations: 0.778 MB / 1.107 GB, free: 275.5 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.0166/2.115, allocations: 11.36 MB / 1.118 GB, free: 264.4 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 2.662e-05/2.116, allocations: 10.34 kB / 1.118 GB, free: 264.4 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 0.006251/2.122, allocations: 4.232 MB / 1.122 GB, free: 260.1 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03206/2.154, allocations: 6.222 MB / 1.128 GB, free: 254.3 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04233/2.196, allocations: 23.81 MB / 1.151 GB, free: 230.3 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0116/2.208, allocations: 7.336 MB / 1.158 GB, free: 222.9 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004197/2.212, allocations: 0.8909 MB / 1.159 GB, free: 222 MB / 0.8263 GB Notification: Performance of SimCode: time 1.383e-06/2.212, allocations: 4 kB / 1.159 GB, free: 222 MB / 0.8263 GB Notification: Performance of Templates: time 0.5893/2.801, allocations: 204.5 MB / 1.359 GB, free: 272 MB / 0.8263 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.makefile make -j1 -f IDEAS_IDEAS.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 OMCppIDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedCalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedCalcHelperMain.cpp:29: ./OMCppIDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:2720:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp126; ^ ./OMCppIDEAS_IDEAS.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); ~~~~~~~~~~ ^ ./OMCppIDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:2766:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp129; ^ ./OMCppIDEAS_IDEAS.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); ~~~~~~~~~~ ^ ./OMCppIDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3098:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp149; ^ ./OMCppIDEAS_IDEAS.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); ~~~~~~~~~~ ^ ./OMCppIDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3144:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp152; ^ ./OMCppIDEAS_IDEAS.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); ~~~~~~~~~~ ^ ./OMCppIDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3476:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp172; ^ ./OMCppIDEAS_IDEAS.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); ~~~~~~~~~~ ^ ./OMCppIDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3522:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp175; ^ ./OMCppIDEAS_IDEAS.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); ~~~~~~~~~~ ^ ./OMCppIDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3854:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp195; ^ ./OMCppIDEAS_IDEAS.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); ~~~~~~~~~~ ^ ./OMCppIDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3900:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp198; ^ ./OMCppIDEAS_IDEAS.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); ~~~~~~~~~~ ^ ./OMCppIDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:4232:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp218; ^ ./OMCppIDEAS_IDEAS.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); ~~~~~~~~~~ ^ ./OMCppIDEAS_IDEAS.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: *** [: OMCppIDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedCalcHelperMain.o] Error 1