Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.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_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009406/0.000941, allocations: 99.5 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.001728/0.001728, allocations: 188.9 kB / 16.92 MB, free: 6.75 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.939/1.939, allocations: 205.4 MB / 223.1 MB, free: 5.551 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.971/1.971, 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.0005928/0.0005928, allocations: 13.97 kB / 0.675 GB, free: 25.83 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.331, allocations: 116.3 MB / 0.7885 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.8256/1.157, allocations: 127.8 MB / 0.9134 GB, free: 40.39 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.04102/1.198, allocations: 24.79 MB / 0.9376 GB, free: 39.96 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007383/1.205, allocations: 118.2 kB / 0.9377 GB, free: 39.96 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.007063/1.212, allocations: 1.411 MB / 0.9391 GB, free: 39.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.02042/1.233, allocations: 4.185 MB / 0.9432 GB, free: 39.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01281/1.246, allocations: 3.195 MB / 0.9463 GB, free: 39.43 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.02238/1.268, allocations: 11.38 MB / 0.9574 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006742/1.275, allocations: 2.528 MB / 0.9599 GB, free: 35.66 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01121/1.286, allocations: 2.774 MB / 0.9626 GB, free: 34.8 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007666/1.294, allocations: 2.312 MB / 0.9648 GB, free: 34.02 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001574/1.295, allocations: 132.9 kB / 0.965 GB, free: 34.02 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01074/1.306, allocations: 2.48 MB / 0.9674 GB, free: 33.24 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001995/1.308, allocations: 0.6279 MB / 0.968 GB, free: 32.8 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.005016/1.313, allocations: 1.72 MB / 0.9697 GB, free: 31.73 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.008736/1.322, allocations: 4.847 MB / 0.9744 GB, free: 28.6 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/1.322, allocations: 0 / 0.9744 GB, free: 28.6 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.878e-06/1.322, allocations: 0 / 0.9744 GB, free: 28.6 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001357/1.322, allocations: 3.938 kB / 0.9744 GB, free: 28.59 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: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.008056/1.33, allocations: 3.38 MB / 0.9777 GB, free: 26.14 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/1.33, allocations: 13.52 kB / 0.9777 GB, free: 26.14 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0103/1.341, allocations: 1.372 MB / 0.9791 GB, free: 25.57 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0069/1.348, allocations: 2.907 MB / 0.9819 GB, free: 23.35 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002703/1.348, allocations: 251.6 kB / 0.9822 GB, free: 23.2 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005231/1.348, allocations: 240.5 kB / 0.9824 GB, free: 23.12 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008656/1.357, allocations: 3.212 MB / 0.9855 GB, free: 21.04 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.28e-05/1.357, allocations: 3.938 kB / 0.9855 GB, free: 21.03 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003019/1.358, allocations: 102.9 kB / 0.9856 GB, free: 20.96 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.942e-05/1.358, allocations: 82.86 kB / 0.9857 GB, free: 20.94 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00864/1.366, allocations: 2.821 MB / 0.9885 GB, free: 19.53 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.02245/1.389, allocations: 13.63 MB / 1.002 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004338/1.393, allocations: 1.435 MB / 1.003 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002832/1.396, allocations: 0.8887 MB / 1.004 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001586/1.398, allocations: 1.784 MB / 1.006 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003388/1.401, allocations: 1.158 MB / 1.007 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=126): time 6.302e-06/1.401, allocations: 4 kB / 1.007 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of matching and sorting (n=132): time 0.0385/1.44, allocations: 9.834 MB / 1.017 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004513/1.44, allocations: 0.5766 MB / 1.017 GB, free: 7.898 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005353/1.446, allocations: 2.612 MB / 1.02 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0005435/1.446, allocations: 61.7 kB / 1.02 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001596/1.448, allocations: 1.337 MB / 1.021 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007471/1.448, allocations: 461.3 kB / 1.021 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002538/1.449, allocations: 149.6 kB / 1.022 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001679/1.449, allocations: 305.1 kB / 1.022 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003664/1.453, allocations: 0.9641 MB / 1.023 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004162/1.457, allocations: 1.565 MB / 1.024 GB, free: 188 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007024/1.464, allocations: 2.227 MB / 1.027 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/1.464, allocations: 4 kB / 1.027 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.01214/1.476, allocations: 3.179 MB / 1.03 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004885/1.477, allocations: 498.6 kB / 1.03 GB, free: 9.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.109e-05/1.477, allocations: 12 kB / 1.03 GB, free: 9.898 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003165/1.48, allocations: 0.9264 MB / 1.031 GB, free: 8.973 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002798/1.483, allocations: 483.2 kB / 1.031 GB, free: 8.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003494/1.486, allocations: 2.202 MB / 1.034 GB, free: 6.246 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005822/1.492, allocations: 405.8 kB / 1.034 GB, free: 5.852 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004249/1.492, allocations: 107.9 kB / 1.034 GB, free: 5.746 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/1.492, allocations: 7.938 kB / 1.034 GB, free: 5.738 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01166/1.504, allocations: 2.888 MB / 1.037 GB, free: 2.836 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.826e-05/1.504, allocations: 12 kB / 1.037 GB, free: 2.824 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003332/1.507, allocations: 0.9228 MB / 1.038 GB, free: 1.898 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002788/1.51, allocations: 471.2 kB / 1.038 GB, free: 1.438 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003499/1.514, allocations: 2.206 MB / 1.04 GB, free: 15.18 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005079/1.519, allocations: 367.2 kB / 1.041 GB, free: 14.82 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004731/1.519, allocations: 104.3 kB / 1.041 GB, free: 14.72 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 10 (realToInteger.y,N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum1.com.isOn,$PRE.heaPum1.com.isOn,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(4,23), (4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.002138/1.522, allocations: 0.7043 MB / 1.042 GB, free: 14 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001099/1.523, allocations: 284.6 kB / 1.042 GB, free: 13.72 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008622/1.531, allocations: 2.312 MB / 1.044 GB, free: 11.41 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.713e-05/1.531, allocations: 16.38 kB / 1.044 GB, free: 11.4 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.692e-05/1.531, allocations: 0 / 1.044 GB, free: 11.4 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006627/1.538, allocations: 1.94 MB / 1.046 GB, free: 9.422 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01954/1.558, allocations: 6.281 MB / 1.052 GB, free: 3.02 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.693e-05/1.558, allocations: 8.656 kB / 1.052 GB, free: 3.012 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001886/1.56, allocations: 303.5 kB / 1.052 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002927/1.563, allocations: 0.7866 MB / 1.053 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002009/1.563, allocations: 59.88 kB / 1.053 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003132/1.566, allocations: 1.966 MB / 1.055 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.28e-05/1.566, allocations: 15.88 kB / 1.055 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01306/1.579, allocations: 3.555 MB / 1.059 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002615/1.582, allocations: 0.6457 MB / 1.059 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001259/1.583, allocations: 43.98 kB / 1.059 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00442/1.587, allocations: 285 kB / 1.06 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003476/1.588, allocations: 116.6 kB / 1.06 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002943/1.588, allocations: 75.92 kB / 1.06 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.005687/1.594, allocations: 1.84 MB / 1.062 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of sort global known variables: time 4.31e-07/1.594, allocations: 0 / 1.062 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.007821/1.602, allocations: 1.476 MB / 1.063 GB, free: 7.711 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 2 (heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,17), (4,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002684/1.604, allocations: 0.7936 MB / 1.064 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01373/1.618, allocations: 3.688 MB / 1.067 GB, free: 3.277 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.886e-05/1.618, allocations: 4.438 kB / 1.067 GB, free: 3.273 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.00394/1.622, allocations: 1.009 MB / 1.068 GB, free: 2.27 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01322/1.635, allocations: 1.601 MB / 1.07 GB, free: 0.6953 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01766/1.653, allocations: 6.361 MB / 1.076 GB, free: 10.23 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002541/1.656, allocations: 1.71 MB / 1.078 GB, free: 8.496 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001473/1.657, allocations: 291.2 kB / 1.078 GB, free: 8.211 MB / 0.795 GB Notification: Performance of SimCode: time 1.272e-06/1.657, allocations: 4 kB / 1.078 GB, free: 8.207 MB / 0.795 GB Notification: Performance of Templates: time 0.1349/1.792, allocations: 82.15 MB / 1.158 GB, free: 6.434 MB / 0.8731 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.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_DynamicCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_DynamicCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_DynamicCalcHelperMain.o] Error 1