Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000869/0.0008689, allocations: 99.98 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.001107/0.001107, allocations: 177 kB / 16.58 MB, free: 6.422 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.451/1.451, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7859/0.7859, allocations: 132.3 MB / 424 MB, free: 2.113 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.000342, allocations: 8 kB / 0.504 GB, free: 4.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5139/0.5142, allocations: 81.59 MB / 0.5837 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.07281/0.5871, allocations: 69.44 MB / 0.6515 GB, free: 11 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02011/0.6073, allocations: 14.16 MB / 0.6653 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003144/0.6105, allocations: 63.62 kB / 0.6654 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002128/0.6126, allocations: 0.5627 MB / 0.6659 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006601/0.6192, allocations: 1.985 MB / 0.6679 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003214/0.6225, allocations: 0.9678 MB / 0.6688 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006474/0.629, allocations: 4.801 MB / 0.6735 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002091/0.6311, allocations: 1.029 MB / 0.6745 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003446/0.6345, allocations: 1.275 MB / 0.6757 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002062/0.6366, allocations: 1.081 MB / 0.6768 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001733/0.6368, allocations: 52 kB / 0.6769 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002749/0.6396, allocations: 0.9237 MB / 0.6778 GB, free: 16 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003531/0.6399, allocations: 270.9 kB / 0.678 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006118/0.6405, allocations: 360.9 kB / 0.6784 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002558/0.6431, allocations: 2.073 MB / 0.6804 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.6431, allocations: 4 kB / 0.6804 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.043e-06/0.6431, allocations: 0 / 0.6804 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.159e-05/0.6432, allocations: 4 kB / 0.6804 GB, free: 13.3 MB / 0.5137 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.003398/0.6466, allocations: 1.791 MB / 0.6821 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.6466, allocations: 12.02 kB / 0.6822 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007353/0.6474, allocations: 249.8 kB / 0.6824 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002367/0.6498, allocations: 1.447 MB / 0.6838 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.078e-05/0.6498, allocations: 74 kB / 0.6839 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/0.65, allocations: 100 kB / 0.684 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002043/0.652, allocations: 1.112 MB / 0.6851 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.591e-05/0.6521, allocations: 0 / 0.6851 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.051e-05/0.6522, allocations: 44 kB / 0.6851 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.78e-05/0.6522, allocations: 27.98 kB / 0.6851 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001868/0.6541, allocations: 0.9251 MB / 0.686 GB, free: 7.375 MB / 0.5137 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.006136/0.6602, allocations: 4.911 MB / 0.6908 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/0.6616, allocations: 0.6322 MB / 0.6914 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006783/0.6623, allocations: 367.1 kB / 0.6918 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006571/0.663, allocations: 0.8277 MB / 0.6926 GB, free: 168 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.663, allocations: 43.06 kB / 0.6926 GB, free: 116 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 3.076e-06/0.663, allocations: 0 / 0.6926 GB, free: 116 kB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.006525/0.6696, allocations: 1.896 MB / 0.6945 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.6696, allocations: 59.97 kB / 0.6945 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001761/0.6714, allocations: 1.202 MB / 0.6957 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.772e-05/0.6715, allocations: 45.64 kB / 0.6958 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005359/0.6721, allocations: 0.6143 MB / 0.6964 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002473/0.6723, allocations: 205 kB / 0.6966 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-05/0.6724, allocations: 12 kB / 0.6966 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.6725, allocations: 334 kB / 0.6969 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006169/0.6731, allocations: 301.8 kB / 0.6972 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007756/0.6739, allocations: 0.5007 MB / 0.6977 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000699/0.6746, allocations: 367 kB / 0.698 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.6747, allocations: 4 kB / 0.698 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004326/0.679, allocations: 1.39 MB / 0.6994 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001372/0.6792, allocations: 202 kB / 0.6996 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.6792, allocations: 4 kB / 0.6996 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000571/0.6797, allocations: 148.7 kB / 0.6997 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006124/0.6804, allocations: 167.8 kB / 0.6999 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007992/0.6812, allocations: 0.7085 MB / 0.7006 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/0.6824, allocations: 167.1 kB / 0.7007 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.728e-05/0.6825, allocations: 35.98 kB / 0.7008 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.015e-06/0.6825, allocations: 0 / 0.7008 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003851/0.6864, allocations: 1.25 MB / 0.702 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.6864, allocations: 4 kB / 0.702 GB, free: 6.301 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004583/0.6869, allocations: 160.2 kB / 0.7021 GB, free: 6.145 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005493/0.6874, allocations: 163.8 kB / 0.7023 GB, free: 5.984 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007467/0.6882, allocations: 0.7123 MB / 0.703 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/0.6895, allocations: 155.1 kB / 0.7031 GB, free: 5.094 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.429e-05/0.6895, allocations: 35.98 kB / 0.7032 GB, free: 5.059 MB / 0.5294 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.0009184/0.6905, allocations: 419.4 kB / 0.7036 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002423/0.6907, allocations: 138.4 kB / 0.7037 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004123/0.6948, allocations: 1.4 MB / 0.7051 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.985e-05/0.6949, allocations: 8 kB / 0.7051 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.6949, allocations: 3.938 kB / 0.7051 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003607/0.6985, allocations: 1.228 MB / 0.7063 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006185/0.7047, allocations: 2.739 MB / 0.709 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.7047, allocations: 12.03 kB / 0.709 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004584/0.7052, allocations: 119.9 kB / 0.7091 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004603/0.7057, allocations: 140.4 kB / 0.7092 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.42e-05/0.7057, allocations: 23.98 kB / 0.7092 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004233/0.71, allocations: 2.474 MB / 0.7117 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.184e-06/0.71, allocations: 11.92 kB / 0.7117 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004945/0.7149, allocations: 1.848 MB / 0.7135 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009855/0.716, allocations: 335.1 kB / 0.7138 GB, free: 9.77 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/0.7161, allocations: 16 kB / 0.7138 GB, free: 9.754 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008205/0.7169, allocations: 87.91 kB / 0.7139 GB, free: 9.668 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/0.7171, allocations: 64.27 kB / 0.714 GB, free: 9.605 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.81e-05/0.7172, allocations: 35.97 kB / 0.714 GB, free: 9.57 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001467/0.7186, allocations: 0.8506 MB / 0.7148 GB, free: 8.719 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7187, allocations: 0 / 0.7148 GB, free: 8.719 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002357/0.721, allocations: 0.7095 MB / 0.7155 GB, free: 8.008 MB / 0.545 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.000939/0.722, allocations: 442.4 kB / 0.7159 GB, free: 7.578 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002481/0.7245, allocations: 1.153 MB / 0.7171 GB, free: 6.426 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.7245, allocations: 0 / 0.7171 GB, free: 6.426 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001347/0.7258, allocations: 0.5994 MB / 0.7176 GB, free: 5.816 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003241/0.7291, allocations: 0.7565 MB / 0.7184 GB, free: 5.078 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004066/0.7332, allocations: 2.795 MB / 0.7211 GB, free: 2.207 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006975/0.7339, allocations: 1.169 MB / 0.7223 GB, free: 1.012 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002861/0.7342, allocations: 107.4 kB / 0.7224 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of SimCode: time 8.52e-07/0.7342, allocations: 0 / 0.7224 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of Templates: time 0.0423/0.7765, allocations: 30.75 MB / 0.7524 GB, free: 2.367 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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_y_etaCarCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCarCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCarCalcHelperMain.o] Error 1