Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0009548/0.000955, allocations: 102.3 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.001333/0.001333, allocations: 177.6 kB / 16.58 MB, free: 6.039 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.435/1.435, allocations: 223.3 MB / 240.6 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7886/0.7886, allocations: 132.3 MB / 424 MB, free: 2.055 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003397/0.0003397, allocations: 8.812 kB / 0.504 GB, free: 4.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4962/0.4966, allocations: 81.58 MB / 0.5837 GB, free: 3.965 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.05966/0.5563, allocations: 56.49 MB / 0.6388 GB, free: 7.953 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01663/0.573, allocations: 11.2 MB / 0.6498 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002852/0.5759, allocations: 55.62 kB / 0.6498 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001817/0.5777, allocations: 464.8 kB / 0.6503 GB, free: 12.22 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005416/0.5832, allocations: 1.523 MB / 0.6518 GB, free: 10.69 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002841/0.586, allocations: 0.859 MB / 0.6526 GB, free: 9.844 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004516/0.5906, allocations: 3.402 MB / 0.6559 GB, free: 6.43 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001357/0.5919, allocations: 0.8183 MB / 0.6567 GB, free: 5.586 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002322/0.5943, allocations: 1.042 MB / 0.6577 GB, free: 4.539 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001101/0.5954, allocations: 0.8166 MB / 0.6585 GB, free: 3.719 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.5955, allocations: 44 kB / 0.6586 GB, free: 3.676 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002784/0.5983, allocations: 1.091 MB / 0.6597 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002311/0.5985, allocations: 203 kB / 0.6598 GB, free: 2.383 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003807/0.5989, allocations: 285 kB / 0.6601 GB, free: 2.098 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001893/0.6008, allocations: 1.644 MB / 0.6617 GB, free: 460 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.6008, allocations: 0 / 0.6617 GB, free: 460 kB / 494.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.6008, allocations: 0 / 0.6617 GB, free: 460 kB / 494.1 MB Notification: Performance of Transformations before backend: time 1.614e-05/0.6009, allocations: 4 kB / 0.6617 GB, free: 456 kB / 494.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.002841/0.6037, allocations: 1.512 MB / 0.6632 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.6038, allocations: 8.031 kB / 0.6632 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002217/0.606, allocations: 0.5212 MB / 0.6637 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002226/0.6082, allocations: 1.09 MB / 0.6648 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003285/0.6086, allocations: 129.9 kB / 0.6649 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.6087, allocations: 84 kB / 0.665 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002239/0.611, allocations: 1.029 MB / 0.666 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.611, allocations: 4 kB / 0.666 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.363e-05/0.6111, allocations: 32 kB / 0.666 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.132e-05/0.6111, allocations: 20 kB / 0.666 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002466/0.6136, allocations: 1.003 MB / 0.667 GB, free: 10.87 MB / 0.4981 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.00611/0.6197, allocations: 4.704 MB / 0.6716 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003619/0.6233, allocations: 1.125 MB / 0.6727 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009798/0.6243, allocations: 449.9 kB / 0.6731 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009566/0.6253, allocations: 1.029 MB / 0.6742 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.6253, allocations: 35 kB / 0.6742 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=53): time 2.925e-06/0.6253, allocations: 4 kB / 0.6742 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of matching and sorting (n=53): time 0.008617/0.634, allocations: 2.494 MB / 0.6766 GB, free: 420 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.634, allocations: 55.84 kB / 0.6767 GB, free: 352 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/0.6354, allocations: 0.9237 MB / 0.6776 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.781e-05/0.6355, allocations: 41.69 kB / 0.6776 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004242/0.6359, allocations: 0.504 MB / 0.6781 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001882/0.6361, allocations: 185.3 kB / 0.6783 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-05/0.6361, allocations: 8 kB / 0.6783 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.6363, allocations: 326 kB / 0.6786 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009179/0.6372, allocations: 376.9 kB / 0.679 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001053/0.6383, allocations: 0.5473 MB / 0.6795 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009596/0.6392, allocations: 401.9 kB / 0.6799 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.6392, allocations: 0 / 0.6799 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002655/0.6419, allocations: 1.131 MB / 0.681 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001109/0.642, allocations: 168.2 kB / 0.6812 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.642, allocations: 7.984 kB / 0.6812 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001209/0.6433, allocations: 320.6 kB / 0.6815 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005934/0.6439, allocations: 143.8 kB / 0.6816 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00135/0.6452, allocations: 0.9415 MB / 0.6825 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/0.6463, allocations: 180.8 kB / 0.6827 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.425e-05/0.6464, allocations: 27.98 kB / 0.6827 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.809e-06/0.6464, allocations: 4 kB / 0.6827 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00242/0.6488, allocations: 1.005 MB / 0.6837 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.6489, allocations: 4 kB / 0.6837 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009546/0.6498, allocations: 320.7 kB / 0.684 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005846/0.6504, allocations: 135.8 kB / 0.6841 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/0.6517, allocations: 0.9387 MB / 0.6851 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/0.6528, allocations: 167.4 kB / 0.6852 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.746e-05/0.6528, allocations: 27.98 kB / 0.6852 GB, free: 7.367 MB / 0.5137 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.0005695/0.6534, allocations: 353 kB / 0.6856 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/0.6536, allocations: 106.7 kB / 0.6857 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003989/0.6576, allocations: 1.446 MB / 0.6871 GB, free: 5.457 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/0.6576, allocations: 4 kB / 0.6871 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.6576, allocations: 4 kB / 0.6871 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.6576, allocations: 7.922 kB / 0.6871 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005354/0.663, allocations: 2.506 MB / 0.6896 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/0.663, allocations: 4 kB / 0.6896 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005023/0.6635, allocations: 116 kB / 0.6897 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009587/0.6645, allocations: 331 kB / 0.69 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.932e-05/0.6645, allocations: 23.94 kB / 0.69 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001412/0.666, allocations: 0.9638 MB / 0.691 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.666, allocations: 4.031 kB / 0.691 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003831/0.6698, allocations: 1.452 MB / 0.6924 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005183/0.6703, allocations: 291.4 kB / 0.6927 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.6705, allocations: 12 kB / 0.6927 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008552/0.6713, allocations: 127.8 kB / 0.6928 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.6715, allocations: 44.33 kB / 0.6928 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-05/0.6715, allocations: 23.98 kB / 0.6929 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009557/0.6725, allocations: 0.6479 MB / 0.6935 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.71e-07/0.6725, allocations: 0 / 0.6935 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00149/0.674, allocations: 0.5769 MB / 0.6941 GB, free: 14.17 MB / 0.5294 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.0007529/0.6747, allocations: 369 kB / 0.6944 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003512/0.6783, allocations: 1.393 MB / 0.6958 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.6783, allocations: 0 / 0.6958 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001145/0.6794, allocations: 484.9 kB / 0.6962 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002259/0.6817, allocations: 0.498 MB / 0.6967 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003953/0.6857, allocations: 2.362 MB / 0.699 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006025/0.6863, allocations: 1.063 MB / 0.7001 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002702/0.6866, allocations: 87.41 kB / 0.7001 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of SimCode: time 9.22e-07/0.6866, allocations: 0 / 0.7001 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of Templates: time 0.03469/0.7213, allocations: 23.84 MB / 0.7234 GB, free: 224 kB / 0.545 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile make -j1 -f IDEAS_IDEAS.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 OMCppIDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlowCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlowCalcHelperMain.o] Error 1