Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.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.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008653/0.0008654, allocations: 98.88 kB / 16.02 MB, free: 76 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.001239/0.001239, allocations: 186.5 kB / 16.92 MB, free: 6.77 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.905/1.905, allocations: 205.4 MB / 223.1 MB, free: 5.508 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.814/1.814, allocations: 292.7 MB / 0.5509 GB, free: 14.45 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.0005519/0.000552, allocations: 14 kB / 0.675 GB, free: 25.81 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3117, allocations: 116.3 MB / 0.7885 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.06967/0.3814, allocations: 68.23 MB / 0.8552 GB, free: 7.121 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03135/0.4128, allocations: 14.38 MB / 0.8692 GB, free: 8.707 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004702/0.4176, allocations: 63.56 kB / 0.8693 GB, free: 8.645 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004195/0.4219, allocations: 0.7459 MB / 0.87 GB, free: 7.895 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.009709/0.4316, allocations: 2.337 MB / 0.8723 GB, free: 5.551 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00583/0.4375, allocations: 1.792 MB / 0.874 GB, free: 3.777 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.009232/0.4467, allocations: 5.827 MB / 0.8797 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002764/0.4495, allocations: 1.269 MB / 0.881 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003609/0.4531, allocations: 1.427 MB / 0.8823 GB, free: 11.19 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001862/0.455, allocations: 1.19 MB / 0.8835 GB, free: 9.996 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001778/0.4552, allocations: 68 kB / 0.8836 GB, free: 9.93 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004569/0.4598, allocations: 1.731 MB / 0.8853 GB, free: 8.195 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0005643/0.4603, allocations: 326.5 kB / 0.8856 GB, free: 7.875 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001332/0.4617, allocations: 0.8956 MB / 0.8864 GB, free: 6.969 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.003901/0.4656, allocations: 2.63 MB / 0.889 GB, free: 4.332 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.4656, allocations: 0 / 0.889 GB, free: 4.332 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4656, allocations: 0 / 0.889 GB, free: 4.332 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.866e-05/0.4657, allocations: 0 / 0.889 GB, free: 4.332 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.003963/0.4696, allocations: 1.943 MB / 0.8909 GB, free: 2.324 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.4697, allocations: 12.03 kB / 0.8909 GB, free: 2.312 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004938/0.4746, allocations: 0.6931 MB / 0.8916 GB, free: 1.617 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002737/0.4774, allocations: 1.533 MB / 0.8931 GB, free: 28 kB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001641/0.4776, allocations: 128 kB / 0.8932 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001847/0.4778, allocations: 116 kB / 0.8933 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004117/0.4819, allocations: 1.653 MB / 0.8949 GB, free: 14.03 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.658e-05/0.4819, allocations: 7.875 kB / 0.895 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001404/0.4821, allocations: 55.94 kB / 0.895 GB, free: 13.97 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.003e-05/0.4821, allocations: 39.98 kB / 0.895 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004983/0.4871, allocations: 1.472 MB / 0.8965 GB, free: 12.45 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.01378/0.5009, allocations: 7.202 MB / 0.9035 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002468/0.5034, allocations: 0.8102 MB / 0.9043 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001638/0.5051, allocations: 0.5028 MB / 0.9048 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001414/0.5065, allocations: 1.274 MB / 0.906 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.844e-05/0.5066, allocations: 43.06 kB / 0.9061 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=68): time 2.845e-06/0.5066, allocations: 0 / 0.9061 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=68): time 0.01016/0.5167, allocations: 2.248 MB / 0.9083 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.754e-05/0.5168, allocations: 111.4 kB / 0.9084 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002398/0.5193, allocations: 1.366 MB / 0.9097 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001621/0.5194, allocations: 41.7 kB / 0.9098 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006861/0.5201, allocations: 0.688 MB / 0.9104 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002886/0.5204, allocations: 240.6 kB / 0.9107 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.5206, allocations: 73.69 kB / 0.9107 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.5207, allocations: 337.9 kB / 0.9111 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00189/0.5226, allocations: 0.4938 MB / 0.9115 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002181/0.5248, allocations: 0.7706 MB / 0.9123 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003666/0.5285, allocations: 1.144 MB / 0.9134 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.344e-05/0.5285, allocations: 8 kB / 0.9134 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.005179/0.5337, allocations: 1.554 MB / 0.9149 GB, free: 8.57 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002559/0.534, allocations: 284.9 kB / 0.9152 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.179e-05/0.534, allocations: 12 kB / 0.9152 GB, free: 8.195 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001786/0.5358, allocations: 459.3 kB / 0.9157 GB, free: 7.746 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/0.5372, allocations: 255.6 kB / 0.9159 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001645/0.5389, allocations: 1.079 MB / 0.917 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002758/0.5416, allocations: 274.6 kB / 0.9172 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002025/0.5419, allocations: 51.94 kB / 0.9173 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.5419, allocations: 4 kB / 0.9173 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004811/0.5467, allocations: 1.398 MB / 0.9186 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/0.5467, allocations: 8 kB / 0.9186 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001628/0.5484, allocations: 464.7 kB / 0.9191 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/0.5498, allocations: 259.6 kB / 0.9193 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001661/0.5515, allocations: 1.083 MB / 0.9204 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002452/0.5539, allocations: 238.9 kB / 0.9206 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001426/0.5541, allocations: 55.89 kB / 0.9207 GB, free: 2.551 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (heaPum.com.isOn,$PRE.heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,23)} Notification: Performance of prepare postOptimizeDAE: time 0.001018/0.5551, allocations: 452.8 kB / 0.9211 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004931/0.5556, allocations: 146.5 kB / 0.9212 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00455/0.5602, allocations: 1.325 MB / 0.9225 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.125e-05/0.5602, allocations: 15.94 kB / 0.9226 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.5602, allocations: 0 / 0.9226 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.6157/1.176, allocations: 1.136 MB / 0.9237 GB, free: 132.6 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009599/1.186, allocations: 3.418 MB / 0.927 GB, free: 131.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-05/1.186, allocations: 6.516 kB / 0.927 GB, free: 131.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009866/1.187, allocations: 157 kB / 0.9272 GB, free: 131.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001742/1.188, allocations: 453 kB / 0.9276 GB, free: 131.7 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.527e-05/1.189, allocations: 27.84 kB / 0.9276 GB, free: 131.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001598/1.19, allocations: 1.069 MB / 0.9287 GB, free: 131.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/1.19, allocations: 4.156 kB / 0.9287 GB, free: 131.2 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004403/1.195, allocations: 1.41 MB / 0.93 GB, free: 130.6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009314/1.196, allocations: 388.6 kB / 0.9304 GB, free: 130.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001865/1.196, allocations: 16.12 kB / 0.9304 GB, free: 130.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001669/1.197, allocations: 160.9 kB / 0.9306 GB, free: 130.4 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/1.198, allocations: 58.89 kB / 0.9306 GB, free: 130.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/1.198, allocations: 41.12 kB / 0.9307 GB, free: 130.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001714/1.199, allocations: 0.9593 MB / 0.9316 GB, free: 130 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.8e-07/1.199, allocations: 0 / 0.9316 GB, free: 130 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002754/1.202, allocations: 0.8915 MB / 0.9325 GB, free: 129.9 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001341/1.203, allocations: 0.5352 MB / 0.933 GB, free: 129.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006652/1.21, allocations: 1.852 MB / 0.9348 GB, free: 129.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.381e-05/1.21, allocations: 2.625 kB / 0.9348 GB, free: 129.3 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001956/1.212, allocations: 0.5354 MB / 0.9353 GB, free: 129.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005586/1.218, allocations: 0.8109 MB / 0.9361 GB, free: 129 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007156/1.225, allocations: 3.166 MB / 0.9392 GB, free: 127.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001392/1.226, allocations: 1.203 MB / 0.9404 GB, free: 126.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007907/1.227, allocations: 143.1 kB / 0.9405 GB, free: 126.4 MB / 0.7325 GB Notification: Performance of SimCode: time 2.485e-06/1.227, allocations: 0 / 0.9405 GB, free: 126.4 MB / 0.7325 GB Notification: Performance of Templates: time 0.06382/1.291, allocations: 35.41 MB / 0.9751 GB, free: 106.4 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.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.HeatPumps.Validation.ReciprocatingWaterToWater_StaticCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_StaticCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_StaticCalcHelperMain.o] Error 1