Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi_b.SGen_flow|chi_b.chi.sta_a1.T|chi_b.chi.sta_a2.T|chi_b.chi.sta_b1.T|chi_b.chi.sta_b2.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi_b.SGen_flow|chi_b.chi.sta_a1.T|chi_b.chi.sta_a2.T|chi_b.chi.sta_b1.T|chi_b.chi.sta_b2.T",fileNamePrefix="Buildings_9_Buildings.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.001006/0.001006, allocations: 100.5 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.001159/0.001159, allocations: 175.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.495/1.495, allocations: 223.3 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.592/2.592, allocations: 390.5 MB / 0.6662 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.0003331, allocations: 11.98 kB / 0.8154 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8673/0.8677, allocations: 142.3 MB / 0.9544 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06438/0.9321, allocations: 65.13 MB / 1.018 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02273/0.9549, allocations: 17.69 MB / 1.035 GB, free: 13.13 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003109/0.9581, allocations: 63.56 kB / 1.035 GB, free: 13.07 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002499/0.9606, allocations: 0.5238 MB / 1.036 GB, free: 12.54 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.007803/0.9684, allocations: 2.105 MB / 1.038 GB, free: 10.43 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003896/0.9723, allocations: 1.083 MB / 1.039 GB, free: 9.355 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.006714/0.9791, allocations: 4.383 MB / 1.043 GB, free: 4.965 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002096/0.9812, allocations: 1.022 MB / 1.044 GB, free: 3.914 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00372/0.985, allocations: 1.33 MB / 1.046 GB, free: 2.578 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00236/0.9873, allocations: 1.031 MB / 1.047 GB, free: 1.543 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002301/0.9876, allocations: 56 kB / 1.047 GB, free: 1.488 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003305/0.9909, allocations: 0.916 MB / 1.047 GB, free: 0.5703 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0004914/0.9914, allocations: 246.8 kB / 1.048 GB, free: 336 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001105/0.9925, allocations: 376.9 kB / 1.048 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.004394/0.9969, allocations: 2.291 MB / 1.05 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.374e-05/0.997, allocations: 0 / 1.05 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.227e-06/0.997, allocations: 0 / 1.05 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001081/0.9971, allocations: 0 / 1.05 GB, free: 13.66 MB / 0.8106 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.004975/1.002, allocations: 1.717 MB / 1.052 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/1.002, allocations: 12.03 kB / 1.052 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002268/1.004, allocations: 0.5014 MB / 1.052 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002803/1.007, allocations: 1.466 MB / 1.054 GB, free: 9.84 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003331/1.008, allocations: 146 kB / 1.054 GB, free: 9.695 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/1.008, allocations: 108 kB / 1.054 GB, free: 9.59 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002744/1.011, allocations: 1.305 MB / 1.055 GB, free: 8.191 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/1.011, allocations: 4 kB / 1.055 GB, free: 8.188 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/1.011, allocations: 44 kB / 1.055 GB, free: 8.145 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-05/1.011, allocations: 31.95 kB / 1.056 GB, free: 8.113 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002764/1.013, allocations: 1.151 MB / 1.057 GB, free: 6.965 MB / 0.8106 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.01005/1.024, allocations: 7.18 MB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002866/1.026, allocations: 0.8849 MB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005751/1.027, allocations: 298 kB / 1.065 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00134/1.028, allocations: 1.726 MB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/1.028, allocations: 35 kB / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=48): time 2.695e-06/1.028, allocations: 0 / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of matching and sorting (n=48): time 0.004554/1.033, allocations: 1.451 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/1.033, allocations: 55.84 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002424/1.035, allocations: 1.533 MB / 1.069 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.17e-05/1.036, allocations: 37.7 kB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005787/1.036, allocations: 0.6613 MB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001727/1.036, allocations: 173.6 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.33e-05/1.036, allocations: 12 kB / 1.07 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001312/1.037, allocations: 333.9 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009047/1.037, allocations: 393.7 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00108/1.039, allocations: 0.6627 MB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009588/1.04, allocations: 446 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/1.04, allocations: 0 / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002827/1.042, allocations: 1.212 MB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/1.042, allocations: 12.8 kB / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/1.042, allocations: 8 kB / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008688/1.043, allocations: 232.5 kB / 1.074 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000732/1.044, allocations: 195.7 kB / 1.074 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000835/1.045, allocations: 0.728 MB / 1.074 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/1.047, allocations: 262.7 kB / 1.075 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/1.047, allocations: 39.97 kB / 1.075 GB, free: 3.316 MB / 0.8262 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.0007332/1.047, allocations: 353.6 kB / 1.075 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00026/1.048, allocations: 150.2 kB / 1.075 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002582/1.05, allocations: 1.172 MB / 1.076 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-05/1.05, allocations: 15.98 kB / 1.076 GB, free: 1.605 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/1.05, allocations: 8 kB / 1.076 GB, free: 1.598 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.894e-06/1.05, allocations: 0 / 1.076 GB, free: 1.598 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005466/1.056, allocations: 2.592 MB / 1.079 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/1.056, allocations: 4 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003849/1.056, allocations: 79.89 kB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007694/1.057, allocations: 232.8 kB / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-05/1.057, allocations: 12 kB / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001207/1.058, allocations: 0.806 MB / 1.08 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/1.058, allocations: 7.875 kB / 1.08 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003335/1.062, allocations: 1.281 MB / 1.081 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009935/1.063, allocations: 370.9 kB / 1.082 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004963/1.063, allocations: 15.95 kB / 1.082 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/1.064, allocations: 107.8 kB / 1.082 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/1.065, allocations: 48.48 kB / 1.082 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.064e-05/1.065, allocations: 23.98 kB / 1.082 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002521/1.067, allocations: 1.07 MB / 1.083 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/1.067, allocations: 0 / 1.083 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001988/1.069, allocations: 435.4 kB / 1.083 GB, free: 10.37 MB / 0.8419 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.00127/1.071, allocations: 445 kB / 1.084 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002377/1.073, allocations: 0.8719 MB / 1.085 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/1.073, allocations: 0 / 1.085 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001336/1.074, allocations: 483.5 kB / 1.085 GB, free: 8.59 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004069/1.078, allocations: 0.7133 MB / 1.086 GB, free: 7.887 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005757/1.084, allocations: 2.729 MB / 1.088 GB, free: 5.102 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001093/1.085, allocations: 1.161 MB / 1.09 GB, free: 3.914 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004819/1.086, allocations: 119.4 kB / 1.09 GB, free: 3.797 MB / 0.8419 GB Notification: Performance of SimCode: time 1.413e-06/1.086, allocations: 0 / 1.09 GB, free: 3.797 MB / 0.8419 GB Notification: Performance of Templates: time 0.0543/1.14, allocations: 33.6 MB / 1.122 GB, free: 2.387 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile make -j1 -f Buildings_9_Buildings.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 OMCppBuildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLawCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLawCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLawCalcHelperMain.o] Error 1