Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.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.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000864/0.000864, allocations: 91.92 kB / 16.02 MB, free: 80 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.0009778/0.0009781, allocations: 177.3 kB / 16.92 MB, free: 6.652 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.701/1.701, allocations: 205.4 MB / 223.1 MB, free: 5.48 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.997/1.997, allocations: 292.7 MB / 0.5509 GB, free: 14.48 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.0005456/0.0005454, allocations: 13.53 kB / 0.675 GB, free: 25.66 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3079, allocations: 116.3 MB / 0.7885 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR): time 0.05997/0.3679, allocations: 58.99 MB / 0.8461 GB, free: 440 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02032/0.3883, allocations: 13.03 MB / 0.8589 GB, free: 3.371 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003411/0.3918, allocations: 59.56 kB / 0.8589 GB, free: 3.312 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00301/0.3948, allocations: 0.8082 MB / 0.8597 GB, free: 2.5 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009468/0.4043, allocations: 2.139 MB / 0.8618 GB, free: 360 kB / 0.67 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/Chillers/BaseClasses/warnIfPerformanceOutOfBounds.mo:2:1-41:33:writable] Warning: Pure function ‘Buildings.Fluid.Chillers.BaseClasses.warnIfPerformanceOutOfBounds‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.004781/0.4091, allocations: 1.419 MB / 0.8632 GB, free: 14.94 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.008661/0.4178, allocations: 5.503 MB / 0.8685 GB, free: 9.43 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002454/0.4203, allocations: 1.103 MB / 0.8696 GB, free: 8.293 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003226/0.4235, allocations: 1.326 MB / 0.8709 GB, free: 6.961 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001685/0.4252, allocations: 1.151 MB / 0.872 GB, free: 5.805 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001479/0.4254, allocations: 64 kB / 0.8721 GB, free: 5.742 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003677/0.4291, allocations: 1.368 MB / 0.8734 GB, free: 4.371 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004356/0.4295, allocations: 342.5 kB / 0.8738 GB, free: 4.035 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001215/0.4307, allocations: 0.8408 MB / 0.8746 GB, free: 3.184 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003476/0.4342, allocations: 2.034 MB / 0.8766 GB, free: 1.148 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 1.14e-05/0.4342, allocations: 3.984 kB / 0.8766 GB, free: 1.145 MB / 0.6856 GB Notification: Performance of FrontEnd: time 4.749e-06/0.4342, allocations: 3.938 kB / 0.8766 GB, free: 1.141 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.143e-05/0.4343, allocations: 0 / 0.8766 GB, free: 1.141 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.004205/0.4385, allocations: 1.902 MB / 0.8784 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.848e-05/0.4386, allocations: 8.031 kB / 0.8784 GB, free: 15.17 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00356/0.4421, allocations: 0.6502 MB / 0.8791 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002369/0.4445, allocations: 1.389 MB / 0.8804 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001762/0.4447, allocations: 149.4 kB / 0.8806 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001713/0.4449, allocations: 100 kB / 0.8807 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00297/0.4479, allocations: 1.342 MB / 0.882 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/0.4479, allocations: 0 / 0.882 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.448, allocations: 39.98 kB / 0.882 GB, free: 11.4 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.872e-05/0.4481, allocations: 28 kB / 0.8821 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003713/0.4518, allocations: 1.39 MB / 0.8834 GB, free: 9.984 MB / 0.7012 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.00723/0.459, allocations: 5.398 MB / 0.8887 GB, free: 4.238 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002637/0.4617, allocations: 1.091 MB / 0.8897 GB, free: 3.105 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001664/0.4634, allocations: 0.631 MB / 0.8904 GB, free: 2.469 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001113/0.4645, allocations: 1.236 MB / 0.8916 GB, free: 0.957 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001869/0.4664, allocations: 0.6939 MB / 0.8922 GB, free: 256 kB / 0.7012 GB Notification: Performance of pre-optimization done (n=69): time 3.156e-06/0.4664, allocations: 0 / 0.8922 GB, free: 256 kB / 0.7012 GB Notification: Performance of matching and sorting (n=69): time 0.005541/0.4719, allocations: 1.801 MB / 0.894 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/0.472, allocations: 63.95 kB / 0.8941 GB, free: 14.37 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001888/0.4739, allocations: 1.316 MB / 0.8954 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001159/0.474, allocations: 41.7 kB / 0.8954 GB, free: 13 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006352/0.4747, allocations: 0.6661 MB / 0.896 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002699/0.475, allocations: 236.6 kB / 0.8963 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.4751, allocations: 69.69 kB / 0.8963 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.4752, allocations: 337.9 kB / 0.8967 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00164/0.4769, allocations: 0.5524 MB / 0.8972 GB, free: 11.13 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00183/0.4787, allocations: 0.7932 MB / 0.898 GB, free: 10.26 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00329/0.482, allocations: 1.206 MB / 0.8991 GB, free: 9.004 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.4821, allocations: 0 / 0.8991 GB, free: 9.004 MB / 0.7169 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004289/0.4864, allocations: 1.485 MB / 0.9006 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001928/0.4866, allocations: 207.4 kB / 0.9008 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.4866, allocations: 8 kB / 0.9008 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.074e-05/0.4866, allocations: 4 kB / 0.9008 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/0.4879, allocations: 271.7 kB / 0.9011 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.494e-05/0.488, allocations: 11.94 kB / 0.9011 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001922/0.4899, allocations: 239 kB / 0.9013 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/0.4901, allocations: 39.97 kB / 0.9013 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.4901, allocations: 4 kB / 0.9013 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003744/0.4938, allocations: 1.317 MB / 0.9026 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.4939, allocations: 4 kB / 0.9026 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.4939, allocations: 11.88 kB / 0.9027 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/0.4951, allocations: 279.8 kB / 0.9029 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.079e-05/0.4952, allocations: 8 kB / 0.9029 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001886/0.4971, allocations: 231.1 kB / 0.9031 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.4972, allocations: 35.98 kB / 0.9032 GB, free: 4.805 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (chi.on,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001203/0.4984, allocations: 428.8 kB / 0.9036 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005432/0.4989, allocations: 150.2 kB / 0.9037 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004317/0.5033, allocations: 1.528 MB / 0.9052 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.891e-05/0.5033, allocations: 12 kB / 0.9052 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.445e-05/0.5033, allocations: 11.92 kB / 0.9052 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003427/0.5068, allocations: 1.289 MB / 0.9065 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007695/0.5145, allocations: 3.278 MB / 0.9097 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/0.5145, allocations: 8.094 kB / 0.9097 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001228/0.5157, allocations: 239.7 kB / 0.9099 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-05/0.5158, allocations: 12 kB / 0.91 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.849e-05/0.5159, allocations: 23.98 kB / 0.91 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.251e-05/0.5159, allocations: 7.938 kB / 0.91 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.947e-06/0.5159, allocations: 11.94 kB / 0.91 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006217/0.5221, allocations: 2.333 MB / 0.9123 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/0.5232, allocations: 374.7 kB / 0.9126 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004089/0.5237, allocations: 20 kB / 0.9127 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001793/0.5255, allocations: 183.8 kB / 0.9128 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/0.5257, allocations: 68.36 kB / 0.9129 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/0.5258, allocations: 39.97 kB / 0.9129 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001794/0.5276, allocations: 0.941 MB / 0.9138 GB, free: 9.555 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5276, allocations: 0 / 0.9138 GB, free: 9.555 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002746/0.5304, allocations: 0.7876 MB / 0.9146 GB, free: 8.766 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (chi.vol1.dynBal.U,chi.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,pulse.T_start,pulse.count,chi.on) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001425/0.5318, allocations: 0.5167 MB / 0.9151 GB, free: 8.254 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006072/0.5379, allocations: 2.105 MB / 0.9172 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/0.5379, allocations: 3.938 kB / 0.9172 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002035/0.5399, allocations: 0.6991 MB / 0.9179 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005879/0.5458, allocations: 0.7758 MB / 0.9186 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006864/0.5527, allocations: 3.358 MB / 0.9219 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5122/1.065, allocations: 1.231 MB / 0.9231 GB, free: 131.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001008/1.066, allocations: 140.2 kB / 0.9232 GB, free: 131.2 MB / 0.7325 GB Notification: Performance of SimCode: time 1.663e-06/1.066, allocations: 0 / 0.9232 GB, free: 131.2 MB / 0.7325 GB Notification: Performance of Templates: time 0.0539/1.12, allocations: 26.76 MB / 0.9494 GB, free: 123.1 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.makefile make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.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.Examples.ElectricReformulatedEIRCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIRCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIRCalcHelperMain.o] Error 1