Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.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.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva") translateModel(IBPSA.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009336/0.0009336, allocations: 95.06 kB / 16.33 MB, free: 6.41 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.00106/0.00106, allocations: 187.6 kB / 17.23 MB, free: 6.305 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.507/1.507, allocations: 223.3 MB / 241.2 MB, free: 14.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8177/0.8177, allocations: 114.3 MB / 406.7 MB, free: 8.23 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003644/0.0003645, allocations: 8 kB / 494.5 MB, free: 1.426 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4536/0.454, allocations: 77.24 MB / 0.5583 GB, free: 36.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.04589/0.4999, allocations: 56.46 MB / 0.6134 GB, free: 11.46 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01638/0.5163, allocations: 11.2 MB / 0.6244 GB, free: 1.227 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002715/0.5191, allocations: 51.62 kB / 0.6244 GB, free: 1.176 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001703/0.5208, allocations: 464.8 kB / 0.6249 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004606/0.5255, allocations: 1.526 MB / 0.6263 GB, free: 15.19 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00245/0.5279, allocations: 0.8601 MB / 0.6272 GB, free: 14.34 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003909/0.5318, allocations: 3.4 MB / 0.6305 GB, free: 10.93 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.533, allocations: 0.7938 MB / 0.6313 GB, free: 10.11 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002298/0.5353, allocations: 1.038 MB / 0.6323 GB, free: 9.07 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001603/0.537, allocations: 0.8049 MB / 0.6331 GB, free: 8.262 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000131/0.5371, allocations: 40 kB / 0.6331 GB, free: 8.223 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00295/0.5401, allocations: 1.095 MB / 0.6342 GB, free: 7.125 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003006/0.5404, allocations: 203 kB / 0.6344 GB, free: 6.926 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005287/0.5409, allocations: 289 kB / 0.6347 GB, free: 6.637 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002197/0.5431, allocations: 1.635 MB / 0.6363 GB, free: 5 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.5431, allocations: 0 / 0.6363 GB, free: 5 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5431, allocations: 0 / 0.6363 GB, free: 5 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.5432, allocations: 0 / 0.6363 GB, free: 5 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002516/0.5457, allocations: 1.497 MB / 0.6377 GB, free: 3.445 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.5457, allocations: 12.03 kB / 0.6377 GB, free: 3.434 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001935/0.5477, allocations: 469.9 kB / 0.6382 GB, free: 2.973 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002001/0.5497, allocations: 1.09 MB / 0.6392 GB, free: 1.824 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000313/0.55, allocations: 129.9 kB / 0.6394 GB, free: 1.699 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.5501, allocations: 84 kB / 0.6394 GB, free: 1.617 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001907/0.552, allocations: 0.9973 MB / 0.6404 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.5521, allocations: 0 / 0.6404 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.651e-05/0.5522, allocations: 32 kB / 0.6405 GB, free: 0.543 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.5522, allocations: 20 kB / 0.6405 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002146/0.5543, allocations: 0.9017 MB / 0.6414 GB, free: 15.62 MB / 494.1 MB 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.006443/0.5608, allocations: 4.89 MB / 0.6461 GB, free: 10.37 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0032/0.564, allocations: 0.9037 MB / 0.647 GB, free: 9.461 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007049/0.5648, allocations: 312.7 kB / 0.6473 GB, free: 9.152 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006829/0.5655, allocations: 0.9064 MB / 0.6482 GB, free: 8.043 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.5655, allocations: 38.56 kB / 0.6482 GB, free: 7.996 MB / 494.1 MB Notification: Performance of pre-optimization done (n=43): time 2.595e-06/0.5655, allocations: 0 / 0.6482 GB, free: 7.996 MB / 494.1 MB Notification: Performance of matching and sorting (n=43): time 0.006723/0.5722, allocations: 1.947 MB / 0.6501 GB, free: 6.02 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/0.5723, allocations: 63.3 kB / 0.6502 GB, free: 5.945 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00161/0.5739, allocations: 1.048 MB / 0.6512 GB, free: 4.883 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.081e-05/0.574, allocations: 37.7 kB / 0.6513 GB, free: 4.84 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004287/0.5745, allocations: 0.5273 MB / 0.6518 GB, free: 4.309 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/0.5746, allocations: 149.8 kB / 0.6519 GB, free: 4.16 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/0.5747, allocations: 12 kB / 0.6519 GB, free: 4.148 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.5748, allocations: 326 kB / 0.6522 GB, free: 3.824 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007998/0.5756, allocations: 316.9 kB / 0.6525 GB, free: 3.516 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009771/0.5766, allocations: 0.5296 MB / 0.6531 GB, free: 2.902 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008392/0.5774, allocations: 353.4 kB / 0.6534 GB, free: 2.559 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.5774, allocations: 0 / 0.6534 GB, free: 2.559 MB / 494.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003338/0.5808, allocations: 1.216 MB / 0.6546 GB, free: 1.332 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001319/0.5809, allocations: 217.3 kB / 0.6548 GB, free: 1.059 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.5809, allocations: 7.953 kB / 0.6548 GB, free: 1.051 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001146/0.5821, allocations: 324.7 kB / 0.6551 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005086/0.5826, allocations: 131.8 kB / 0.6552 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001382/0.584, allocations: 0.9412 MB / 0.6561 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/0.5852, allocations: 187.3 kB / 0.6563 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.587e-05/0.5853, allocations: 27.98 kB / 0.6563 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.467e-06/0.5853, allocations: 6.031 kB / 0.6564 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003032/0.5884, allocations: 1.078 MB / 0.6574 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.5884, allocations: 4 kB / 0.6574 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/0.5894, allocations: 325.1 kB / 0.6577 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005072/0.59, allocations: 127.8 kB / 0.6578 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/0.5913, allocations: 0.9463 MB / 0.6588 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.5925, allocations: 171.3 kB / 0.6589 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.829e-05/0.5926, allocations: 27.98 kB / 0.659 GB, free: 12.72 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (51): * Single equations (assignments): 50 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.000596/0.5932, allocations: 349 kB / 0.6593 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002376/0.5934, allocations: 110.6 kB / 0.6594 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002304/0.5957, allocations: 0.9806 MB / 0.6604 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-05/0.5958, allocations: 8 kB / 0.6604 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.5958, allocations: 3.938 kB / 0.6604 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.5958, allocations: 3.984 kB / 0.6604 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004882/0.6007, allocations: 2.26 MB / 0.6626 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/0.6007, allocations: 3.953 kB / 0.6626 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002772/0.601, allocations: 67.89 kB / 0.6626 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009632/0.602, allocations: 328.8 kB / 0.663 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.871e-05/0.602, allocations: 16 kB / 0.663 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00136/0.6034, allocations: 0.9621 MB / 0.6639 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.6034, allocations: 3.984 kB / 0.6639 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003288/0.6067, allocations: 1.257 MB / 0.6651 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005125/0.6072, allocations: 279.4 kB / 0.6654 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001916/0.6074, allocations: 12 kB / 0.6654 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008999/0.6083, allocations: 115.8 kB / 0.6655 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.225e-05/0.6084, allocations: 39.84 kB / 0.6656 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.53e-05/0.6085, allocations: 19.98 kB / 0.6656 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001266/0.6098, allocations: 0.7391 MB / 0.6663 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6098, allocations: 0 / 0.6663 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001679/0.6115, allocations: 0.5574 MB / 0.6669 GB, free: 4.418 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007632/0.6122, allocations: 357.3 kB / 0.6672 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003107/0.6154, allocations: 1.155 MB / 0.6683 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.6154, allocations: 4.125 kB / 0.6683 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008748/0.6163, allocations: 366.4 kB / 0.6687 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002347/0.6186, allocations: 0.5037 MB / 0.6692 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005464/0.6241, allocations: 2.534 MB / 0.6716 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006723/0.6248, allocations: 1.054 MB / 0.6727 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002672/0.6251, allocations: 83.41 kB / 0.6728 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of SimCode: time 9.51e-07/0.6251, allocations: 3.938 kB / 0.6728 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of Templates: time 0.03366/0.6587, allocations: 23.63 MB / 0.6958 GB, free: 6.836 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.makefile make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.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.Examples.Carnot_TEvaCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEvaCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEvaCalcHelperMain.o] Error 1