Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.TSet|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP|heaPum.port_a2.m_flow|heaPum.port_b2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.TSet|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP|heaPum.port_a2.m_flow|heaPum.port_b2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008457/0.0008456, allocations: 99.36 kB / 15.71 MB, free: 452 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.00103/0.00103, allocations: 176.8 kB / 16.58 MB, free: 6.418 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.625/1.625, allocations: 223.2 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.898/2.898, allocations: 436.7 MB / 0.7113 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003962/0.0003963, allocations: 8 kB / 0.8717 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8541/0.8545, allocations: 153.7 MB / 1.022 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.05885/0.9134, allocations: 56.59 MB / 1.077 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01711/0.9306, allocations: 11.24 MB / 1.088 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0027/0.9333, allocations: 51.62 kB / 1.088 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00199/0.9353, allocations: 468.9 kB / 1.088 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.006024/0.9414, allocations: 1.527 MB / 1.09 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003164/0.9446, allocations: 0.867 MB / 1.091 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00546/0.95, allocations: 3.406 MB / 1.094 GB, free: 6.816 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001594/0.9516, allocations: 0.7989 MB / 1.095 GB, free: 5.992 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002712/0.9544, allocations: 1.042 MB / 1.096 GB, free: 4.945 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00138/0.9557, allocations: 0.8088 MB / 1.097 GB, free: 4.133 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.9559, allocations: 44 kB / 1.097 GB, free: 4.09 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002765/0.9586, allocations: 1.095 MB / 1.098 GB, free: 2.992 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002756/0.9589, allocations: 202.9 kB / 1.098 GB, free: 2.793 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0005483/0.9595, allocations: 285.1 kB / 1.098 GB, free: 2.508 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00241/0.9619, allocations: 1.642 MB / 1.1 GB, free: 0.8633 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.9619, allocations: 0 / 1.1 GB, free: 0.8633 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.294e-06/0.9619, allocations: 0 / 1.1 GB, free: 0.8633 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.359e-05/0.962, allocations: 0 / 1.1 GB, free: 0.8633 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002882/0.9648, allocations: 1.532 MB / 1.101 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.9649, allocations: 11.98 kB / 1.101 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001912/0.9668, allocations: 477.9 kB / 1.102 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002201/0.969, allocations: 1.082 MB / 1.103 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003293/0.9694, allocations: 137.9 kB / 1.103 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.9695, allocations: 84 kB / 1.103 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002089/0.9716, allocations: 1.025 MB / 1.104 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.9716, allocations: 0 / 1.104 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.194e-05/0.9717, allocations: 35.98 kB / 1.104 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.427e-05/0.9718, allocations: 20 kB / 1.104 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002299/0.9741, allocations: 0.9524 MB / 1.105 GB, free: 11.36 MB / 0.8575 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.00671/0.9808, allocations: 4.916 MB / 1.11 GB, free: 6.086 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003069/0.9839, allocations: 0.9025 MB / 1.111 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007388/0.9846, allocations: 341.5 kB / 1.111 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007812/0.9854, allocations: 0.8986 MB / 1.112 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.9855, allocations: 38.55 kB / 1.112 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=44): time 2.785e-06/0.9855, allocations: 0 / 1.112 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of matching and sorting (n=44): time 0.007932/0.9934, allocations: 2.212 MB / 1.114 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.9935, allocations: 55.41 kB / 1.114 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001721/0.9952, allocations: 1.052 MB / 1.115 GB, free: 324 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001042/0.9954, allocations: 41.7 kB / 1.115 GB, free: 276 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004854/0.9958, allocations: 0.5274 MB / 1.116 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/0.996, allocations: 153.8 kB / 1.116 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.37e-05/0.9961, allocations: 12 kB / 1.116 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.9962, allocations: 329.9 kB / 1.116 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008549/0.9971, allocations: 344.8 kB / 1.117 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/0.9981, allocations: 0.5568 MB / 1.117 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009038/0.999, allocations: 371.7 kB / 1.118 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.999, allocations: 4 kB / 1.118 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002737/1.002, allocations: 1.078 MB / 1.119 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001565/1.002, allocations: 221.4 kB / 1.119 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/1.002, allocations: 7.984 kB / 1.119 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001185/1.003, allocations: 332.5 kB / 1.119 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005319/1.004, allocations: 143.7 kB / 1.119 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/1.005, allocations: 0.9335 MB / 1.12 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/1.007, allocations: 199.2 kB / 1.12 GB, free: 10.9 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.826e-05/1.007, allocations: 35.98 kB / 1.12 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/1.007, allocations: 5.875 kB / 1.12 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00242/1.009, allocations: 0.9566 MB / 1.121 GB, free: 9.902 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/1.009, allocations: 4 kB / 1.121 GB, free: 9.898 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001062/1.01, allocations: 329.1 kB / 1.122 GB, free: 9.574 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005198/1.011, allocations: 143.8 kB / 1.122 GB, free: 9.434 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001337/1.012, allocations: 0.927 MB / 1.123 GB, free: 8.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/1.013, allocations: 175.4 kB / 1.123 GB, free: 8.309 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.986e-05/1.013, allocations: 27.98 kB / 1.123 GB, free: 8.281 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0006625/1.014, allocations: 356.9 kB / 1.123 GB, free: 7.922 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001905/1.014, allocations: 110.6 kB / 1.123 GB, free: 7.812 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003531/1.018, allocations: 1.247 MB / 1.125 GB, free: 6.559 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.812e-05/1.018, allocations: 4 kB / 1.125 GB, free: 6.555 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.649e-06/1.018, allocations: 0 / 1.125 GB, free: 6.555 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/1.018, allocations: 3.984 kB / 1.125 GB, free: 6.551 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005088/1.023, allocations: 2.343 MB / 1.127 GB, free: 4.125 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/1.023, allocations: 4 kB / 1.127 GB, free: 4.121 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003062/1.023, allocations: 75.89 kB / 1.127 GB, free: 4.047 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009926/1.024, allocations: 324.9 kB / 1.127 GB, free: 3.727 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.544e-05/1.024, allocations: 23.88 kB / 1.127 GB, free: 3.703 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001463/1.026, allocations: 0.9621 MB / 1.128 GB, free: 2.715 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.026, allocations: 3.938 kB / 1.128 GB, free: 2.711 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003725/1.03, allocations: 1.318 MB / 1.129 GB, free: 1.348 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006758/1.03, allocations: 283.4 kB / 1.13 GB, free: 1.051 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/1.03, allocations: 8 kB / 1.13 GB, free: 1.043 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008465/1.031, allocations: 119.9 kB / 1.13 GB, free: 0.9258 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/1.031, allocations: 43.89 kB / 1.13 GB, free: 0.8828 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.573e-05/1.031, allocations: 19.98 kB / 1.13 GB, free: 0.8633 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001348/1.033, allocations: 0.7432 MB / 1.131 GB, free: 116 kB / 0.8731 GB Notification: Performance of sort global known variables: time 2.164e-06/1.033, allocations: 0 / 1.131 GB, free: 116 kB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001816/1.035, allocations: 0.5651 MB / 1.131 GB, free: 15.55 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007833/1.035, allocations: 371.1 kB / 1.132 GB, free: 15.19 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003386/1.039, allocations: 1.222 MB / 1.133 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/1.039, allocations: 4.125 kB / 1.133 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001052/1.04, allocations: 392.4 kB / 1.133 GB, free: 13.58 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002545/1.043, allocations: 0.5088 MB / 1.134 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005926/1.048, allocations: 2.544 MB / 1.136 GB, free: 10.47 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009377/1.049, allocations: 1.065 MB / 1.137 GB, free: 9.375 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003174/1.05, allocations: 79.42 kB / 1.137 GB, free: 9.297 MB / 0.8887 GB Notification: Performance of SimCode: time 1.503e-06/1.05, allocations: 0 / 1.137 GB, free: 9.297 MB / 0.8887 GB Notification: Performance of Templates: time 0.04009/1.09, allocations: 23.93 MB / 1.161 GB, free: 1.52 MB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperatureCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperatureCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperatureCalcHelperMain.o] Error 1