Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized") translateModel(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.002001/0.002001, allocations: 113.6 kB / 16.41 MB, free: 6.496 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.00208/0.00208, allocations: 183 kB / 17.34 MB, free: 5.762 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.632/1.632, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8414/0.8414, allocations: 135.2 MB / 426.4 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 59.56 kB / 0.5863 GB, free: 21.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1581, allocations: 80.94 MB / 0.6653 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized): time 0.07129/0.2293, allocations: 66.64 MB / 0.7304 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02436/0.2537, allocations: 16.74 MB / 0.7468 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002593/0.2563, allocations: 63.62 kB / 0.7468 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002474/0.2588, allocations: 0.8463 MB / 0.7477 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.3874/0.6462, allocations: 2.669 MB / 0.7503 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005374/0.6515, allocations: 1.811 MB / 0.752 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.05506/0.7066, allocations: 35.74 MB / 0.7869 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02256/0.7292, allocations: 12.86 MB / 0.7995 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02773/0.7569, allocations: 11.99 MB / 0.8112 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01898/0.7759, allocations: 9.716 MB / 0.8207 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004585/0.7805, allocations: 1.457 MB / 0.8221 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01249/0.793, allocations: 3.171 MB / 0.8252 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00734/0.8003, allocations: 3.418 MB / 0.8286 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.01853/0.8188, allocations: 7.308 MB / 0.8357 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.03474/0.8536, allocations: 22.04 MB / 0.8572 GB, free: 9.113 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.151e-05/0.8536, allocations: 8 kB / 0.8572 GB, free: 9.105 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.442e-06/0.8536, allocations: 0 / 0.8572 GB, free: 9.105 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0006153/0.8542, allocations: 0 / 0.8572 GB, free: 9.105 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.03811/0.8923, allocations: 13.47 MB / 0.8704 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.8923, allocations: 13.11 kB / 0.8704 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00778/0.9001, allocations: 1.351 MB / 0.8717 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02834/0.9285, allocations: 13.04 MB / 0.8844 GB, free: 13.38 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005934/0.9291, allocations: 0.5212 MB / 0.885 GB, free: 12.86 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002823/0.9319, allocations: 0.7216 MB / 0.8857 GB, free: 12.14 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02878/0.9607, allocations: 11.2 MB / 0.8966 GB, free: 0.6602 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003471/0.961, allocations: 35.77 kB / 0.8966 GB, free: 0.625 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00217/0.9632, allocations: 306.2 kB / 0.8969 GB, free: 340 kB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002688/0.9634, allocations: 223.9 kB / 0.8971 GB, free: 116 kB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02139/0.9848, allocations: 9.241 MB / 0.9062 GB, free: 6.855 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.08384/1.069, allocations: 52.2 MB / 0.9571 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009512/1.078, allocations: 4.568 MB / 0.9616 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004801/1.083, allocations: 2.622 MB / 0.9642 GB, free: 8.477 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001918/1.085, allocations: 1.709 MB / 0.9658 GB, free: 6.445 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001185/1.085, allocations: 94.2 kB / 0.9659 GB, free: 6.344 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=420): time 6.302e-06/1.085, allocations: 4 kB / 0.9659 GB, free: 6.34 MB / 0.7481 GB Notification: Performance of matching and sorting (n=420): time 0.01693/1.102, allocations: 7.859 MB / 0.9736 GB, free: 14.46 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.434e-05/1.102, allocations: 94.55 kB / 0.9737 GB, free: 14.35 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02074/1.123, allocations: 10.46 MB / 0.9839 GB, free: 3.93 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.001093/1.124, allocations: 109.7 kB / 0.984 GB, free: 3.816 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.005777/1.13, allocations: 4.808 MB / 0.9887 GB, free: 15 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.002804/1.132, allocations: 1.561 MB / 0.9902 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002117/1.135, allocations: 1.104 MB / 0.9913 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001404/1.135, allocations: 304.9 kB / 0.9916 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0048/1.14, allocations: 2.684 MB / 0.9942 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006514/1.146, allocations: 4.196 MB / 0.9983 GB, free: 4.488 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01275/1.159, allocations: 7.413 MB / 1.006 GB, free: 12.43 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.183e-05/1.159, allocations: 12 kB / 1.006 GB, free: 12.42 MB / 0.795 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01834/1.177, allocations: 8.031 MB / 1.013 GB, free: 4.375 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.281e-05/1.177, allocations: 24 kB / 1.013 GB, free: 4.352 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000201/1.177, allocations: 67.98 kB / 1.014 GB, free: 4.285 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.97e-05/1.178, allocations: 79.66 kB / 1.014 GB, free: 4.211 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00473/1.182, allocations: 1.206 MB / 1.015 GB, free: 3.004 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001325/1.182, allocations: 107.6 kB / 1.015 GB, free: 2.898 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007261/1.19, allocations: 0.7028 MB / 1.016 GB, free: 2.191 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001148/1.191, allocations: 279.9 kB / 1.016 GB, free: 1.918 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01276/1.204, allocations: 6.439 MB / 1.022 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007002/1.211, allocations: 4.196 MB / 1.026 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01257/1.223, allocations: 7.414 MB / 1.033 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.565e-05/1.223, allocations: 16 kB / 1.033 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of matching and sorting (n=694) (initialization_lambda0): time 0.01784/1.241, allocations: 8.027 MB / 1.041 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.497e-05/1.241, allocations: 28 kB / 1.041 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001732/1.241, allocations: 71.98 kB / 1.041 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.506e-05/1.241, allocations: 75.94 kB / 1.041 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004601/1.246, allocations: 1.202 MB / 1.043 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001299/1.246, allocations: 111.6 kB / 1.043 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006906/1.253, allocations: 0.5907 MB / 1.043 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00105/1.254, allocations: 283.9 kB / 1.044 GB, free: 4.141 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.001422/1.255, allocations: 0.5076 MB / 1.044 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00297/1.258, allocations: 0.885 MB / 1.045 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01699/1.275, allocations: 8.912 MB / 1.054 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.924e-05/1.275, allocations: 83.95 kB / 1.054 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/1.275, allocations: 0 / 1.054 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01104/1.287, allocations: 6.107 MB / 1.06 GB, free: 3.586 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6543/1.941, allocations: 20.65 MB / 1.08 GB, free: 303.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001656/1.941, allocations: 42.12 kB / 1.08 GB, free: 303.8 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004015/1.945, allocations: 0.9432 MB / 1.081 GB, free: 303.7 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.583e-05/1.945, allocations: 31.47 kB / 1.081 GB, free: 303.7 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007659/1.946, allocations: 190.6 kB / 1.081 GB, free: 303.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.697e-05/1.946, allocations: 39.2 kB / 1.081 GB, free: 303.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.931e-05/1.946, allocations: 22.03 kB / 1.081 GB, free: 303.6 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0199/1.966, allocations: 11.68 MB / 1.092 GB, free: 298.8 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007696/1.973, allocations: 2.395 MB / 1.095 GB, free: 298 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004008/1.977, allocations: 141.8 kB / 1.095 GB, free: 297.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008181/1.986, allocations: 331.3 kB / 1.095 GB, free: 297.8 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001483/1.987, allocations: 449.8 kB / 1.096 GB, free: 297.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000809/1.988, allocations: 271.7 kB / 1.096 GB, free: 297.7 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.01723/2.005, allocations: 8.207 MB / 1.104 GB, free: 295 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.3e-07/2.005, allocations: 3.828 kB / 1.104 GB, free: 295 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.01849/2.024, allocations: 4.939 MB / 1.109 GB, free: 294.4 MB / 0.8419 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.002407/2.026, allocations: 0.7931 MB / 1.11 GB, free: 294.2 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01677/2.043, allocations: 10.91 MB / 1.12 GB, free: 286.6 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.517e-05/2.043, allocations: 8.562 kB / 1.12 GB, free: 286.6 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.006248/2.049, allocations: 4.024 MB / 1.124 GB, free: 282.4 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03087/2.08, allocations: 6.221 MB / 1.13 GB, free: 276.6 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03793/2.118, allocations: 24.14 MB / 1.154 GB, free: 252.3 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008274/2.126, allocations: 7.347 MB / 1.161 GB, free: 244.9 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003675/2.13, allocations: 0.8817 MB / 1.162 GB, free: 244.1 MB / 0.8419 GB Notification: Performance of SimCode: time 2.635e-06/2.13, allocations: 0 / 1.162 GB, free: 244.1 MB / 0.8419 GB Notification: Performance of Templates: time 0.2277/2.358, allocations: 205.5 MB / 1.363 GB, free: 39.2 MB / 0.8419 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.makefile make -j1 -f IDEAS_dev_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_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedCalcHelperMain.cpp:29: ./OMCppIDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:2720:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp126; ^ ./OMCppIDEAS_dev_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_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:2766:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp129; ^ ./OMCppIDEAS_dev_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_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3098:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp149; ^ ./OMCppIDEAS_dev_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_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3144:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp152; ^ ./OMCppIDEAS_dev_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_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3476:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp172; ^ ./OMCppIDEAS_dev_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_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3522:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp175; ^ ./OMCppIDEAS_dev_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_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3854:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp195; ^ ./OMCppIDEAS_dev_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_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:3900:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp198; ^ ./OMCppIDEAS_dev_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_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedInitialize.cpp:4232:3: error: unknown type name 'spatialDistributionRetType' spatialDistributionRetType tmp218; ^ ./OMCppIDEAS_dev_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_dev_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_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretizedCalcHelperMain.o] Error 1