Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y") translateModel(IBPSA.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0008838/0.0008841, allocations: 97.28 kB / 16.33 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 187.5 kB / 17.23 MB, free: 5.887 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.51/1.51, allocations: 223.2 MB / 241.2 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7595/0.7595, allocations: 114.3 MB / 406.7 MB, free: 3.926 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003269/0.000327, allocations: 8 kB / 494.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1856, allocations: 77.27 MB / 0.5583 GB, free: 10.92 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_y): time 0.4973/0.683, allocations: 69.39 MB / 0.6261 GB, free: 11.15 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02323/0.7063, allocations: 14.19 MB / 0.6399 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003757/0.7101, allocations: 57.06 kB / 0.64 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002938/0.713, allocations: 0.5616 MB / 0.6405 GB, free: 68 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009831/0.7229, allocations: 1.989 MB / 0.6425 GB, free: 14.47 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004391/0.7273, allocations: 0.9706 MB / 0.6434 GB, free: 13.8 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.009459/0.7368, allocations: 4.799 MB / 0.6481 GB, free: 10.95 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003433/0.7403, allocations: 1.027 MB / 0.6491 GB, free: 10.32 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005113/0.7454, allocations: 1.286 MB / 0.6504 GB, free: 9.617 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003711/0.7492, allocations: 1.077 MB / 0.6514 GB, free: 9 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003407/0.7496, allocations: 55.47 kB / 0.6515 GB, free: 9 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00373/0.7533, allocations: 0.9208 MB / 0.6524 GB, free: 8.527 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004065/0.7537, allocations: 272.4 kB / 0.6526 GB, free: 8.324 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008448/0.7546, allocations: 357.5 kB / 0.653 GB, free: 8.121 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003268/0.7578, allocations: 2.084 MB / 0.655 GB, free: 6.539 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.115e-05/0.7579, allocations: 4 kB / 0.655 GB, free: 6.535 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.487e-06/0.7579, allocations: 0 / 0.655 GB, free: 6.535 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.464e-05/0.7579, allocations: 0 / 0.655 GB, free: 6.535 MB / 478.1 MB 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.003681/0.7616, allocations: 1.801 MB / 0.6568 GB, free: 4.672 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.7617, allocations: 8.031 kB / 0.6568 GB, free: 4.664 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007322/0.7624, allocations: 241.9 kB / 0.657 GB, free: 4.426 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002367/0.7648, allocations: 1.447 MB / 0.6584 GB, free: 2.922 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.025e-05/0.7649, allocations: 74 kB / 0.6585 GB, free: 2.852 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/0.765, allocations: 104 kB / 0.6586 GB, free: 2.75 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002082/0.7671, allocations: 1.112 MB / 0.6597 GB, free: 1.602 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/0.7671, allocations: 3.938 kB / 0.6597 GB, free: 1.598 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-05/0.7672, allocations: 40 kB / 0.6597 GB, free: 1.559 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.131e-05/0.7673, allocations: 28 kB / 0.6598 GB, free: 1.531 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002048/0.7693, allocations: 0.929 MB / 0.6607 GB, free: 0.6016 MB / 478.1 MB 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.006597/0.776, allocations: 4.908 MB / 0.6655 GB, free: 11.4 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001397/0.7774, allocations: 0.6439 MB / 0.6661 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006843/0.7781, allocations: 358.3 kB / 0.6664 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007345/0.7788, allocations: 0.8354 MB / 0.6672 GB, free: 9.383 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.7789, allocations: 39.12 kB / 0.6673 GB, free: 9.336 MB / 494.1 MB Notification: Performance of pre-optimization done (n=61): time 2.895e-06/0.7789, allocations: 0 / 0.6673 GB, free: 9.336 MB / 494.1 MB Notification: Performance of matching and sorting (n=61): time 0.006589/0.7855, allocations: 1.892 MB / 0.6691 GB, free: 7.418 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.7855, allocations: 63.97 kB / 0.6692 GB, free: 7.34 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001773/0.7873, allocations: 1.198 MB / 0.6704 GB, free: 6.125 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.384e-05/0.7874, allocations: 37.7 kB / 0.6704 GB, free: 6.082 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005758/0.788, allocations: 0.6065 MB / 0.671 GB, free: 5.469 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002254/0.7882, allocations: 216.9 kB / 0.6712 GB, free: 5.254 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.7883, allocations: 12 kB / 0.6712 GB, free: 5.242 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.7884, allocations: 337.9 kB / 0.6715 GB, free: 4.906 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006318/0.7891, allocations: 297.8 kB / 0.6718 GB, free: 4.617 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008612/0.79, allocations: 0.5007 MB / 0.6723 GB, free: 4.043 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007263/0.7907, allocations: 359 kB / 0.6726 GB, free: 3.691 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.7907, allocations: 0 / 0.6726 GB, free: 3.691 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004311/0.795, allocations: 1.398 MB / 0.674 GB, free: 2.281 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001993/0.7952, allocations: 198.3 kB / 0.6742 GB, free: 2.035 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.395e-05/0.7953, allocations: 4 kB / 0.6742 GB, free: 2.031 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006092/0.7959, allocations: 147 kB / 0.6743 GB, free: 1.887 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006255/0.7965, allocations: 167.7 kB / 0.6745 GB, free: 1.723 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009349/0.7975, allocations: 0.7163 MB / 0.6752 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/0.7987, allocations: 171 kB / 0.6754 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.566e-05/0.7988, allocations: 31.98 kB / 0.6754 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.7988, allocations: 6.5 kB / 0.6754 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00398/0.8028, allocations: 1.246 MB / 0.6766 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/0.8028, allocations: 4 kB / 0.6766 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004493/0.8033, allocations: 148.9 kB / 0.6768 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005548/0.8038, allocations: 167.8 kB / 0.6769 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008281/0.8047, allocations: 0.7183 MB / 0.6776 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/0.8058, allocations: 161 kB / 0.6778 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.255e-05/0.8059, allocations: 31.98 kB / 0.6778 GB, free: 14.28 MB / 0.4981 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.0009097/0.8068, allocations: 420.9 kB / 0.6782 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002154/0.807, allocations: 130.4 kB / 0.6783 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004235/0.8113, allocations: 1.4 MB / 0.6797 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.065e-05/0.8113, allocations: 19.94 kB / 0.6797 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.8113, allocations: 4 kB / 0.6797 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003771/0.8151, allocations: 1.228 MB / 0.6809 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006421/0.8215, allocations: 2.735 MB / 0.6836 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.777e-05/0.8215, allocations: 4 kB / 0.6836 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004642/0.822, allocations: 119.8 kB / 0.6837 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004564/0.8225, allocations: 148.9 kB / 0.6838 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.342e-05/0.8225, allocations: 16 kB / 0.6839 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004332/0.8269, allocations: 2.472 MB / 0.6863 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.674e-06/0.8269, allocations: 7.938 kB / 0.6863 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004825/0.8317, allocations: 1.844 MB / 0.6881 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007216/0.8325, allocations: 331.1 kB / 0.6884 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/0.8326, allocations: 19.95 kB / 0.6884 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007908/0.8334, allocations: 91.88 kB / 0.6885 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.8336, allocations: 60.41 kB / 0.6886 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.314e-05/0.8336, allocations: 35.92 kB / 0.6886 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001312/0.8349, allocations: 0.8584 MB / 0.6894 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8349, allocations: 0 / 0.6894 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00199/0.8369, allocations: 0.7134 MB / 0.6901 GB, free: 1.234 MB / 0.4981 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.0008431/0.8378, allocations: 421.8 kB / 0.6905 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002529/0.8403, allocations: 1.164 MB / 0.6917 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.8404, allocations: 4 kB / 0.6917 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001405/0.8418, allocations: 0.6033 MB / 0.6923 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003365/0.8451, allocations: 0.7568 MB / 0.693 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004379/0.8495, allocations: 2.807 MB / 0.6957 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007821/0.8503, allocations: 1.176 MB / 0.6969 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003108/0.8507, allocations: 107.4 kB / 0.697 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of SimCode: time 2.505e-06/0.8507, allocations: 0 / 0.697 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of Templates: time 0.04578/0.8964, allocations: 30.71 MB / 0.727 GB, free: 11.57 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.makefile make -j1 -f IBPSA_latest_IBPSA.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/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 OMCppIBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_yCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_yCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_yCalcHelperMain.o] Error 1