Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe") translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008391/0.0008392, allocations: 92 kB / 16.02 MB, free: 80 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.001046/0.001046, allocations: 183.4 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.724/1.724, allocations: 205.4 MB / 223.1 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.903/1.903, allocations: 292.7 MB / 0.5509 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008964/0.0008969, allocations: 17.25 kB / 0.675 GB, free: 26.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3149, allocations: 116.3 MB / 0.7885 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.04533/0.3603, allocations: 44.78 MB / 0.8323 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01686/0.3772, allocations: 11.32 MB / 0.8433 GB, free: 3.309 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002795/0.38, allocations: 51.69 kB / 0.8434 GB, free: 3.258 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002166/0.3822, allocations: 0.5555 MB / 0.8439 GB, free: 2.699 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007224/0.3895, allocations: 2.013 MB / 0.8459 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004702/0.3942, allocations: 1.359 MB / 0.8472 GB, free: 15.33 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.03033/0.4245, allocations: 29.12 MB / 0.8756 GB, free: 2.137 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01232/0.4369, allocations: 7.307 MB / 0.8828 GB, free: 10.74 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01441/0.4514, allocations: 5.372 MB / 0.888 GB, free: 5.344 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01324/0.4647, allocations: 5.619 MB / 0.8935 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.002713/0.4674, allocations: 288 kB / 0.8938 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008197/0.4756, allocations: 1.396 MB / 0.8952 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.004732/0.4804, allocations: 1.423 MB / 0.8965 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.01203/0.4925, allocations: 3.721 MB / 0.9002 GB, free: 8.844 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.7176/1.21, allocations: 10.27 MB / 0.9102 GB, free: 41.23 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/1.21, allocations: 0.5312 kB / 0.9102 GB, free: 41.23 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.617e-06/1.21, allocations: 2.688 kB / 0.9102 GB, free: 41.23 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0005714/1.211, allocations: 0 / 0.9102 GB, free: 41.23 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.02519/1.236, allocations: 6.564 MB / 0.9166 GB, free: 38.62 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 7.923e-05/1.236, allocations: 8.844 kB / 0.9166 GB, free: 38.62 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007652/1.244, allocations: 0.8454 MB / 0.9175 GB, free: 38.23 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02185/1.266, allocations: 7.621 MB / 0.9249 GB, free: 37.15 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007548/1.266, allocations: 422.1 kB / 0.9253 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002948/1.269, allocations: 0.5124 MB / 0.9258 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03182/1.301, allocations: 7.675 MB / 0.9333 GB, free: 36.21 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007087/1.302, allocations: 21.94 kB / 0.9333 GB, free: 36.21 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003623/1.306, allocations: 223.6 kB / 0.9335 GB, free: 36.21 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005396/1.306, allocations: 165.5 kB / 0.9337 GB, free: 36.21 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02288/1.329, allocations: 6.076 MB / 0.9396 GB, free: 36.15 MB / 0.7169 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.06483/1.394, allocations: 29.26 MB / 0.9682 GB, free: 23.16 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006631/1.401, allocations: 3.406 MB / 0.9715 GB, free: 21.76 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003387/1.404, allocations: 1.965 MB / 0.9734 GB, free: 20.77 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00112/1.405, allocations: 0.9978 MB / 0.9744 GB, free: 19.68 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001193/1.406, allocations: 76.75 kB / 0.9745 GB, free: 19.61 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=253): time 7.344e-06/1.406, allocations: 0 / 0.9745 GB, free: 19.61 MB / 0.7169 GB Notification: Performance of matching and sorting (n=253): time 0.01119/1.417, allocations: 4.696 MB / 0.9791 GB, free: 17.3 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.544e-05/1.417, allocations: 80.62 kB / 0.9791 GB, free: 17.23 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01547/1.432, allocations: 6.024 MB / 0.985 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.001141/1.434, allocations: 81.42 kB / 0.9851 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.004028/1.438, allocations: 2.941 MB / 0.988 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001928/1.44, allocations: 0.9004 MB / 0.9889 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009948/1.441, allocations: 286 kB / 0.9891 GB, free: 10.63 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.476e-05/1.441, allocations: 301.1 kB / 0.9894 GB, free: 10.33 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003341/1.444, allocations: 1.634 MB / 0.991 GB, free: 9.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003717/1.448, allocations: 2.687 MB / 0.9936 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006894/1.455, allocations: 4.608 MB / 0.9981 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.735e-05/1.455, allocations: 8 kB / 0.9981 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.01184/1.467, allocations: 4.963 MB / 1.003 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.001277/1.468, allocations: 1.029 MB / 1.004 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.242e-05/1.468, allocations: 39.98 kB / 1.004 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.49e-05/1.468, allocations: 48 kB / 1.004 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003584/1.472, allocations: 0.81 MB / 1.005 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001096/1.473, allocations: 1.253 MB / 1.006 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00792/1.481, allocations: 0.6085 MB / 1.007 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006898/1.482, allocations: 159.7 kB / 1.007 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/1.482, allocations: 6.734 kB / 1.007 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009153/1.491, allocations: 4.46 MB / 1.011 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001089/1.491, allocations: 32 kB / 1.011 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.293e-05/1.491, allocations: 48.88 kB / 1.011 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003129/1.494, allocations: 0.7834 MB / 1.012 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001443/1.494, allocations: 68.17 kB / 1.012 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007398/1.502, allocations: 0.5506 MB / 1.013 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006338/1.502, allocations: 160 kB / 1.013 GB, free: 4.355 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * 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 (436): * Single equations (assignments): 434 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007019/1.509, allocations: 2.496 MB / 1.015 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003349/1.513, allocations: 0.5482 MB / 1.016 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009357/1.522, allocations: 3.909 MB / 1.02 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.822e-05/1.522, allocations: 27.98 kB / 1.02 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.536e-05/1.522, allocations: 0 / 1.02 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005498/1.528, allocations: 3.001 MB / 1.023 GB, free: 10.3 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02851/1.556, allocations: 9.73 MB / 1.032 GB, free: 0.5352 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/1.556, allocations: 0 / 1.032 GB, free: 0.5352 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002581/1.559, allocations: 0.5977 MB / 1.033 GB, free: 15.96 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.632e-05/1.559, allocations: 8 kB / 1.033 GB, free: 15.96 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003394/1.559, allocations: 73.33 kB / 1.033 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008362/1.56, allocations: 1.197 MB / 1.034 GB, free: 14.65 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/1.56, allocations: 2.812 kB / 1.034 GB, free: 14.65 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01164/1.572, allocations: 5.651 MB / 1.039 GB, free: 8.895 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005985/1.578, allocations: 1.306 MB / 1.041 GB, free: 7.562 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003012/1.581, allocations: 55.98 kB / 1.041 GB, free: 7.508 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006812/1.588, allocations: 393.8 kB / 1.041 GB, free: 7.129 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004382/1.588, allocations: 153.9 kB / 1.041 GB, free: 6.977 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006287/1.589, allocations: 147.9 kB / 1.041 GB, free: 6.832 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.01117/1.6, allocations: 4.254 MB / 1.046 GB, free: 2.609 MB / 0.7637 GB Notification: Performance of sort global known variables: time 6.51e-07/1.6, allocations: 0 / 1.046 GB, free: 2.609 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.01656/1.617, allocations: 3.238 MB / 1.049 GB, free: 15.36 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 22 (pip.vol[1].dynBal.U,pip.vol[2].dynBal.U,pip.vol[3].dynBal.U,pip.vol[4].dynBal.U,pip.vol[5].dynBal.U,pip.vol[6].dynBal.U,pip.vol[7].dynBal.U,pip.vol[8].dynBal.U,pip.vol[9].dynBal.U,pip.vol[10].dynBal.U,pip1.vol[1].dynBal.U,pip1.vol[2].dynBal.U,pip1.vol[3].dynBal.U,pip1.vol[4].dynBal.U,pip1.vol[5].dynBal.U,pip1.vol[6].dynBal.U,pip1.vol[7].dynBal.U,pip1.vol[8].dynBal.U,pip1.vol[9].dynBal.U,pip1.vol[10].dynBal.U,senTem.T,senTem1.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 (259): * Single equations (assignments): 251 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002017/1.619, allocations: 486.6 kB / 1.049 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01303/1.632, allocations: 6.028 MB / 1.055 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.564e-05/1.632, allocations: 5.125 kB / 1.055 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.003393/1.635, allocations: 1.603 MB / 1.057 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02791/1.663, allocations: 3.942 MB / 1.06 GB, free: 3.668 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03577/1.699, allocations: 16.35 MB / 1.076 GB, free: 3.293 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007391/1.706, allocations: 4.478 MB / 1.081 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002329/1.709, allocations: 494.7 kB / 1.081 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of SimCode: time 1.152e-06/1.709, allocations: 0 / 1.081 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of Templates: time 0.3114/2.02, allocations: 188.9 MB / 1.266 GB, free: 2.082 MB / 0.9825 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.makefile make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Fluid.FixedResistances.Examples.PipeCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.FixedResistances.Examples.PipeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.FixedResistances.Examples.PipeCalcHelperMain.o] Error 1