Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.0008196/0.0008195, allocations: 99.75 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.0008002/0.0008002, allocations: 179.2 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.252/1.252, 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-master/package.mo): time 0.8895/0.8895, allocations: 135.3 MB / 427 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.0003521, allocations: 8.5 kB / 0.5076 GB, free: 5.281 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1637, allocations: 82.31 MB / 0.588 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.3249/0.4887, allocations: 65.06 MB / 0.6515 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01714/0.5058, allocations: 17.68 MB / 0.6688 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002247/0.5081, allocations: 63.22 kB / 0.6688 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001574/0.5097, allocations: 0.5174 MB / 0.6693 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006137/0.5159, allocations: 2.1 MB / 0.6714 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003729/0.5196, allocations: 1.084 MB / 0.6725 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007037/0.5267, allocations: 4.385 MB / 0.6767 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002339/0.529, allocations: 1.013 MB / 0.6777 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003827/0.5329, allocations: 1.335 MB / 0.679 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002573/0.5355, allocations: 1.04 MB / 0.68 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002417/0.5357, allocations: 57.5 kB / 0.6801 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002963/0.5387, allocations: 0.9137 MB / 0.681 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003078/0.539, allocations: 245.7 kB / 0.6812 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006779/0.5397, allocations: 366.3 kB / 0.6816 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003332/0.5431, allocations: 2.297 MB / 0.6838 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.5431, allocations: 1.062 kB / 0.6838 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5431, allocations: 0 / 0.6838 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.821e-05/0.5431, allocations: 4 kB / 0.6838 GB, free: 10.9 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.003341/0.5465, allocations: 1.722 MB / 0.6855 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.5465, allocations: 14.11 kB / 0.6855 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002032/0.5486, allocations: 0.5036 MB / 0.686 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002676/0.5513, allocations: 1.465 MB / 0.6874 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003323/0.5516, allocations: 146 kB / 0.6876 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/0.5518, allocations: 102.2 kB / 0.6877 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002686/0.5545, allocations: 1.317 MB / 0.689 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.5545, allocations: 1.25 kB / 0.689 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.5546, allocations: 42.56 kB / 0.689 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.521e-05/0.5546, allocations: 25.38 kB / 0.689 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002709/0.5573, allocations: 1.157 MB / 0.6902 GB, free: 7.535 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.008616/0.566, allocations: 7.172 MB / 0.6972 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002753/0.5687, allocations: 0.8867 MB / 0.698 GB, free: 1.723 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005844/0.5693, allocations: 296.9 kB / 0.6983 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001221/0.5706, allocations: 1.728 MB / 0.7 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.5706, allocations: 38.22 kB / 0.7 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=48): time 4.268e-06/0.5706, allocations: 0 / 0.7 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48): time 0.004431/0.5751, allocations: 1.455 MB / 0.7015 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/0.5752, allocations: 60.25 kB / 0.7015 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002711/0.5779, allocations: 1.516 MB / 0.703 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.809e-05/0.578, allocations: 36.95 kB / 0.703 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005585/0.5785, allocations: 0.6685 MB / 0.7037 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001678/0.5787, allocations: 171.4 kB / 0.7038 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.244e-05/0.5788, allocations: 14.38 kB / 0.7039 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.5789, allocations: 333 kB / 0.7042 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008904/0.5798, allocations: 388.2 kB / 0.7045 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/0.5809, allocations: 0.6572 MB / 0.7052 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009801/0.5819, allocations: 445.5 kB / 0.7056 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.5819, allocations: 2.219 kB / 0.7056 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002816/0.5847, allocations: 1.212 MB / 0.7068 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.417e-05/0.5847, allocations: 10.41 kB / 0.7068 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.5848, allocations: 6.375 kB / 0.7068 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008211/0.5856, allocations: 226.8 kB / 0.707 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006995/0.5863, allocations: 201.5 kB / 0.7072 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008139/0.5871, allocations: 0.7322 MB / 0.7079 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/0.5888, allocations: 262.7 kB / 0.7082 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.887e-05/0.5889, allocations: 46.36 kB / 0.7082 GB, free: 10.77 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.0006959/0.5896, allocations: 346 kB / 0.7086 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001993/0.5898, allocations: 144.1 kB / 0.7087 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002278/0.5921, allocations: 1.18 MB / 0.7099 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.985e-05/0.5921, allocations: 7.094 kB / 0.7099 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.5921, allocations: 0 / 0.7099 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.5921, allocations: 5.422 kB / 0.7099 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005428/0.5976, allocations: 2.598 MB / 0.7124 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.5976, allocations: 5.469 kB / 0.7124 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003672/0.598, allocations: 91.08 kB / 0.7125 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007279/0.5987, allocations: 225.5 kB / 0.7127 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.447e-05/0.5988, allocations: 17.52 kB / 0.7127 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001161/0.5999, allocations: 0.7985 MB / 0.7135 GB, free: 7.184 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.5999, allocations: 6.172 kB / 0.7135 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003011/0.603, allocations: 1.278 MB / 0.7148 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006984/0.6037, allocations: 367.3 kB / 0.7151 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001805/0.6039, allocations: 20.05 kB / 0.7151 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008478/0.6047, allocations: 113.8 kB / 0.7152 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.81e-05/0.6048, allocations: 47.77 kB / 0.7153 GB, free: 6.031 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.477e-05/0.6049, allocations: 29.05 kB / 0.7153 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001938/0.6068, allocations: 1.071 MB / 0.7164 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6068, allocations: 0 / 0.7164 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00146/0.6083, allocations: 430.6 kB / 0.7168 GB, free: 5.336 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.0008883/0.6092, allocations: 462.3 kB / 0.7172 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001922/0.6111, allocations: 0.8715 MB / 0.7181 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6111, allocations: 0 / 0.7181 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001094/0.6122, allocations: 470.1 kB / 0.7185 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002815/0.6151, allocations: 0.7002 MB / 0.7192 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003872/0.619, allocations: 2.748 MB / 0.7219 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006687/0.6196, allocations: 1.161 MB / 0.723 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003105/0.62, allocations: 119.4 kB / 0.7231 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of SimCode: time 5.81e-07/0.62, allocations: 0 / 0.7231 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of Templates: time 0.04234/0.6623, allocations: 33.59 MB / 0.7559 GB, free: 15.5 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile make -j1 -f IDEAS_dev_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_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLawCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLawCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLawCalcHelperMain.o] Error 1