Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001306/0.001306, allocations: 96.14 kB / 15.87 MB, free: 16 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.001627/0.001627, allocations: 200.1 kB / 16.79 MB, free: 6.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.703/1.703, allocations: 205.1 MB / 222.6 MB, free: 4.785 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.914/1.914, allocations: 292.3 MB / 0.5491 GB, free: 13.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 73.48 kB / 0.6715 GB, free: 26.49 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3111, allocations: 114.5 MB / 0.7833 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.08438/0.3955, allocations: 70.1 MB / 0.8518 GB, free: 7.691 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02802/0.4236, allocations: 18.91 MB / 0.8702 GB, free: 4.738 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004/0.4276, allocations: 71.5 kB / 0.8703 GB, free: 4.668 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003438/0.4311, allocations: 0.6605 MB / 0.871 GB, free: 4.004 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01134/0.4426, allocations: 2.579 MB / 0.8735 GB, free: 1.414 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005289/0.4479, allocations: 1.512 MB / 0.8749 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.007684/0.4556, allocations: 5.009 MB / 0.8798 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002285/0.4579, allocations: 1.175 MB / 0.881 GB, free: 9.672 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004004/0.4619, allocations: 1.505 MB / 0.8825 GB, free: 8.16 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002406/0.4644, allocations: 1.171 MB / 0.8836 GB, free: 6.984 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002458/0.4646, allocations: 76 kB / 0.8837 GB, free: 6.91 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003666/0.4683, allocations: 1.236 MB / 0.8849 GB, free: 5.672 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003913/0.4687, allocations: 298.5 kB / 0.8852 GB, free: 5.379 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001179/0.4699, allocations: 0.8161 MB / 0.886 GB, free: 4.559 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.003111/0.473, allocations: 2.456 MB / 0.8884 GB, free: 2.098 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.473, allocations: 3.938 kB / 0.8884 GB, free: 2.094 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.182e-06/0.473, allocations: 0 / 0.8884 GB, free: 2.094 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.693e-05/0.4731, allocations: 0 / 0.8884 GB, free: 2.094 MB / 0.7012 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.004092/0.4772, allocations: 2.038 MB / 0.8904 GB, free: 15.99 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.4772, allocations: 12.03 kB / 0.8904 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002364/0.4796, allocations: 449.7 kB / 0.8908 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002925/0.4826, allocations: 1.512 MB / 0.8923 GB, free: 13.97 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003943/0.483, allocations: 138 kB / 0.8924 GB, free: 13.83 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/0.4831, allocations: 104 kB / 0.8925 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002767/0.4859, allocations: 1.296 MB / 0.8938 GB, free: 12.35 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/0.486, allocations: 3.938 kB / 0.8938 GB, free: 12.34 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.4861, allocations: 44 kB / 0.8938 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.743e-05/0.4861, allocations: 27.94 kB / 0.8938 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00282/0.4889, allocations: 1.116 MB / 0.8949 GB, free: 11.16 MB / 0.7169 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.009512/0.4985, allocations: 6.861 MB / 0.9016 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003374/0.5019, allocations: 0.8472 MB / 0.9025 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007024/0.5026, allocations: 302 kB / 0.9027 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001594/0.5042, allocations: 1.726 MB / 0.9044 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.5042, allocations: 42.98 kB / 0.9045 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=52): time 2.715e-06/0.5042, allocations: 3.938 kB / 0.9045 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of matching and sorting (n=52): time 0.005277/0.5096, allocations: 1.373 MB / 0.9058 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/0.5096, allocations: 59.84 kB / 0.9059 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003069/0.5127, allocations: 1.537 MB / 0.9074 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001302/0.5129, allocations: 37.7 kB / 0.9074 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008138/0.5137, allocations: 0.6537 MB / 0.908 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002834/0.514, allocations: 185.3 kB / 0.9082 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004053/0.5144, allocations: 178.4 kB / 0.9084 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002529/0.5147, allocations: 330 kB / 0.9087 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/0.5158, allocations: 369.8 kB / 0.9091 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001468/0.5172, allocations: 0.6588 MB / 0.9097 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002002/0.5193, allocations: 0.8756 MB / 0.9106 GB, free: 10 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.423e-06/0.5193, allocations: 0 / 0.9106 GB, free: 10 MB / 0.7325 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004782/0.5241, allocations: 1.368 MB / 0.9119 GB, free: 8.625 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.5241, allocations: 10.19 kB / 0.9119 GB, free: 8.617 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/0.5242, allocations: 11.94 kB / 0.9119 GB, free: 8.605 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009766/0.5251, allocations: 217.2 kB / 0.9121 GB, free: 8.391 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000863/0.526, allocations: 195.7 kB / 0.9123 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009697/0.527, allocations: 0.7123 MB / 0.913 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002026/0.529, allocations: 242.7 kB / 0.9132 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/0.5292, allocations: 39.98 kB / 0.9133 GB, free: 7.184 MB / 0.7325 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 (82): * Single equations (assignments): 81 * 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.0008583/0.53, allocations: 372.3 kB / 0.9136 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003731/0.5304, allocations: 142.2 kB / 0.9138 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002724/0.5332, allocations: 1.186 MB / 0.9149 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.279e-05/0.5332, allocations: 8 kB / 0.9149 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.5332, allocations: 4 kB / 0.9149 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.5332, allocations: 3.984 kB / 0.9149 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005936/0.5392, allocations: 2.576 MB / 0.9175 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.5392, allocations: 4 kB / 0.9175 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004203/0.5396, allocations: 92.06 kB / 0.9175 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008543/0.5405, allocations: 220.6 kB / 0.9178 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.097e-05/0.5406, allocations: 23.88 kB / 0.9178 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001336/0.5419, allocations: 0.7825 MB / 0.9185 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.542, allocations: 0 / 0.9185 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00382/0.5458, allocations: 1.234 MB / 0.9198 GB, free: 384 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007897/0.5466, allocations: 354.9 kB / 0.9201 GB, free: 8 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.5974/1.144, allocations: 11.89 kB / 0.9201 GB, free: 136.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/1.145, allocations: 89.61 kB / 0.9202 GB, free: 136.4 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/1.145, allocations: 44.84 kB / 0.9202 GB, free: 136.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.821e-05/1.146, allocations: 27.39 kB / 0.9203 GB, free: 136.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002423/1.148, allocations: 1.079 MB / 0.9213 GB, free: 136.3 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.11e-07/1.148, allocations: 0 / 0.9213 GB, free: 136.3 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001831/1.15, allocations: 443.4 kB / 0.9217 GB, free: 136.3 MB / 0.7325 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 (56): * Single equations (assignments): 45 * 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.001134/1.151, allocations: 468.5 kB / 0.9222 GB, free: 136.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002774/1.154, allocations: 0.8645 MB / 0.923 GB, free: 136.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/1.154, allocations: 4.938 kB / 0.923 GB, free: 136.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001513/1.155, allocations: 457.9 kB / 0.9235 GB, free: 136.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003754/1.159, allocations: 0.7157 MB / 0.9242 GB, free: 136.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005032/1.164, allocations: 2.793 MB / 0.9269 GB, free: 134.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008337/1.165, allocations: 1.167 MB / 0.928 GB, free: 134.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004126/1.165, allocations: 125.4 kB / 0.9281 GB, free: 134.1 MB / 0.7325 GB Notification: Performance of SimCode: time 6.91e-07/1.165, allocations: 0 / 0.9281 GB, free: 134.1 MB / 0.7325 GB Notification: Performance of Templates: time 0.06739/1.233, allocations: 34.2 MB / 0.9616 GB, free: 119.9 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile make -j1 -f Buildings_8_Buildings.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLawCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLawCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLawCalcHelperMain.o] Error 1