Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.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.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009103/0.009103, allocations: 99.89 kB / 15.87 MB, free: 5.867 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.001583/0.001583, allocations: 191.9 kB / 16.79 MB, free: 5.809 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.694/1.694, allocations: 205.1 MB / 222.6 MB, free: 4.703 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.915/1.915, allocations: 292.3 MB / 0.5491 GB, free: 13.65 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.002211/0.002211, allocations: 66.23 kB / 0.6715 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.319, allocations: 114.6 MB / 0.7833 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.0175/0.3366, allocations: 15.01 MB / 0.798 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.006106/0.3427, allocations: 3.849 MB / 0.8017 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006541/0.3434, allocations: 19.88 kB / 0.8018 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006279/0.3441, allocations: 159 kB / 0.8019 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001856/0.346, allocations: 0.6145 MB / 0.8025 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001452/0.3475, allocations: 429.3 kB / 0.8029 GB, free: 9.848 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001988/0.3495, allocations: 1.372 MB / 0.8043 GB, free: 8.473 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004626/0.3499, allocations: 241.1 kB / 0.8045 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008012/0.3507, allocations: 374.3 kB / 0.8048 GB, free: 7.867 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005552/0.3513, allocations: 266.8 kB / 0.8051 GB, free: 7.605 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 5.11e-05/0.3514, allocations: 20 kB / 0.8051 GB, free: 7.586 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001431/0.3528, allocations: 0.6899 MB / 0.8058 GB, free: 6.895 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 9.832e-05/0.3529, allocations: 67.67 kB / 0.8059 GB, free: 6.828 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002089/0.3531, allocations: 175 kB / 0.806 GB, free: 6.656 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.000749/0.3539, allocations: 0.5068 MB / 0.8065 GB, free: 6.148 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3539, allocations: 0 / 0.8065 GB, free: 6.148 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3539, allocations: 0 / 0.8065 GB, free: 6.148 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.3539, allocations: 0 / 0.8065 GB, free: 6.148 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001188/0.3551, allocations: 0.7435 MB / 0.8072 GB, free: 5.355 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.3552, allocations: 8.031 kB / 0.8073 GB, free: 5.348 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.271e-05/0.3553, allocations: 44.47 kB / 0.8073 GB, free: 5.305 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008986/0.3562, allocations: 0.4938 MB / 0.8078 GB, free: 4.77 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.3562, allocations: 12.33 kB / 0.8078 GB, free: 4.758 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.435e-05/0.3563, allocations: 20 kB / 0.8078 GB, free: 4.738 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003797/0.3566, allocations: 180.1 kB / 0.808 GB, free: 4.559 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.3567, allocations: 0 / 0.808 GB, free: 4.559 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.3567, allocations: 8 kB / 0.808 GB, free: 4.551 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.3567, allocations: 4 kB / 0.808 GB, free: 4.547 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003438/0.3571, allocations: 139.8 kB / 0.8081 GB, free: 4.41 MB / 0.6231 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.001285/0.3584, allocations: 0.8528 MB / 0.809 GB, free: 3.457 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002938/0.3587, allocations: 126.5 kB / 0.8091 GB, free: 3.324 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.3589, allocations: 76.75 kB / 0.8091 GB, free: 3.246 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004155/0.3593, allocations: 344.4 kB / 0.8095 GB, free: 2.836 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/0.3593, allocations: 34.5 kB / 0.8095 GB, free: 2.793 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=12): time 1.733e-06/0.3593, allocations: 4 kB / 0.8095 GB, free: 2.789 MB / 0.6231 GB Notification: Performance of matching and sorting (n=12): time 0.00059/0.3599, allocations: 213.1 kB / 0.8097 GB, free: 2.574 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.36, allocations: 55.41 kB / 0.8098 GB, free: 2.508 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004014/0.3604, allocations: 345.7 kB / 0.8101 GB, free: 2.16 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/0.3604, allocations: 37.7 kB / 0.8101 GB, free: 2.117 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.3606, allocations: 192.3 kB / 0.8103 GB, free: 1.926 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.767e-05/0.3607, allocations: 39.45 kB / 0.8104 GB, free: 1.887 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.352e-05/0.3608, allocations: 37.61 kB / 0.8104 GB, free: 1.844 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001899/0.3609, allocations: 342.8 kB / 0.8107 GB, free: 1.5 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.3611, allocations: 48.81 kB / 0.8108 GB, free: 1.449 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001792/0.3613, allocations: 92.25 kB / 0.8109 GB, free: 1.344 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002689/0.3616, allocations: 113.6 kB / 0.811 GB, free: 1.227 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3616, allocations: 0 / 0.811 GB, free: 1.227 MB / 0.6231 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004126/0.362, allocations: 177.2 kB / 0.8111 GB, free: 1.047 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.362, allocations: 11.94 kB / 0.8111 GB, free: 1.035 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3621, allocations: 0 / 0.8111 GB, free: 1.035 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.3621, allocations: 4 kB / 0.8111 GB, free: 1.031 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.3622, allocations: 19.98 kB / 0.8112 GB, free: 1.012 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.3622, allocations: 7.938 kB / 0.8112 GB, free: 1.004 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000231/0.3625, allocations: 31.81 kB / 0.8112 GB, free: 0.9727 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/0.3625, allocations: 8 kB / 0.8112 GB, free: 0.9648 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002495/0.3628, allocations: 156.8 kB / 0.8114 GB, free: 0.8086 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001518/0.3629, allocations: 84.89 kB / 0.8114 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002472/0.3632, allocations: 117.6 kB / 0.8116 GB, free: 0.5898 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.92e-07/0.3632, allocations: 4 kB / 0.8116 GB, free: 0.5859 MB / 0.6231 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003688/0.3636, allocations: 169.2 kB / 0.8117 GB, free: 424 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.057e-06/0.3636, allocations: 11.94 kB / 0.8117 GB, free: 412 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.3636, allocations: 3.938 kB / 0.8117 GB, free: 408 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-06/0.3636, allocations: 0 / 0.8117 GB, free: 408 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.3637, allocations: 24.11 kB / 0.8118 GB, free: 384 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.3637, allocations: 4 kB / 0.8118 GB, free: 380 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.3639, allocations: 27.97 kB / 0.8118 GB, free: 352 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.364, allocations: 4 kB / 0.8118 GB, free: 348 kB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001238/0.3641, allocations: 188.2 kB / 0.812 GB, free: 152 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.854e-05/0.3642, allocations: 47.45 kB / 0.812 GB, free: 104 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005204/0.3647, allocations: 239.5 kB / 0.8122 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.3647, allocations: 0 / 0.8122 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3647, allocations: 0 / 0.8122 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3647, allocations: 4 kB / 0.8122 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009517/0.3657, allocations: 0.6256 MB / 0.8129 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.3657, allocations: 4.094 kB / 0.8129 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.3658, allocations: 23.98 kB / 0.8129 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.3658, allocations: 0 / 0.8129 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.3659, allocations: 8 kB / 0.8129 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.3659, allocations: 3.984 kB / 0.8129 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/0.3659, allocations: 7.938 kB / 0.8129 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004796/0.3664, allocations: 317.5 kB / 0.8132 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.3665, allocations: 120.7 kB / 0.8133 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.534e-05/0.3665, allocations: 4 kB / 0.8133 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.3668, allocations: 27.91 kB / 0.8134 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.07e-05/0.3669, allocations: 16.08 kB / 0.8134 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.3669, allocations: 11.88 kB / 0.8134 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002757/0.3672, allocations: 255 kB / 0.8136 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3672, allocations: 0 / 0.8136 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006581/0.3678, allocations: 187.7 kB / 0.8138 GB, free: 14.16 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0005777/0.3684, allocations: 251.1 kB / 0.814 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.000515/0.3689, allocations: 187.8 kB / 0.8142 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.369, allocations: 0 / 0.8142 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002042/0.3692, allocations: 75.89 kB / 0.8143 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008462/0.37, allocations: 145.9 kB / 0.8144 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.3711, allocations: 0.6983 MB / 0.8151 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/0.3715, allocations: 0.7882 MB / 0.8159 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.38e-05/0.3716, allocations: 39.42 kB / 0.8159 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of SimCode: time 2.61e-07/0.3716, allocations: 0 / 0.8159 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of Templates: time 0.009564/0.3812, allocations: 5.764 MB / 0.8216 GB, free: 6.215 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.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.HydraulicDiameterCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameterCalcHelperMain.o] Error 1