Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008359/0.0008357, allocations: 103 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.0008636/0.0008637, allocations: 171.5 kB / 16.58 MB, free: 6.402 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.456/1.456, allocations: 223.3 MB / 240.6 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7374/0.7374, allocations: 132.3 MB / 424 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003336/0.0003337, allocations: 8.562 kB / 0.504 GB, free: 4.293 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5061/0.5064, allocations: 81.58 MB / 0.5837 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06656/0.573, allocations: 65.07 MB / 0.6472 GB, free: 15.42 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02425/0.5973, allocations: 17.69 MB / 0.6645 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00291/0.6003, allocations: 59.62 kB / 0.6645 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002313/0.6026, allocations: 0.5198 MB / 0.665 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007479/0.6101, allocations: 2.102 MB / 0.6671 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003975/0.6141, allocations: 1.093 MB / 0.6682 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00655/0.6207, allocations: 4.378 MB / 0.6724 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002107/0.6228, allocations: 1.018 MB / 0.6734 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003609/0.6264, allocations: 1.333 MB / 0.6747 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002269/0.6287, allocations: 1.034 MB / 0.6758 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002485/0.629, allocations: 56 kB / 0.6758 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002905/0.6319, allocations: 0.9121 MB / 0.6767 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000332/0.6323, allocations: 250.8 kB / 0.6769 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006797/0.6329, allocations: 368.9 kB / 0.6773 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00286/0.6358, allocations: 2.291 MB / 0.6795 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.6358, allocations: 0 / 0.6795 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.284e-06/0.6358, allocations: 4 kB / 0.6795 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.11e-05/0.6359, allocations: 0 / 0.6795 GB, free: 14.22 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003293/0.6392, allocations: 1.723 MB / 0.6812 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/0.6392, allocations: 8.031 kB / 0.6812 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002202/0.6415, allocations: 0.4976 MB / 0.6817 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002705/0.6442, allocations: 1.466 MB / 0.6831 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003337/0.6445, allocations: 145.9 kB / 0.6833 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.6447, allocations: 104 kB / 0.6834 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002502/0.6472, allocations: 1.317 MB / 0.6847 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.6472, allocations: 0 / 0.6847 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.607e-05/0.6473, allocations: 44 kB / 0.6847 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.137e-05/0.6474, allocations: 24 kB / 0.6847 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002538/0.6499, allocations: 1.163 MB / 0.6859 GB, free: 7.52 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.008313/0.6582, allocations: 7.184 MB / 0.6929 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002834/0.6611, allocations: 0.8922 MB / 0.6937 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005651/0.6617, allocations: 294 kB / 0.694 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001237/0.6629, allocations: 1.726 MB / 0.6957 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.663, allocations: 39 kB / 0.6957 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=48): time 2.295e-06/0.663, allocations: 0 / 0.6957 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48): time 0.004387/0.6674, allocations: 1.451 MB / 0.6972 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/0.6674, allocations: 55.84 kB / 0.6972 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002168/0.6696, allocations: 1.513 MB / 0.6987 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.414e-05/0.6697, allocations: 37.7 kB / 0.6987 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005387/0.6702, allocations: 0.6692 MB / 0.6994 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/0.6704, allocations: 165.6 kB / 0.6995 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/0.6704, allocations: 16 kB / 0.6996 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.6705, allocations: 337.9 kB / 0.6999 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009003/0.6714, allocations: 385.8 kB / 0.7003 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.6725, allocations: 0.6549 MB / 0.7009 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009495/0.6735, allocations: 441.9 kB / 0.7013 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.6735, allocations: 7.984 kB / 0.7013 GB, free: 6.605 MB / 0.5294 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002642/0.6762, allocations: 1.212 MB / 0.7025 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.6762, allocations: 8 kB / 0.7025 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.6762, allocations: 4 kB / 0.7025 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007908/0.677, allocations: 233.4 kB / 0.7027 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000728/0.6777, allocations: 195.7 kB / 0.7029 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008102/0.6786, allocations: 0.7318 MB / 0.7036 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/0.68, allocations: 266.7 kB / 0.7039 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.23e-05/0.6801, allocations: 43.92 kB / 0.7039 GB, free: 3.887 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0005879/0.6807, allocations: 357.6 kB / 0.7043 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/0.6809, allocations: 150.1 kB / 0.7044 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002202/0.6831, allocations: 1.174 MB / 0.7056 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.825e-05/0.6832, allocations: 12 kB / 0.7056 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.6832, allocations: 0 / 0.7056 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.6832, allocations: 3.984 kB / 0.7056 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004602/0.6878, allocations: 2.596 MB / 0.7081 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.6878, allocations: 0 / 0.7081 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000341/0.6882, allocations: 83.89 kB / 0.7082 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006762/0.6888, allocations: 224.8 kB / 0.7084 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.66e-05/0.6889, allocations: 15.98 kB / 0.7084 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001147/0.69, allocations: 0.8021 MB / 0.7092 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.6901, allocations: 3.953 kB / 0.7092 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003044/0.6931, allocations: 1.281 MB / 0.7105 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006259/0.6938, allocations: 374.9 kB / 0.7108 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001752/0.6939, allocations: 11.95 kB / 0.7108 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008432/0.6948, allocations: 115.7 kB / 0.7109 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.416e-05/0.6949, allocations: 40.45 kB / 0.711 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-05/0.6949, allocations: 31.97 kB / 0.711 GB, free: 12.46 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001646/0.6966, allocations: 1.066 MB / 0.7121 GB, free: 11.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6966, allocations: 0 / 0.7121 GB, free: 11.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001181/0.6978, allocations: 439.4 kB / 0.7125 GB, free: 10.97 MB / 0.545 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007339/0.6985, allocations: 461 kB / 0.7129 GB, free: 10.54 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001898/0.7004, allocations: 0.8719 MB / 0.7138 GB, free: 9.664 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.7005, allocations: 0 / 0.7138 GB, free: 9.664 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001154/0.7016, allocations: 475.5 kB / 0.7142 GB, free: 9.199 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002841/0.7045, allocations: 0.6932 MB / 0.7149 GB, free: 8.516 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00394/0.7084, allocations: 2.749 MB / 0.7176 GB, free: 5.715 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006843/0.7091, allocations: 1.158 MB / 0.7187 GB, free: 4.523 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000318/0.7095, allocations: 119.4 kB / 0.7188 GB, free: 4.406 MB / 0.545 GB Notification: Performance of SimCode: time 9.12e-07/0.7095, allocations: 0 / 0.7188 GB, free: 4.406 MB / 0.545 GB Notification: Performance of Templates: time 0.04607/0.7556, allocations: 33.59 MB / 0.7516 GB, free: 3.07 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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.Chillers.Validation.Carnot_TEva_2ndLawCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLawCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLawCalcHelperMain.o] Error 1