Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.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.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009704/0.0009703, allocations: 96.14 kB / 16.03 MB, free: 68 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008426/0.0008426, allocations: 185.1 kB / 16.92 MB, free: 6.75 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.349/1.349, allocations: 223.2 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.76/0.76, allocations: 132.3 MB / 424.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003414/0.0003416, allocations: 8.906 kB / 0.5046 GB, free: 3.926 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5131/0.5135, allocations: 81.58 MB / 0.5843 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.1137/0.6272, allocations: 112.6 MB / 0.6942 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03969/0.667, allocations: 26.34 MB / 0.7199 GB, free: 5.148 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006432/0.6735, allocations: 99.38 kB / 0.72 GB, free: 5.051 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004041/0.6775, allocations: 0.9206 MB / 0.7209 GB, free: 4.125 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01106/0.6886, allocations: 3.16 MB / 0.724 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00641/0.6951, allocations: 2.087 MB / 0.7261 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01019/0.7053, allocations: 8.147 MB / 0.734 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002907/0.7082, allocations: 1.554 MB / 0.7355 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005287/0.7135, allocations: 2.259 MB / 0.7377 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003144/0.7167, allocations: 1.711 MB / 0.7394 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0006033/0.7173, allocations: 92 kB / 0.7395 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005094/0.7224, allocations: 2.12 MB / 0.7416 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007151/0.7231, allocations: 414 kB / 0.742 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002109/0.7252, allocations: 1.16 MB / 0.7431 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004626/0.7299, allocations: 3.02 MB / 0.7461 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.7299, allocations: 4 kB / 0.7461 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.963e-06/0.7299, allocations: 0 / 0.7461 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001129/0.73, allocations: 0 / 0.7461 GB, free: 10.31 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.005995/0.736, allocations: 2.418 MB / 0.7484 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.7361, allocations: 8.031 kB / 0.7484 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009987/0.7371, allocations: 264.9 kB / 0.7487 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004256/0.7413, allocations: 2.103 MB / 0.7507 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.73e-05/0.7414, allocations: 102.7 kB / 0.7508 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001896/0.7416, allocations: 139.9 kB / 0.751 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002295/0.7439, allocations: 1.458 MB / 0.7524 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.599e-05/0.744, allocations: 11.91 kB / 0.7524 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001201/0.7441, allocations: 59.98 kB / 0.7525 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.257e-05/0.7442, allocations: 40 kB / 0.7525 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001734/0.7459, allocations: 1.033 MB / 0.7535 GB, free: 2.484 MB / 0.5762 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.00818/0.7541, allocations: 8.128 MB / 0.7614 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/0.7555, allocations: 0.8406 MB / 0.7623 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005669/0.756, allocations: 380.5 kB / 0.7626 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00197/0.758, allocations: 2.811 MB / 0.7654 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.7581, allocations: 39.22 kB / 0.7654 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 2.685e-06/0.7581, allocations: 0 / 0.7654 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.002076/0.7601, allocations: 1.14 MB / 0.7665 GB, free: 3.793 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.7602, allocations: 60.06 kB / 0.7666 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001976/0.7622, allocations: 1.613 MB / 0.7682 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.867e-05/0.7623, allocations: 45.64 kB / 0.7682 GB, free: 2.016 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007049/0.763, allocations: 0.9277 MB / 0.7691 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002596/0.7632, allocations: 311.5 kB / 0.7694 GB, free: 0.7695 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.7634, allocations: 89.67 kB / 0.7695 GB, free: 0.6758 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.7635, allocations: 349.9 kB / 0.7698 GB, free: 336 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005511/0.7641, allocations: 326.4 kB / 0.7701 GB, free: 12 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007965/0.7649, allocations: 0.7111 MB / 0.7708 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/0.7663, allocations: 1.093 MB / 0.7719 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/0.7663, allocations: 8.766 kB / 0.7719 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001983/0.7683, allocations: 1.261 MB / 0.7731 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002527/0.7686, allocations: 445.3 kB / 0.7736 GB, free: 12 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.107e-05/0.7686, allocations: 19.98 kB / 0.7736 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.674e-05/0.7686, allocations: 16 kB / 0.7736 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000786/0.7694, allocations: 267.6 kB / 0.7738 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.63e-05/0.7695, allocations: 23.88 kB / 0.7739 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/0.7706, allocations: 190.5 kB / 0.774 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.7708, allocations: 67.97 kB / 0.7741 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.534e-06/0.7708, allocations: 4 kB / 0.7741 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001622/0.7724, allocations: 1.051 MB / 0.7751 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.56e-05/0.7724, allocations: 24.17 kB / 0.7752 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.7725, allocations: 16 kB / 0.7752 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007321/0.7732, allocations: 263.5 kB / 0.7754 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.947e-05/0.7732, allocations: 19.94 kB / 0.7755 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/0.7743, allocations: 174.8 kB / 0.7756 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.253e-05/0.7744, allocations: 63.97 kB / 0.7757 GB, free: 9.816 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (140): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0007642/0.7752, allocations: 472.7 kB / 0.7761 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002356/0.7754, allocations: 189.7 kB / 0.7763 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002775/0.7782, allocations: 1.752 MB / 0.778 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.118e-05/0.7783, allocations: 27.98 kB / 0.778 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.7783, allocations: 3.938 kB / 0.7781 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001576/0.7798, allocations: 1.154 MB / 0.7792 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005411/0.7853, allocations: 3.486 MB / 0.7826 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.588e-05/0.7853, allocations: 16.8 kB / 0.7826 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007431/0.7861, allocations: 199.7 kB / 0.7828 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.627e-05/0.7861, allocations: 12 kB / 0.7828 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.628e-05/0.7862, allocations: 47.97 kB / 0.7828 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.214e-05/0.7862, allocations: 11.94 kB / 0.7829 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/0.7862, allocations: 8 kB / 0.7829 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003252/0.7895, allocations: 2.25 MB / 0.7851 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007743/0.7902, allocations: 469.9 kB / 0.7855 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002018/0.7905, allocations: 31.98 kB / 0.7855 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000927/0.7914, allocations: 107.8 kB / 0.7856 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/0.7916, allocations: 112.6 kB / 0.7858 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/0.7917, allocations: 55.97 kB / 0.7858 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001518/0.7932, allocations: 1.079 MB / 0.7869 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7932, allocations: 0 / 0.7869 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002687/0.7959, allocations: 1.123 MB / 0.788 GB, free: 12.9 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 6 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,pipNoMix.del.x,pipNoMix.timDel.x) * 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 (129): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 27 * 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.001327/0.7972, allocations: 0.789 MB / 0.7887 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002763/0.8, allocations: 1.817 MB / 0.7905 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.8, allocations: 4 kB / 0.7905 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009652/0.801, allocations: 0.7511 MB / 0.7912 GB, free: 9.488 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005331/0.8063, allocations: 0.9275 MB / 0.7921 GB, free: 8.582 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005745/0.8121, allocations: 4.514 MB / 0.7966 GB, free: 3.949 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009983/0.8131, allocations: 1.432 MB / 0.7979 GB, free: 2.48 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004405/0.8136, allocations: 195.4 kB / 0.7981 GB, free: 2.289 MB / 0.6231 GB Notification: Performance of SimCode: time 6.42e-07/0.8136, allocations: 3.938 kB / 0.7981 GB, free: 2.285 MB / 0.6231 GB Notification: Performance of Templates: time 0.3517/1.165, allocations: 35.95 MB / 0.8332 GB, free: 198.2 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile clang++ -std=c++14 NOTFOUND -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.PlugFlowPipeCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeCalcHelperMain.o] Error 1