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.005242/0.005242, allocations: 100.1 kB / 15.87 MB, free: 5.863 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.001115/0.001115, allocations: 188.7 kB / 16.79 MB, free: 5.805 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.295/1.295, allocations: 222.9 MB / 240.4 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7512/0.7512, allocations: 132.2 MB / 422.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001078/0.001078, allocations: 62.91 kB / 0.5017 GB, free: 4.328 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4353/0.4364, allocations: 80.2 MB / 0.58 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06638/0.5028, allocations: 70.05 MB / 0.6484 GB, free: 11.53 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02533/0.5282, allocations: 18.98 MB / 0.667 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003111/0.5313, allocations: 67.56 kB / 0.667 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002255/0.5336, allocations: 0.6605 MB / 0.6677 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007557/0.5412, allocations: 2.601 MB / 0.6702 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003851/0.545, allocations: 1.501 MB / 0.6717 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005915/0.551, allocations: 5.013 MB / 0.6766 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001758/0.5527, allocations: 1.179 MB / 0.6777 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003138/0.5559, allocations: 1.497 MB / 0.6792 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001627/0.5575, allocations: 1.159 MB / 0.6803 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001564/0.5577, allocations: 76 kB / 0.6804 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002532/0.5602, allocations: 1.236 MB / 0.6816 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002823/0.5605, allocations: 302.5 kB / 0.6819 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008705/0.5614, allocations: 0.8122 MB / 0.6827 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002463/0.5639, allocations: 2.436 MB / 0.6851 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.5639, allocations: 0 / 0.6851 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5639, allocations: 0 / 0.6851 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.534e-05/0.5639, allocations: 0 / 0.6851 GB, free: 5.898 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.00325/0.5672, allocations: 2.034 MB / 0.687 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.5672, allocations: 8.031 kB / 0.6871 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002084/0.5693, allocations: 449.8 kB / 0.6875 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002289/0.5716, allocations: 1.504 MB / 0.689 GB, free: 1.789 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003378/0.572, allocations: 137.9 kB / 0.6891 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.5721, allocations: 108 kB / 0.6892 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002329/0.5745, allocations: 1.289 MB / 0.6904 GB, free: 168 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.5745, allocations: 0 / 0.6904 GB, free: 168 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.927e-05/0.5746, allocations: 52 kB / 0.6905 GB, free: 116 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.437e-05/0.5746, allocations: 31.94 kB / 0.6905 GB, free: 84 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00256/0.5772, allocations: 1.105 MB / 0.6916 GB, free: 14.97 MB / 0.5294 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.008365/0.5856, allocations: 7.137 MB / 0.6986 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002982/0.5886, allocations: 0.8017 MB / 0.6994 GB, free: 6.527 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005831/0.5892, allocations: 286 kB / 0.6996 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001496/0.5907, allocations: 1.722 MB / 0.7013 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.36e-05/0.5907, allocations: 39 kB / 0.7013 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=48): time 3.126e-06/0.5907, allocations: 4 kB / 0.7014 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48): time 0.004705/0.5955, allocations: 1.33 MB / 0.7027 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.5955, allocations: 55.84 kB / 0.7027 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002357/0.5979, allocations: 1.521 MB / 0.7042 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.412e-05/0.598, allocations: 37.7 kB / 0.7042 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005296/0.5985, allocations: 0.6614 MB / 0.7049 GB, free: 424 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/0.5987, allocations: 173.6 kB / 0.705 GB, free: 248 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002653/0.5989, allocations: 170.4 kB / 0.7052 GB, free: 72 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.5991, allocations: 337.9 kB / 0.7055 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000959/0.6001, allocations: 357.8 kB / 0.7059 GB, free: 15.38 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001305/0.6014, allocations: 0.6393 MB / 0.7065 GB, free: 14.63 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001799/0.6032, allocations: 0.8483 MB / 0.7073 GB, free: 13.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.6032, allocations: 4 kB / 0.7073 GB, free: 13.69 MB / 0.545 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004356/0.6076, allocations: 1.337 MB / 0.7086 GB, free: 12.34 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.6076, allocations: 8 kB / 0.7086 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.6076, allocations: 4 kB / 0.7086 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008906/0.6085, allocations: 225.1 kB / 0.7089 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007586/0.6093, allocations: 179.8 kB / 0.709 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008025/0.6101, allocations: 0.7239 MB / 0.7097 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001638/0.6118, allocations: 238.7 kB / 0.71 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.259e-05/0.6119, allocations: 39.98 kB / 0.71 GB, free: 10.91 MB / 0.545 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0006319/0.6125, allocations: 361.5 kB / 0.7103 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002499/0.6127, allocations: 146.1 kB / 0.7105 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00231/0.6151, allocations: 1.137 MB / 0.7116 GB, free: 9.285 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.266e-05/0.6151, allocations: 15.92 kB / 0.7116 GB, free: 9.27 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.6151, allocations: 4 kB / 0.7116 GB, free: 9.266 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.6151, allocations: 7.984 kB / 0.7116 GB, free: 9.258 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005331/0.6205, allocations: 2.502 MB / 0.7141 GB, free: 6.676 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.637e-06/0.6205, allocations: 4 kB / 0.7141 GB, free: 6.672 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003608/0.6209, allocations: 88.06 kB / 0.7141 GB, free: 6.586 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007597/0.6216, allocations: 212.6 kB / 0.7144 GB, free: 6.375 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.052e-05/0.6217, allocations: 16.09 kB / 0.7144 GB, free: 6.359 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00123/0.6229, allocations: 0.7785 MB / 0.7151 GB, free: 5.555 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.6229, allocations: 4.031 kB / 0.7151 GB, free: 5.551 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003342/0.6263, allocations: 1.203 MB / 0.7163 GB, free: 4.305 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007045/0.627, allocations: 343 kB / 0.7166 GB, free: 3.949 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001908/0.6272, allocations: 12 kB / 0.7166 GB, free: 3.938 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009154/0.6281, allocations: 99.67 kB / 0.7167 GB, free: 3.84 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.6282, allocations: 40.52 kB / 0.7168 GB, free: 3.801 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.05e-05/0.6283, allocations: 27.98 kB / 0.7168 GB, free: 3.773 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001725/0.63, allocations: 1.074 MB / 0.7179 GB, free: 2.703 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6301, allocations: 0 / 0.7179 GB, free: 2.703 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001377/0.6314, allocations: 435.4 kB / 0.7183 GB, free: 2.277 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009272/0.6324, allocations: 471.2 kB / 0.7187 GB, free: 1.82 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00216/0.6345, allocations: 0.8329 MB / 0.7195 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6346, allocations: 0 / 0.7195 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001258/0.6358, allocations: 443.5 kB / 0.72 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003671/0.6395, allocations: 0.6946 MB / 0.7206 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005074/0.6446, allocations: 2.771 MB / 0.7233 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007237/0.6454, allocations: 1.162 MB / 0.7245 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003688/0.6458, allocations: 119.4 kB / 0.7246 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of SimCode: time 8.31e-07/0.6458, allocations: 0 / 0.7246 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of Templates: time 0.04466/0.6904, allocations: 33.83 MB / 0.7576 GB, free: 10.2 MB / 0.5919 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++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/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