Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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_reverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.TSet|heaPum.QCon_flow|heaPum.QEva_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.TSet|heaPum.QCon_flow|heaPum.QEva_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009934/0.0009938, allocations: 103 kB / 15.71 MB, free: 460 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.001148/0.001148, allocations: 169.9 kB / 16.58 MB, free: 6.035 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.609/1.609, allocations: 223.3 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.931/2.931, allocations: 436.7 MB / 0.7113 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003806/0.0003807, allocations: 12 kB / 0.8717 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8886/0.889, allocations: 153.7 MB / 1.022 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.06872/0.9578, allocations: 56.55 MB / 1.077 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01851/0.9763, allocations: 11.22 MB / 1.088 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002731/0.9791, allocations: 55.62 kB / 1.088 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002211/0.9814, allocations: 456.9 kB / 1.088 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.005916/0.9873, allocations: 1.527 MB / 1.09 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003305/0.9906, allocations: 0.8617 MB / 1.091 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00539/0.996, allocations: 3.407 MB / 1.094 GB, free: 6.836 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001989/0.9981, allocations: 0.8047 MB / 1.095 GB, free: 6.008 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003045/1.001, allocations: 1.042 MB / 1.096 GB, free: 4.961 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00201/1.003, allocations: 0.8127 MB / 1.097 GB, free: 4.145 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0004565/1.004, allocations: 48 kB / 1.097 GB, free: 4.098 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003492/1.007, allocations: 1.091 MB / 1.098 GB, free: 3.004 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0005294/1.008, allocations: 207 kB / 1.098 GB, free: 2.801 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0008531/1.009, allocations: 285 kB / 1.098 GB, free: 2.516 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003272/1.012, allocations: 1.644 MB / 1.1 GB, free: 0.8672 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/1.012, allocations: 0 / 1.1 GB, free: 0.8672 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.104e-06/1.012, allocations: 0 / 1.1 GB, free: 0.8672 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.997e-05/1.012, allocations: 0 / 1.1 GB, free: 0.8672 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.004447/1.016, allocations: 1.508 MB / 1.101 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/1.016, allocations: 11.98 kB / 1.101 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002452/1.019, allocations: 0.5096 MB / 1.102 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002732/1.022, allocations: 1.1 MB / 1.103 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003366/1.022, allocations: 133.9 kB / 1.103 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/1.022, allocations: 84 kB / 1.103 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002374/1.025, allocations: 1.025 MB / 1.104 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/1.025, allocations: 7.938 kB / 1.104 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.157e-05/1.025, allocations: 28 kB / 1.104 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.909e-05/1.025, allocations: 24 kB / 1.104 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002569/1.027, allocations: 1.003 MB / 1.105 GB, free: 11.29 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.007526/1.035, allocations: 4.723 MB / 1.11 GB, free: 6.215 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003884/1.039, allocations: 1.121 MB / 1.111 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001095/1.04, allocations: 449.3 kB / 1.111 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001135/1.041, allocations: 1.033 MB / 1.112 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.856e-05/1.041, allocations: 39 kB / 1.112 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=53): time 2.825e-06/1.041, allocations: 0 / 1.112 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of matching and sorting (n=53): time 0.00906/1.05, allocations: 2.486 MB / 1.115 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/1.05, allocations: 59.84 kB / 1.115 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001611/1.052, allocations: 0.9236 MB / 1.116 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001104/1.052, allocations: 41.69 kB / 1.116 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004529/1.052, allocations: 0.5001 MB / 1.116 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002157/1.053, allocations: 185.3 kB / 1.116 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-05/1.053, allocations: 16 kB / 1.116 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001451/1.053, allocations: 329.9 kB / 1.117 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009916/1.054, allocations: 376.9 kB / 1.117 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001187/1.055, allocations: 0.5472 MB / 1.118 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/1.056, allocations: 398 kB / 1.118 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/1.056, allocations: 4 kB / 1.118 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002978/1.059, allocations: 1.119 MB / 1.119 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001379/1.059, allocations: 170.2 kB / 1.119 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/1.059, allocations: 4 kB / 1.119 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001345/1.061, allocations: 328.5 kB / 1.12 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006402/1.061, allocations: 143.8 kB / 1.12 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001516/1.063, allocations: 0.9347 MB / 1.121 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/1.064, allocations: 171.4 kB / 1.121 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/1.064, allocations: 27.98 kB / 1.121 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/1.064, allocations: 8 kB / 1.121 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002571/1.067, allocations: 1.002 MB / 1.122 GB, free: 9.402 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/1.067, allocations: 4.062 kB / 1.122 GB, free: 9.398 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/1.068, allocations: 327.2 kB / 1.122 GB, free: 9.078 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000618/1.069, allocations: 143.8 kB / 1.122 GB, free: 8.938 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001512/1.07, allocations: 0.927 MB / 1.123 GB, free: 7.984 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/1.071, allocations: 175.3 kB / 1.123 GB, free: 7.812 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.703e-05/1.072, allocations: 27.98 kB / 1.123 GB, free: 7.785 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (55): * Single equations (assignments): 54 * 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.0007143/1.072, allocations: 349 kB / 1.124 GB, free: 7.434 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003452/1.073, allocations: 106.7 kB / 1.124 GB, free: 7.328 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004525/1.077, allocations: 1.444 MB / 1.125 GB, free: 5.875 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.891e-05/1.077, allocations: 8 kB / 1.125 GB, free: 5.867 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/1.077, allocations: 0 / 1.125 GB, free: 5.867 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/1.077, allocations: 7.938 kB / 1.125 GB, free: 5.859 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00642/1.084, allocations: 2.533 MB / 1.128 GB, free: 3.246 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/1.084, allocations: 0 / 1.128 GB, free: 3.246 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005616/1.084, allocations: 120 kB / 1.128 GB, free: 3.129 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00107/1.085, allocations: 324.6 kB / 1.128 GB, free: 2.809 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.976e-05/1.085, allocations: 19.98 kB / 1.128 GB, free: 2.789 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001497/1.087, allocations: 0.9681 MB / 1.129 GB, free: 1.797 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/1.087, allocations: 3.938 kB / 1.129 GB, free: 1.793 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004208/1.091, allocations: 1.452 MB / 1.131 GB, free: 312 kB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006928/1.092, allocations: 295.4 kB / 1.131 GB, free: 15.99 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000258/1.092, allocations: 12 kB / 1.131 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/1.093, allocations: 131.7 kB / 1.131 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/1.093, allocations: 36.38 kB / 1.131 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.042e-05/1.093, allocations: 23.98 kB / 1.131 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001198/1.095, allocations: 0.6518 MB / 1.132 GB, free: 15.13 MB / 0.8887 GB Notification: Performance of sort global known variables: time 4.51e-07/1.095, allocations: 0 / 1.132 GB, free: 15.13 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002114/1.097, allocations: 0.5574 MB / 1.132 GB, free: 14.57 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001007/1.098, allocations: 360.4 kB / 1.133 GB, free: 14.22 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00384/1.102, allocations: 1.389 MB / 1.134 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.301e-06/1.102, allocations: 4 kB / 1.134 GB, free: 12.83 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001236/1.103, allocations: 492.8 kB / 1.134 GB, free: 12.35 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00283/1.106, allocations: 0.5038 MB / 1.135 GB, free: 11.85 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004494/1.11, allocations: 2.356 MB / 1.137 GB, free: 9.438 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007256/1.111, allocations: 1.066 MB / 1.138 GB, free: 8.344 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003425/1.111, allocations: 83.41 kB / 1.138 GB, free: 8.262 MB / 0.8887 GB Notification: Performance of SimCode: time 8.41e-07/1.111, allocations: 3.938 kB / 1.138 GB, free: 8.258 MB / 0.8887 GB Notification: Performance of Templates: time 0.03412/1.145, allocations: 23.85 MB / 1.162 GB, free: 0.5547 MB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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_reverseFlowCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlowCalcHelperMain.o] Error 1