Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001294/0.001294, allocations: 91.89 kB / 16.33 MB, free: 5.582 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.001181/0.001181, allocations: 185.2 kB / 17.23 MB, free: 5.496 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.491/1.491, allocations: 223.3 MB / 241.2 MB, free: 328 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7987/0.7987, allocations: 114.3 MB / 406.7 MB, free: 8.289 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003533/0.0003535, allocations: 8 kB / 494.5 MB, free: 1.5 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4823/0.4827, allocations: 77.25 MB / 0.5583 GB, free: 37.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06478/0.5476, allocations: 65.05 MB / 0.6218 GB, free: 4.043 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02861/0.5762, allocations: 17.71 MB / 0.6391 GB, free: 2.297 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003865/0.5801, allocations: 63.56 kB / 0.6392 GB, free: 2.234 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002908/0.5831, allocations: 0.5238 MB / 0.6397 GB, free: 1.707 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009861/0.593, allocations: 2.095 MB / 0.6417 GB, free: 15.6 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004899/0.5979, allocations: 1.093 MB / 0.6428 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.007993/0.6059, allocations: 4.369 MB / 0.6471 GB, free: 10.14 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00249/0.6085, allocations: 1.018 MB / 0.6481 GB, free: 9.094 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00417/0.6127, allocations: 1.345 MB / 0.6494 GB, free: 7.746 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002601/0.6153, allocations: 1.034 MB / 0.6504 GB, free: 6.707 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002632/0.6156, allocations: 56 kB / 0.6504 GB, free: 6.652 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003234/0.6188, allocations: 0.9082 MB / 0.6513 GB, free: 5.742 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003541/0.6192, allocations: 250.8 kB / 0.6516 GB, free: 5.496 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007962/0.62, allocations: 372.9 kB / 0.6519 GB, free: 5.125 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003307/0.6233, allocations: 2.283 MB / 0.6542 GB, free: 2.836 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.6233, allocations: 0 / 0.6542 GB, free: 2.836 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.6233, allocations: 0 / 0.6542 GB, free: 2.836 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.103e-05/0.6234, allocations: 0 / 0.6542 GB, free: 2.836 MB / 494.1 MB 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.003557/0.6269, allocations: 1.731 MB / 0.6558 GB, free: 1.043 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.627, allocations: 12.03 kB / 0.6559 GB, free: 1.031 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002076/0.6291, allocations: 0.4937 MB / 0.6563 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002852/0.6319, allocations: 1.459 MB / 0.6578 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003266/0.6323, allocations: 146 kB / 0.6579 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.6325, allocations: 115.9 kB / 0.658 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00263/0.6351, allocations: 1.305 MB / 0.6593 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.658e-05/0.6351, allocations: 7.938 kB / 0.6593 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.6352, allocations: 44 kB / 0.6593 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.524e-05/0.6353, allocations: 28 kB / 0.6594 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002546/0.6378, allocations: 1.151 MB / 0.6605 GB, free: 12.13 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.009253/0.6471, allocations: 7.204 MB / 0.6675 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002814/0.6499, allocations: 0.887 MB / 0.6684 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005774/0.6505, allocations: 294 kB / 0.6687 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001411/0.6519, allocations: 1.726 MB / 0.6704 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.444e-05/0.652, allocations: 35 kB / 0.6704 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=48): time 2.675e-06/0.652, allocations: 4 kB / 0.6704 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=48): time 0.004585/0.6566, allocations: 1.448 MB / 0.6718 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.6567, allocations: 59.84 kB / 0.6719 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002583/0.6593, allocations: 1.517 MB / 0.6733 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001021/0.6594, allocations: 41.64 kB / 0.6734 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006263/0.66, allocations: 0.6652 MB / 0.674 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001941/0.6602, allocations: 169.6 kB / 0.6742 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.42e-05/0.6603, allocations: 16 kB / 0.6742 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.6604, allocations: 333.9 kB / 0.6745 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008916/0.6613, allocations: 381.8 kB / 0.6749 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/0.6624, allocations: 0.6627 MB / 0.6755 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009462/0.6634, allocations: 437.9 kB / 0.676 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.6634, allocations: 0 / 0.676 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002758/0.6662, allocations: 1.217 MB / 0.6771 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/0.6662, allocations: 8 kB / 0.6772 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.6662, allocations: 8 kB / 0.6772 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008797/0.6671, allocations: 232.5 kB / 0.6774 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007026/0.6678, allocations: 195.7 kB / 0.6776 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008606/0.6687, allocations: 0.7397 MB / 0.6783 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00166/0.6704, allocations: 262.6 kB / 0.6785 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.874e-05/0.6705, allocations: 35.98 kB / 0.6786 GB, free: 8.48 MB / 0.5137 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.0007919/0.6713, allocations: 361.6 kB / 0.6789 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002099/0.6715, allocations: 146.2 kB / 0.6791 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00228/0.6738, allocations: 1.173 MB / 0.6802 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.39e-05/0.6738, allocations: 11.95 kB / 0.6802 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.6738, allocations: 7.938 kB / 0.6802 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.6738, allocations: 7.984 kB / 0.6802 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004936/0.6788, allocations: 2.569 MB / 0.6827 GB, free: 4.129 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/0.6788, allocations: 4 kB / 0.6827 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003415/0.6792, allocations: 87.83 kB / 0.6828 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007443/0.6799, allocations: 228.8 kB / 0.683 GB, free: 3.812 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.368e-05/0.68, allocations: 19.98 kB / 0.6831 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0012/0.6812, allocations: 0.7943 MB / 0.6838 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.6812, allocations: 4.031 kB / 0.6838 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003116/0.6843, allocations: 1.285 MB / 0.6851 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007237/0.685, allocations: 378.8 kB / 0.6855 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001639/0.6852, allocations: 12 kB / 0.6855 GB, free: 1.242 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008308/0.6861, allocations: 103.9 kB / 0.6856 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.169e-05/0.6862, allocations: 44.47 kB / 0.6856 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.47e-05/0.6862, allocations: 27.98 kB / 0.6856 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001838/0.6881, allocations: 1.07 MB / 0.6867 GB, free: 4 kB / 0.5137 GB Notification: Performance of sort global known variables: time 2.725e-06/0.6881, allocations: 0 / 0.6867 GB, free: 4 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001404/0.6895, allocations: 443.4 kB / 0.6871 GB, free: 15.57 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 (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.0009223/0.6904, allocations: 462.8 kB / 0.6875 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002022/0.6925, allocations: 0.8681 MB / 0.6884 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.6925, allocations: 3.984 kB / 0.6884 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.6936, allocations: 479.5 kB / 0.6889 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00297/0.6966, allocations: 0.6864 MB / 0.6895 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004226/0.7009, allocations: 2.753 MB / 0.6922 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007281/0.7016, allocations: 1.165 MB / 0.6934 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000336/0.702, allocations: 127.3 kB / 0.6935 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of SimCode: time 1.333e-06/0.702, allocations: 0 / 0.6935 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of Templates: time 0.04873/0.7507, allocations: 33.57 MB / 0.7263 GB, free: 7.57 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile make -j1 -f IBPSA_latest_IBPSA.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 OMCppIBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLawCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLawCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLawCalcHelperMain.o] Error 1