Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009953/0.0009956, allocations: 94.27 kB / 16.33 MB, free: 6.41 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.001205/0.001205, allocations: 184.2 kB / 17.22 MB, free: 6.285 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.47/1.47, allocations: 223.2 MB / 241.2 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7142/0.7142, allocations: 114.3 MB / 406.7 MB, free: 3.98 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003422/0.0003422, allocations: 12 kB / 494.4 MB, free: 8.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2057, allocations: 77.27 MB / 0.5583 GB, free: 10.96 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.5097/0.7154, allocations: 56.46 MB / 0.6135 GB, free: 4.629 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01773/0.7332, allocations: 11.22 MB / 0.6244 GB, free: 12.54 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003082/0.7364, allocations: 53.34 kB / 0.6245 GB, free: 12.52 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002347/0.7387, allocations: 467.2 kB / 0.6249 GB, free: 12.26 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006527/0.7453, allocations: 1.531 MB / 0.6264 GB, free: 11.38 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003668/0.749, allocations: 0.8607 MB / 0.6272 GB, free: 10.97 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.006828/0.7558, allocations: 3.395 MB / 0.6306 GB, free: 9.293 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001879/0.7577, allocations: 0.8124 MB / 0.6314 GB, free: 8.781 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003162/0.7609, allocations: 1.04 MB / 0.6324 GB, free: 8.203 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001744/0.7626, allocations: 0.8094 MB / 0.6332 GB, free: 7.738 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000127/0.7628, allocations: 44 kB / 0.6332 GB, free: 7.738 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003274/0.7661, allocations: 1.089 MB / 0.6343 GB, free: 7.152 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002829/0.7664, allocations: 209 kB / 0.6345 GB, free: 6.992 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005364/0.7669, allocations: 285.3 kB / 0.6347 GB, free: 6.824 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002612/0.7695, allocations: 1.639 MB / 0.6363 GB, free: 5.746 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/0.7695, allocations: 3.938 kB / 0.6363 GB, free: 5.742 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.7695, allocations: 0 / 0.6363 GB, free: 5.742 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.943e-05/0.7696, allocations: 0 / 0.6363 GB, free: 5.742 MB / 462.1 MB 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.002998/0.7726, allocations: 1.51 MB / 0.6378 GB, free: 4.57 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.7726, allocations: 11.56 kB / 0.6378 GB, free: 4.566 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002276/0.7749, allocations: 0.5114 MB / 0.6383 GB, free: 4.355 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002212/0.7771, allocations: 1.097 MB / 0.6394 GB, free: 3.469 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003255/0.7775, allocations: 130.2 kB / 0.6395 GB, free: 3.418 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.7776, allocations: 85.41 kB / 0.6396 GB, free: 3.391 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002204/0.7798, allocations: 1.026 MB / 0.6406 GB, free: 2.766 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.7798, allocations: 0 / 0.6406 GB, free: 2.766 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.509e-05/0.7799, allocations: 31.44 kB / 0.6406 GB, free: 2.742 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.939e-05/0.78, allocations: 18.91 kB / 0.6407 GB, free: 2.742 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002561/0.7825, allocations: 1.007 MB / 0.6416 GB, free: 2.266 MB / 462.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.007624/0.7902, allocations: 4.728 MB / 0.6463 GB, free: 14.11 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003701/0.7939, allocations: 1.12 MB / 0.6473 GB, free: 13.59 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001018/0.7949, allocations: 449.1 kB / 0.6478 GB, free: 13.39 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00109/0.796, allocations: 1.029 MB / 0.6488 GB, free: 12.21 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.7961, allocations: 38.44 kB / 0.6488 GB, free: 12.17 MB / 478.1 MB Notification: Performance of pre-optimization done (n=53): time 2.555e-06/0.7961, allocations: 0 / 0.6488 GB, free: 12.17 MB / 478.1 MB Notification: Performance of matching and sorting (n=53): time 0.008814/0.8049, allocations: 2.486 MB / 0.6512 GB, free: 9.875 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.805, allocations: 59.84 kB / 0.6513 GB, free: 9.805 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001627/0.8066, allocations: 0.9275 MB / 0.6522 GB, free: 8.859 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001004/0.8067, allocations: 45.64 kB / 0.6523 GB, free: 8.809 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000482/0.8072, allocations: 0.5002 MB / 0.6527 GB, free: 8.305 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002171/0.8075, allocations: 185.3 kB / 0.6529 GB, free: 8.121 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.324e-05/0.8075, allocations: 15.94 kB / 0.6529 GB, free: 8.105 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.8076, allocations: 326 kB / 0.6532 GB, free: 7.781 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009858/0.8086, allocations: 380.9 kB / 0.6536 GB, free: 7.406 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001122/0.8098, allocations: 0.5356 MB / 0.6541 GB, free: 6.812 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.8108, allocations: 405.9 kB / 0.6545 GB, free: 6.418 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.8108, allocations: 0 / 0.6545 GB, free: 6.418 MB / 478.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002887/0.8137, allocations: 1.115 MB / 0.6556 GB, free: 5.293 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001435/0.8139, allocations: 172.3 kB / 0.6558 GB, free: 5.09 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.8139, allocations: 8.703 kB / 0.6558 GB, free: 5.082 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001266/0.8152, allocations: 332.4 kB / 0.6561 GB, free: 4.754 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006143/0.8158, allocations: 143.8 kB / 0.6562 GB, free: 4.613 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001497/0.8173, allocations: 0.9411 MB / 0.6572 GB, free: 3.648 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/0.8187, allocations: 166.6 kB / 0.6573 GB, free: 3.488 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.447e-05/0.8188, allocations: 27.98 kB / 0.6573 GB, free: 3.461 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.8188, allocations: 4 kB / 0.6573 GB, free: 3.457 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002593/0.8214, allocations: 1.005 MB / 0.6583 GB, free: 2.445 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.8214, allocations: 7.938 kB / 0.6583 GB, free: 2.438 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001065/0.8225, allocations: 320.8 kB / 0.6586 GB, free: 2.121 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006112/0.8231, allocations: 143.8 kB / 0.6588 GB, free: 1.98 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/0.8246, allocations: 0.9317 MB / 0.6597 GB, free: 1.023 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/0.8259, allocations: 171.5 kB / 0.6598 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.33e-05/0.826, allocations: 27.98 kB / 0.6599 GB, free: 0.8281 MB / 478.1 MB 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.0006649/0.8267, allocations: 348.9 kB / 0.6602 GB, free: 488 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003154/0.827, allocations: 110.6 kB / 0.6603 GB, free: 376 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004303/0.8313, allocations: 1.443 MB / 0.6617 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.07e-05/0.8313, allocations: 11.98 kB / 0.6617 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.8314, allocations: 3.953 kB / 0.6617 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.8314, allocations: 3.984 kB / 0.6617 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005971/0.8374, allocations: 2.518 MB / 0.6642 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/0.8374, allocations: 3.984 kB / 0.6642 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005313/0.8379, allocations: 116 kB / 0.6643 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001009/0.8389, allocations: 320.5 kB / 0.6646 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.556e-05/0.839, allocations: 15.98 kB / 0.6646 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001454/0.8405, allocations: 0.9761 MB / 0.6656 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.8405, allocations: 3.984 kB / 0.6656 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00404/0.8445, allocations: 1.46 MB / 0.667 GB, free: 9.359 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007081/0.8453, allocations: 283.5 kB / 0.6673 GB, free: 9.062 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000267/0.8455, allocations: 15.98 kB / 0.6673 GB, free: 9.047 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/0.8466, allocations: 123.8 kB / 0.6674 GB, free: 8.926 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.889e-05/0.8467, allocations: 48.25 kB / 0.6675 GB, free: 8.879 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.834e-05/0.8468, allocations: 23.98 kB / 0.6675 GB, free: 8.855 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001177/0.848, allocations: 0.6518 MB / 0.6681 GB, free: 8.195 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.848, allocations: 0 / 0.6681 GB, free: 8.195 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002099/0.8501, allocations: 0.5652 MB / 0.6687 GB, free: 7.629 MB / 494.1 MB 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.001046/0.8511, allocations: 361.6 kB / 0.669 GB, free: 7.273 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003809/0.855, allocations: 1.389 MB / 0.6704 GB, free: 5.883 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/0.855, allocations: 8 kB / 0.6704 GB, free: 5.875 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001215/0.8562, allocations: 488.8 kB / 0.6709 GB, free: 5.395 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00274/0.859, allocations: 0.5037 MB / 0.6713 GB, free: 4.895 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004687/0.8637, allocations: 2.361 MB / 0.6737 GB, free: 2.484 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008358/0.8645, allocations: 1.066 MB / 0.6747 GB, free: 1.387 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004204/0.865, allocations: 83.41 kB / 0.6748 GB, free: 1.305 MB / 494.1 MB Notification: Performance of SimCode: time 9.72e-07/0.865, allocations: 3.938 kB / 0.6748 GB, free: 1.301 MB / 494.1 MB Notification: Performance of Templates: time 0.03725/0.9022, allocations: 23.84 MB / 0.6981 GB, free: 9.625 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile make -j1 -f IBPSA_latest_IBPSA.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 OMCppIBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlowCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlowCalcHelperMain.o] Error 1