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.0008032/0.0008032, allocations: 98.88 kB / 16.02 MB, free: 76 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.0009357/0.0009359, allocations: 184 kB / 16.92 MB, free: 6.742 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.344/1.344, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7321/0.7321, allocations: 132.3 MB / 424.4 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003347/0.0003347, allocations: 8 kB / 0.5046 GB, free: 3.891 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.475/0.4754, allocations: 81.58 MB / 0.5843 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06877/0.5442, allocations: 68.82 MB / 0.6515 GB, free: 11.42 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02403/0.5683, allocations: 18.76 MB / 0.6698 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002883/0.5712, allocations: 63.56 kB / 0.6699 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002161/0.5734, allocations: 0.6488 MB / 0.6705 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008083/0.5815, allocations: 2.609 MB / 0.6731 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004087/0.5856, allocations: 1.494 MB / 0.6745 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006826/0.5924, allocations: 5.009 MB / 0.6794 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001871/0.5943, allocations: 1.152 MB / 0.6805 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003251/0.5976, allocations: 1.454 MB / 0.6819 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001753/0.5993, allocations: 1.108 MB / 0.683 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001334/0.5995, allocations: 56 kB / 0.6831 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002772/0.6023, allocations: 1.228 MB / 0.6843 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002883/0.6026, allocations: 250.7 kB / 0.6845 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009463/0.6035, allocations: 0.8099 MB / 0.6853 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002783/0.6063, allocations: 2.381 MB / 0.6876 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.6063, allocations: 0 / 0.6876 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.565e-06/0.6063, allocations: 0 / 0.6876 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.894e-05/0.6064, allocations: 0 / 0.6876 GB, free: 6.273 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.003039/0.6094, allocations: 1.711 MB / 0.6893 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.6095, allocations: 8.031 kB / 0.6893 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002195/0.6117, allocations: 0.5018 MB / 0.6898 GB, free: 3.988 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002476/0.6142, allocations: 1.504 MB / 0.6913 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003648/0.6145, allocations: 146 kB / 0.6914 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/0.6147, allocations: 108 kB / 0.6915 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0025/0.6172, allocations: 1.317 MB / 0.6928 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/0.6173, allocations: 4 kB / 0.6928 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.392e-05/0.6174, allocations: 44 kB / 0.6929 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.3e-05/0.6174, allocations: 31.94 kB / 0.6929 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002631/0.62, allocations: 1.159 MB / 0.694 GB, free: 15.53 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.008026/0.6281, allocations: 7.18 MB / 0.701 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003198/0.6313, allocations: 0.9072 MB / 0.7019 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006065/0.6319, allocations: 302 kB / 0.7022 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001265/0.6332, allocations: 1.718 MB / 0.7039 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.6332, allocations: 42.94 kB / 0.7039 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=48): time 2.504e-06/0.6332, allocations: 0 / 0.7039 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48): time 0.004762/0.638, allocations: 1.455 MB / 0.7053 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.638, allocations: 55.84 kB / 0.7054 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002228/0.6403, allocations: 1.533 MB / 0.7069 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.459e-05/0.6404, allocations: 37.7 kB / 0.7069 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005381/0.6409, allocations: 0.6691 MB / 0.7076 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001447/0.6411, allocations: 165.6 kB / 0.7077 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.882e-05/0.6411, allocations: 57.69 kB / 0.7078 GB, free: 448 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.6413, allocations: 341.9 kB / 0.7081 GB, free: 100 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009706/0.6422, allocations: 393.8 kB / 0.7085 GB, free: 15.71 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/0.6434, allocations: 0.6588 MB / 0.7091 GB, free: 14.94 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001675/0.6451, allocations: 0.8873 MB / 0.71 GB, free: 13.96 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.6451, allocations: 0 / 0.71 GB, free: 13.96 MB / 0.545 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004162/0.6493, allocations: 1.439 MB / 0.7114 GB, free: 12.52 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.6493, allocations: 14.17 kB / 0.7114 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.6493, allocations: 8.031 kB / 0.7114 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008414/0.6502, allocations: 228.6 kB / 0.7116 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007207/0.6509, allocations: 191.8 kB / 0.7118 GB, free: 12.08 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008187/0.6517, allocations: 0.7319 MB / 0.7125 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/0.6533, allocations: 258.6 kB / 0.7128 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.067e-05/0.6533, allocations: 47.97 kB / 0.7128 GB, free: 11.02 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.0005861/0.6539, allocations: 353.6 kB / 0.7132 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001762/0.6541, allocations: 150.1 kB / 0.7133 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002257/0.6564, allocations: 1.168 MB / 0.7145 GB, free: 9.363 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/0.6564, allocations: 19.92 kB / 0.7145 GB, free: 9.344 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.6564, allocations: 96 / 0.7145 GB, free: 9.344 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.6564, allocations: 3.938 kB / 0.7145 GB, free: 9.34 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004844/0.6613, allocations: 2.604 MB / 0.717 GB, free: 6.656 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.6613, allocations: 4 kB / 0.717 GB, free: 6.652 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003429/0.6617, allocations: 83.89 kB / 0.7171 GB, free: 6.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007247/0.6624, allocations: 228.7 kB / 0.7173 GB, free: 6.344 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.752e-05/0.6624, allocations: 19.98 kB / 0.7173 GB, free: 6.324 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001259/0.6637, allocations: 0.8021 MB / 0.7181 GB, free: 5.496 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.6637, allocations: 4.031 kB / 0.7181 GB, free: 5.492 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003246/0.667, allocations: 1.289 MB / 0.7194 GB, free: 4.16 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000544/0.6675, allocations: 374.8 kB / 0.7197 GB, free: 3.773 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/0.6677, allocations: 19.98 kB / 0.7198 GB, free: 3.754 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009012/0.6686, allocations: 103.8 kB / 0.7199 GB, free: 3.652 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.833e-05/0.6687, allocations: 44.5 kB / 0.7199 GB, free: 3.609 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.589e-05/0.6687, allocations: 27.98 kB / 0.7199 GB, free: 3.582 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001699/0.6704, allocations: 1.086 MB / 0.721 GB, free: 2.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6705, allocations: 0 / 0.721 GB, free: 2.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001277/0.6717, allocations: 435.4 kB / 0.7214 GB, free: 2.074 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.0008473/0.6726, allocations: 475.9 kB / 0.7219 GB, free: 1.613 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002053/0.6747, allocations: 0.8758 MB / 0.7227 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.6747, allocations: 256 / 0.7227 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001249/0.6759, allocations: 471.4 kB / 0.7232 GB, free: 292 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003318/0.6793, allocations: 0.7124 MB / 0.7239 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004433/0.6837, allocations: 2.814 MB / 0.7266 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008365/0.6846, allocations: 1.162 MB / 0.7277 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004238/0.685, allocations: 123.4 kB / 0.7279 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of SimCode: time 7.01e-07/0.685, allocations: 0 / 0.7279 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of Templates: time 0.04056/0.7256, allocations: 33.59 MB / 0.7607 GB, free: 10.07 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