Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.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.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008572/0.0008572, allocations: 100.5 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.001026/0.001026, allocations: 175.7 kB / 16.58 MB, free: 6.879 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.865/1.865, allocations: 205.4 MB / 222.8 MB, free: 5.656 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.893/1.893, allocations: 292.7 MB / 0.5505 GB, free: 14.57 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.0005361/0.0005363, allocations: 21.78 kB / 0.6743 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3165, allocations: 116.3 MB / 0.7879 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.07183/0.3884, allocations: 69.43 MB / 0.8557 GB, free: 6.352 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02535/0.4138, allocations: 14.08 MB / 0.8695 GB, free: 8.246 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0046/0.4185, allocations: 55.62 kB / 0.8695 GB, free: 8.191 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003602/0.4221, allocations: 0.5705 MB / 0.8701 GB, free: 7.617 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.009749/0.4319, allocations: 1.969 MB / 0.872 GB, free: 5.641 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004256/0.4362, allocations: 0.9803 MB / 0.873 GB, free: 4.672 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.008138/0.4443, allocations: 4.785 MB / 0.8776 GB, free: 15.87 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002985/0.4473, allocations: 1.021 MB / 0.8786 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00477/0.4521, allocations: 1.279 MB / 0.8799 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003867/0.456, allocations: 1.081 MB / 0.8809 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0006266/0.4567, allocations: 60 kB / 0.881 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003935/0.4606, allocations: 0.9198 MB / 0.8819 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0007996/0.4614, allocations: 270.8 kB / 0.8821 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001305/0.4628, allocations: 360.9 kB / 0.8825 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.004517/0.4673, allocations: 2.081 MB / 0.8845 GB, free: 8.758 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.4673, allocations: 0 / 0.8845 GB, free: 8.758 MB / 0.7012 GB Notification: Performance of FrontEnd: time 3.015e-06/0.4673, allocations: 4 kB / 0.8845 GB, free: 8.754 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001111/0.4674, allocations: 0 / 0.8845 GB, free: 8.754 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.005578/0.473, allocations: 1.795 MB / 0.8863 GB, free: 6.895 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.4731, allocations: 12.03 kB / 0.8863 GB, free: 6.883 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001297/0.4744, allocations: 245.8 kB / 0.8865 GB, free: 6.641 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003783/0.4782, allocations: 1.431 MB / 0.8879 GB, free: 5.152 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.585e-05/0.4783, allocations: 74 kB / 0.888 GB, free: 5.082 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003039/0.4786, allocations: 104 kB / 0.8881 GB, free: 4.98 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002651/0.4813, allocations: 1.116 MB / 0.8892 GB, free: 3.828 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.202e-05/0.4813, allocations: 7.906 kB / 0.8892 GB, free: 3.82 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/0.4815, allocations: 39.98 kB / 0.8892 GB, free: 3.781 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.295e-05/0.4815, allocations: 31.94 kB / 0.8893 GB, free: 3.75 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002244/0.4838, allocations: 0.9212 MB / 0.8902 GB, free: 2.832 MB / 0.7012 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.007798/0.4916, allocations: 4.935 MB / 0.895 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/0.4932, allocations: 0.6312 MB / 0.8956 GB, free: 12.97 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007405/0.4939, allocations: 370.3 kB / 0.8959 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007596/0.4947, allocations: 0.8277 MB / 0.8968 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.454e-05/0.4948, allocations: 43.12 kB / 0.8968 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=61): time 3.527e-06/0.4948, allocations: 0 / 0.8968 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of matching and sorting (n=61): time 0.006827/0.5016, allocations: 1.888 MB / 0.8986 GB, free: 9.625 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.5017, allocations: 55.97 kB / 0.8987 GB, free: 9.559 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002349/0.5041, allocations: 1.198 MB / 0.8999 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001303/0.5042, allocations: 45.7 kB / 0.8999 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006466/0.5049, allocations: 0.6025 MB / 0.9005 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002692/0.5051, allocations: 216.9 kB / 0.9007 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-05/0.5052, allocations: 8 kB / 0.9007 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.5054, allocations: 334 kB / 0.901 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006883/0.506, allocations: 297.8 kB / 0.9013 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008807/0.5069, allocations: 0.5073 MB / 0.9018 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008651/0.5078, allocations: 371 kB / 0.9022 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/0.5078, allocations: 4 kB / 0.9022 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004722/0.5126, allocations: 1.39 MB / 0.9035 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.000187/0.5128, allocations: 205.8 kB / 0.9037 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/0.5128, allocations: 8 kB / 0.9037 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006303/0.5135, allocations: 144.7 kB / 0.9039 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006381/0.5141, allocations: 167.8 kB / 0.904 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009503/0.5151, allocations: 0.7162 MB / 0.9047 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/0.5166, allocations: 171 kB / 0.9049 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.5167, allocations: 32 kB / 0.9049 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.5167, allocations: 4 kB / 0.9049 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004283/0.521, allocations: 1.254 MB / 0.9061 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.5211, allocations: 4 kB / 0.9062 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005292/0.5216, allocations: 140.8 kB / 0.9063 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006205/0.5222, allocations: 171.7 kB / 0.9065 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008992/0.5232, allocations: 0.7087 MB / 0.9071 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001548/0.5247, allocations: 171.1 kB / 0.9073 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.863e-05/0.5248, allocations: 27.98 kB / 0.9073 GB, free: 488 kB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.001074/0.5259, allocations: 423.7 kB / 0.9077 GB, free: 56 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005846/0.5265, allocations: 134.5 kB / 0.9079 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004634/0.5311, allocations: 1.404 MB / 0.9092 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.075e-05/0.5312, allocations: 8 kB / 0.9092 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.5312, allocations: 0 / 0.9092 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003845/0.5351, allocations: 1.236 MB / 0.9105 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007376/0.5424, allocations: 2.735 MB / 0.9131 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/0.5425, allocations: 0 / 0.9131 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005148/0.543, allocations: 119.9 kB / 0.9132 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005676/0.5436, allocations: 152.7 kB / 0.9134 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.69e-05/0.5437, allocations: 16 kB / 0.9134 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004821/0.5485, allocations: 2.474 MB / 0.9158 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.503e-06/0.5485, allocations: 4 kB / 0.9158 GB, free: 7.457 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005263/0.5538, allocations: 1.844 MB / 0.9176 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00103/0.5549, allocations: 331.2 kB / 0.9179 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004643/0.5553, allocations: 16 kB / 0.9179 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001392/0.5567, allocations: 91.92 kB / 0.918 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001932/0.557, allocations: 72.19 kB / 0.9181 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/0.5571, allocations: 31.98 kB / 0.9181 GB, free: 5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002259/0.5593, allocations: 0.8543 MB / 0.919 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5594, allocations: 0 / 0.919 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003604/0.563, allocations: 0.7057 MB / 0.9197 GB, free: 3.438 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001431/0.5644, allocations: 436.2 kB / 0.9201 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003243/0.5677, allocations: 1.168 MB / 0.9212 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/0.5677, allocations: 0 / 0.9212 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001779/0.5695, allocations: 0.5956 MB / 0.9218 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004438/0.5739, allocations: 0.758 MB / 0.9225 GB, free: 500 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6598/1.234, allocations: 2.79 MB / 0.9253 GB, free: 74.9 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009907/1.235, allocations: 1.173 MB / 0.9264 GB, free: 74.19 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005461/1.235, allocations: 107.5 kB / 0.9265 GB, free: 74.19 MB / 0.7325 GB Notification: Performance of SimCode: time 1.553e-06/1.235, allocations: 3.719 kB / 0.9265 GB, free: 74.19 MB / 0.7325 GB Notification: Performance of Templates: time 0.0576/1.293, allocations: 30.76 MB / 0.9566 GB, free: 66.74 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.makefile make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_yCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_yCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_yCalcHelperMain.o] Error 1