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.001256/0.001256, allocations: 104.3 kB / 16.4 MB, free: 6.457 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.001142/0.001142, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.274/1.274, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7835/0.7835, allocations: 132.2 MB / 423.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 59.22 kB / 0.582 GB, free: 23.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1284, allocations: 80.22 MB / 0.6603 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized): time 0.06267/0.1911, allocations: 66.52 MB / 0.7253 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02109/0.2122, allocations: 16.71 MB / 0.7416 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002249/0.2145, allocations: 63.62 kB / 0.7417 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002248/0.2168, allocations: 0.8152 MB / 0.7425 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006659/0.2235, allocations: 2.546 MB / 0.7449 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005013/0.2285, allocations: 1.804 MB / 0.7467 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.3465/0.575, allocations: 35.76 MB / 0.7816 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02016/0.5952, allocations: 15.82 MB / 0.7971 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02291/0.6181, allocations: 12 MB / 0.8088 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01768/0.6358, allocations: 9.719 MB / 0.8183 GB, free: 3.562 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.004444/0.6403, allocations: 1.453 MB / 0.8197 GB, free: 2.109 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01146/0.6518, allocations: 3.172 MB / 0.8228 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005864/0.6577, allocations: 3.282 MB / 0.826 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.01561/0.6733, allocations: 7.31 MB / 0.8332 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02752/0.7009, allocations: 21.97 MB / 0.8546 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.7009, allocations: 4 kB / 0.8546 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7009, allocations: 4 kB / 0.8546 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0005773/0.7015, allocations: 3.656 kB / 0.8546 GB, free: 15.13 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.03284/0.7343, allocations: 13.13 MB / 0.8674 GB, free: 2 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.7344, allocations: 8.031 kB / 0.8675 GB, free: 1.992 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005877/0.7403, allocations: 1.288 MB / 0.8687 GB, free: 0.6914 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0255/0.7658, allocations: 12.96 MB / 0.8814 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004812/0.7663, allocations: 0.5255 MB / 0.8819 GB, free: 3.344 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00247/0.7688, allocations: 0.7221 MB / 0.8826 GB, free: 2.625 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02383/0.7926, allocations: 11.2 MB / 0.8935 GB, free: 7.148 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002937/0.793, allocations: 27.78 kB / 0.8936 GB, free: 7.121 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001693/0.7947, allocations: 299.9 kB / 0.8938 GB, free: 6.832 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002444/0.7949, allocations: 231.8 kB / 0.8941 GB, free: 6.609 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01783/0.8128, allocations: 9.241 MB / 0.9031 GB, free: 13.35 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.07459/0.8874, allocations: 52.12 MB / 0.954 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008679/0.8961, allocations: 4.853 MB / 0.9587 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004831/0.901, allocations: 2.821 MB / 0.9615 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001834/0.9028, allocations: 1.716 MB / 0.9632 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001037/0.903, allocations: 90.27 kB / 0.9632 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=420): time 7.614e-06/0.903, allocations: 0 / 0.9632 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of matching and sorting (n=420): time 0.01726/0.9202, allocations: 7.827 MB / 0.9709 GB, free: 4.578 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.301e-05/0.9204, allocations: 94.55 kB / 0.971 GB, free: 4.473 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02116/0.9415, allocations: 10.47 MB / 0.9812 GB, free: 10.05 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.001173/0.9427, allocations: 105.7 kB / 0.9813 GB, free: 9.938 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.006039/0.9488, allocations: 4.721 MB / 0.9859 GB, free: 5.195 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.002711/0.9516, allocations: 1.484 MB / 0.9874 GB, free: 3.723 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003349/0.9549, allocations: 1.099 MB / 0.9884 GB, free: 2.613 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.905e-05/0.955, allocations: 305.1 kB / 0.9887 GB, free: 2.312 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00472/0.9598, allocations: 2.676 MB / 0.9913 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006331/0.9661, allocations: 4.2 MB / 0.9954 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01138/0.9775, allocations: 7.412 MB / 1.003 GB, free: 2.711 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.981e-05/0.9776, allocations: 12 kB / 1.003 GB, free: 2.699 MB / 0.7794 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01787/0.9955, allocations: 7.992 MB / 1.01 GB, free: 10.69 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.172e-05/0.9956, allocations: 24 kB / 1.011 GB, free: 10.66 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002057/0.9958, allocations: 79.95 kB / 1.011 GB, free: 10.59 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001017/0.9959, allocations: 79.94 kB / 1.011 GB, free: 10.51 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00463/1.001, allocations: 1.201 MB / 1.012 GB, free: 9.305 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001255/1.001, allocations: 103.7 kB / 1.012 GB, free: 9.203 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007202/1.008, allocations: 0.6856 MB / 1.013 GB, free: 8.512 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001099/1.009, allocations: 279.9 kB / 1.013 GB, free: 8.238 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01128/1.02, allocations: 6.44 MB / 1.019 GB, free: 1.785 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007052/1.027, allocations: 4.195 MB / 1.023 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01813/1.046, allocations: 7.414 MB / 1.03 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.671e-05/1.046, allocations: 12 kB / 1.031 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of matching and sorting (n=694) (initialization_lambda0): time 0.01988/1.066, allocations: 7.984 MB / 1.038 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.96e-05/1.066, allocations: 31.94 kB / 1.038 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002112/1.066, allocations: 75.97 kB / 1.038 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.333e-05/1.066, allocations: 72 kB / 1.038 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004875/1.071, allocations: 1.201 MB / 1.04 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001383/1.071, allocations: 103.6 kB / 1.04 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007798/1.079, allocations: 0.5818 MB / 1.04 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00123/1.08, allocations: 279.9 kB / 1.041 GB, free: 10.52 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.002124/1.082, allocations: 0.5025 MB / 1.041 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003563/1.086, allocations: 0.8451 MB / 1.042 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01865/1.105, allocations: 8.914 MB / 1.051 GB, free: 324 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.594e-05/1.105, allocations: 83.88 kB / 1.051 GB, free: 240 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.103e-05/1.105, allocations: 0 / 1.051 GB, free: 240 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.5459/1.651, allocations: 6.101 MB / 1.057 GB, free: 297.4 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03558/1.686, allocations: 20.64 MB / 1.077 GB, free: 289.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.944e-05/1.686, allocations: 43.95 kB / 1.077 GB, free: 289.3 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00354/1.69, allocations: 0.9414 MB / 1.078 GB, free: 289.2 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-05/1.69, allocations: 36.94 kB / 1.078 GB, free: 289.2 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003854/1.69, allocations: 190.4 kB / 1.078 GB, free: 289.2 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.24e-05/1.69, allocations: 39.14 kB / 1.078 GB, free: 289.2 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.19e-05/1.69, allocations: 21.84 kB / 1.078 GB, free: 289.1 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01486/1.705, allocations: 11.62 MB / 1.089 GB, free: 284.3 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004916/1.71, allocations: 2.345 MB / 1.092 GB, free: 283.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002081/1.712, allocations: 142.4 kB / 1.092 GB, free: 283.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005469/1.718, allocations: 333.5 kB / 1.092 GB, free: 283.3 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006791/1.719, allocations: 445.5 kB / 1.093 GB, free: 283.2 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004908/1.719, allocations: 273.4 kB / 1.093 GB, free: 283.2 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 0.01159/1.731, allocations: 8.204 MB / 1.101 GB, free: 279.1 MB / 0.8263 GB Notification: Performance of sort global known variables: time 5.51e-07/1.731, allocations: 0 / 1.101 GB, free: 279.1 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.01305/1.744, allocations: 4.914 MB / 1.106 GB, free: 277.5 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.001732/1.745, allocations: 0.7903 MB / 1.106 GB, free: 276.8 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.0126/1.758, allocations: 11.35 MB / 1.117 GB, free: 265.3 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 1.606e-05/1.758, allocations: 8.562 kB / 1.117 GB, free: 265.3 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 0.004453/1.763, allocations: 4.234 MB / 1.122 GB, free: 260.9 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02513/1.788, allocations: 6.226 MB / 1.128 GB, free: 255.1 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03272/1.82, allocations: 23.81 MB / 1.151 GB, free: 231.1 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007154/1.828, allocations: 7.343 MB / 1.158 GB, free: 223.8 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003306/1.831, allocations: 0.8818 MB / 1.159 GB, free: 222.9 MB / 0.8263 GB Notification: Performance of SimCode: time 8.72e-07/1.831, allocations: 0 / 1.159 GB, free: 222.9 MB / 0.8263 GB Notification: Performance of Templates: time 0.5292/2.36, allocations: 205.9 MB / 1.36 GB, free: 259.8 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