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.001154/0.001154, allocations: 106.7 kB / 16.41 MB, free: 6.492 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.001212/0.001212, allocations: 191 kB / 17.34 MB, free: 5.766 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.635/1.635, 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-master/package.mo): time 0.9141/0.9141, allocations: 135.1 MB / 426.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 57.91 kB / 0.5863 GB, free: 21.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1462, allocations: 80.92 MB / 0.6653 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized): time 0.06458/0.2108, allocations: 66.53 MB / 0.7303 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02178/0.2326, allocations: 16.72 MB / 0.7466 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002494/0.2351, allocations: 63.62 kB / 0.7466 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002145/0.2373, allocations: 0.8113 MB / 0.7474 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.3304/0.5678, allocations: 2.539 MB / 0.7499 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004448/0.5723, allocations: 1.805 MB / 0.7517 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.04383/0.6161, allocations: 35.76 MB / 0.7866 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02216/0.6383, allocations: 15.82 MB / 0.802 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02603/0.6644, allocations: 11.99 MB / 0.8138 GB, free: 4.414 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01756/0.682, allocations: 9.726 MB / 0.8233 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004864/0.6869, allocations: 1.453 MB / 0.8247 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01273/0.6997, allocations: 3.172 MB / 0.8278 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.006762/0.7065, allocations: 3.286 MB / 0.831 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.01847/0.725, allocations: 7.313 MB / 0.8381 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.03203/0.757, allocations: 21.97 MB / 0.8596 GB, free: 6.938 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 9.608e-06/0.7571, allocations: 0 / 0.8596 GB, free: 6.938 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7571, allocations: 0 / 0.8596 GB, free: 6.938 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0006961/0.7578, allocations: 0 / 0.8596 GB, free: 6.938 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.03703/0.7949, allocations: 13.14 MB / 0.8724 GB, free: 9.801 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.7949, allocations: 9.109 kB / 0.8724 GB, free: 9.793 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007072/0.802, allocations: 1.288 MB / 0.8737 GB, free: 8.492 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02823/0.8303, allocations: 12.96 MB / 0.8863 GB, free: 11.68 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005351/0.8308, allocations: 0.5254 MB / 0.8868 GB, free: 11.15 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003129/0.834, allocations: 0.7146 MB / 0.8875 GB, free: 10.44 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0295/0.8635, allocations: 11.21 MB / 0.8985 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003325/0.8639, allocations: 31.78 kB / 0.8985 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002591/0.8665, allocations: 307.8 kB / 0.8988 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002678/0.8667, allocations: 219.9 kB / 0.899 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02412/0.8909, allocations: 9.245 MB / 0.908 GB, free: 5.152 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.08713/0.9781, allocations: 52.12 MB / 0.9589 GB, free: 14 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01005/0.9882, allocations: 4.857 MB / 0.9637 GB, free: 9.188 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004795/0.993, allocations: 2.825 MB / 0.9664 GB, free: 6.352 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001721/0.9948, allocations: 1.718 MB / 0.9681 GB, free: 4.312 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.872e-05/0.9949, allocations: 86.27 kB / 0.9682 GB, free: 4.219 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=420): time 6.282e-06/0.9949, allocations: 0 / 0.9682 GB, free: 4.219 MB / 0.7481 GB Notification: Performance of matching and sorting (n=420): time 0.01793/1.013, allocations: 7.823 MB / 0.9758 GB, free: 12.37 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.566e-05/1.013, allocations: 94.55 kB / 0.9759 GB, free: 12.26 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02225/1.035, allocations: 10.47 MB / 0.9862 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.001371/1.037, allocations: 109.7 kB / 0.9863 GB, free: 1.719 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.005866/1.042, allocations: 4.719 MB / 0.9909 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.002928/1.045, allocations: 1.478 MB / 0.9923 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002082/1.048, allocations: 1.111 MB / 0.9934 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001038/1.048, allocations: 302.7 kB / 0.9937 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004431/1.052, allocations: 2.684 MB / 0.9963 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006096/1.058, allocations: 4.195 MB / 1 GB, free: 2.555 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01149/1.07, allocations: 7.409 MB / 1.008 GB, free: 10.5 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.707e-05/1.07, allocations: 16 kB / 1.008 GB, free: 10.49 MB / 0.795 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01757/1.087, allocations: 7.987 MB / 1.015 GB, free: 2.48 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.746e-05/1.088, allocations: 28 kB / 1.015 GB, free: 2.457 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001732/1.088, allocations: 75.97 kB / 1.016 GB, free: 2.383 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.786e-05/1.088, allocations: 79.94 kB / 1.016 GB, free: 2.305 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004435/1.092, allocations: 1.205 MB / 1.017 GB, free: 1.098 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000108/1.092, allocations: 99.66 kB / 1.017 GB, free: 1 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008269/1.101, allocations: 0.6817 MB / 1.018 GB, free: 320 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001181/1.102, allocations: 283.9 kB / 1.018 GB, free: 36 kB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01229/1.114, allocations: 6.439 MB / 1.024 GB, free: 9.582 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006021/1.12, allocations: 4.204 MB / 1.028 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01134/1.132, allocations: 7.407 MB / 1.035 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.751e-05/1.132, allocations: 16 kB / 1.035 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of matching and sorting (n=694) (initialization_lambda0): time 0.01671/1.148, allocations: 7.98 MB / 1.043 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.938e-05/1.148, allocations: 24 kB / 1.043 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001712/1.149, allocations: 71.97 kB / 1.043 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.407e-05/1.149, allocations: 80.06 kB / 1.043 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004568/1.153, allocations: 1.209 MB / 1.045 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001225/1.153, allocations: 107.6 kB / 1.045 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007695/1.161, allocations: 0.5779 MB / 1.045 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001011/1.162, allocations: 283.9 kB / 1.046 GB, free: 2.309 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.001531/1.164, allocations: 0.5025 MB / 1.046 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003326/1.167, allocations: 0.8412 MB / 1.047 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01625/1.183, allocations: 8.911 MB / 1.056 GB, free: 8.078 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.89e-05/1.183, allocations: 83.88 kB / 1.056 GB, free: 7.996 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.561e-05/1.183, allocations: 4 kB / 1.056 GB, free: 7.992 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009382/1.193, allocations: 6.099 MB / 1.062 GB, free: 1.809 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.8131/2.006, allocations: 20.64 MB / 1.082 GB, free: 303.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001403/2.006, allocations: 39.75 kB / 1.082 GB, free: 303.9 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003989/2.01, allocations: 0.9362 MB / 1.083 GB, free: 303.8 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.298e-05/2.01, allocations: 31.28 kB / 1.083 GB, free: 303.8 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006504/2.011, allocations: 198.9 kB / 1.083 GB, free: 303.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.106e-05/2.011, allocations: 43.75 kB / 1.083 GB, free: 303.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.788e-05/2.011, allocations: 18.69 kB / 1.083 GB, free: 303.7 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02252/2.033, allocations: 11.63 MB / 1.094 GB, free: 298.9 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008369/2.042, allocations: 2.35 MB / 1.097 GB, free: 298.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003706/2.046, allocations: 146.9 kB / 1.097 GB, free: 298.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007899/2.054, allocations: 326.5 kB / 1.097 GB, free: 298 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001204/2.055, allocations: 447.2 kB / 1.098 GB, free: 297.9 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000704/2.055, allocations: 266.1 kB / 1.098 GB, free: 297.9 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.01777/2.073, allocations: 8.206 MB / 1.106 GB, free: 295.1 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.573e-06/2.073, allocations: 0 / 1.106 GB, free: 295.1 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.01934/2.093, allocations: 4.916 MB / 1.111 GB, free: 294.6 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.00265/2.095, allocations: 0.7878 MB / 1.111 GB, free: 294.3 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01566/2.111, allocations: 11.35 MB / 1.122 GB, free: 285.1 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.931e-05/2.111, allocations: 12.47 kB / 1.122 GB, free: 285.1 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.005367/2.116, allocations: 4.231 MB / 1.127 GB, free: 280.8 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03232/2.149, allocations: 6.222 MB / 1.133 GB, free: 275 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0392/2.188, allocations: 23.8 MB / 1.156 GB, free: 251 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008131/2.196, allocations: 7.339 MB / 1.163 GB, free: 243.6 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004041/2.2, allocations: 0.8857 MB / 1.164 GB, free: 242.7 MB / 0.8419 GB Notification: Performance of SimCode: time 1.673e-06/2.2, allocations: 0 / 1.164 GB, free: 242.7 MB / 0.8419 GB Notification: Performance of Templates: time 0.2434/2.444, allocations: 206 MB / 1.365 GB, free: 37.38 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