Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.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.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 92.62 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.001402/0.001402, allocations: 175.7 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.822/1.822, allocations: 205.4 MB / 223.1 MB, free: 5.488 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.83/1.83, allocations: 292.7 MB / 0.5509 GB, free: 14.47 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.0005999/0.0005999, allocations: 15 kB / 0.675 GB, free: 25.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3471, allocations: 116.3 MB / 0.7885 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.06626/0.4135, allocations: 58.98 MB / 0.8461 GB, free: 412 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02126/0.4348, allocations: 12.98 MB / 0.8588 GB, free: 3.387 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003394/0.4382, allocations: 67.56 kB / 0.8589 GB, free: 3.32 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002771/0.441, allocations: 0.7966 MB / 0.8597 GB, free: 2.52 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008484/0.4495, allocations: 2.134 MB / 0.8617 GB, free: 388 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.004644/0.4542, allocations: 1.408 MB / 0.8631 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.008457/0.4627, allocations: 5.511 MB / 0.8685 GB, free: 9.461 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00203/0.4647, allocations: 1.088 MB / 0.8696 GB, free: 8.34 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003204/0.4679, allocations: 1.338 MB / 0.8709 GB, free: 6.996 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001831/0.4698, allocations: 1.155 MB / 0.872 GB, free: 5.836 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001724/0.47, allocations: 63.94 kB / 0.8721 GB, free: 5.773 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003616/0.4736, allocations: 1.337 MB / 0.8734 GB, free: 4.434 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004113/0.474, allocations: 326.6 kB / 0.8737 GB, free: 4.113 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0011/0.4751, allocations: 0.8292 MB / 0.8745 GB, free: 3.273 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002824/0.478, allocations: 2.011 MB / 0.8764 GB, free: 1.258 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.478, allocations: 4 kB / 0.8764 GB, free: 1.254 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.685e-06/0.478, allocations: 0 / 0.8764 GB, free: 1.254 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.176e-05/0.478, allocations: 0 / 0.8764 GB, free: 1.254 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.003907/0.4819, allocations: 1.874 MB / 0.8783 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/0.482, allocations: 8.031 kB / 0.8783 GB, free: 15.31 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003544/0.4856, allocations: 0.6425 MB / 0.8789 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002441/0.488, allocations: 1.365 MB / 0.8802 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00019/0.4882, allocations: 145.4 kB / 0.8804 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001971/0.4884, allocations: 104 kB / 0.8805 GB, free: 12.99 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003128/0.4916, allocations: 1.334 MB / 0.8818 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.001e-05/0.4916, allocations: 3.938 kB / 0.8818 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/0.4917, allocations: 44 kB / 0.8818 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.135e-05/0.4918, allocations: 27.98 kB / 0.8819 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003705/0.4955, allocations: 1.374 MB / 0.8832 GB, free: 10.17 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.007912/0.5034, allocations: 5.37 MB / 0.8884 GB, free: 4.453 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00586/0.5093, allocations: 1.493 MB / 0.8899 GB, free: 2.918 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001672/0.511, allocations: 0.6193 MB / 0.8905 GB, free: 2.293 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001054/0.5121, allocations: 1.24 MB / 0.8917 GB, free: 0.7773 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001898/0.514, allocations: 0.6784 MB / 0.8924 GB, free: 88 kB / 0.7012 GB Notification: Performance of pre-optimization done (n=69): time 3.357e-06/0.514, allocations: 4 kB / 0.8924 GB, free: 84 kB / 0.7012 GB Notification: Performance of matching and sorting (n=69): time 0.005988/0.52, allocations: 1.781 MB / 0.8941 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.114e-05/0.5201, allocations: 59.97 kB / 0.8942 GB, free: 14.22 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002676/0.5228, allocations: 1.259 MB / 0.8954 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002034/0.523, allocations: 49.7 kB / 0.8955 GB, free: 12.9 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008477/0.5239, allocations: 0.6424 MB / 0.8961 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000349/0.5242, allocations: 236.6 kB / 0.8963 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.5244, allocations: 69.67 kB / 0.8964 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.5246, allocations: 330 kB / 0.8967 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001678/0.5262, allocations: 0.5563 MB / 0.8972 GB, free: 11.06 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001892/0.5281, allocations: 0.7748 MB / 0.898 GB, free: 10.21 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003244/0.5314, allocations: 1.198 MB / 0.8992 GB, free: 8.961 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.5314, allocations: 0 / 0.8992 GB, free: 8.961 MB / 0.7169 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004126/0.5356, allocations: 1.466 MB / 0.9006 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002017/0.5358, allocations: 207.1 kB / 0.9008 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.5358, allocations: 4 kB / 0.9008 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.732e-05/0.5358, allocations: 7.984 kB / 0.9008 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/0.5371, allocations: 283.6 kB / 0.9011 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/0.5372, allocations: 4 kB / 0.9011 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001923/0.5391, allocations: 247 kB / 0.9013 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.5392, allocations: 39.97 kB / 0.9013 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.5392, allocations: 4 kB / 0.9014 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003556/0.5428, allocations: 1.306 MB / 0.9026 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.5428, allocations: 4.031 kB / 0.9026 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.5428, allocations: 8 kB / 0.9026 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/0.544, allocations: 271.6 kB / 0.9029 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.5441, allocations: 12 kB / 0.9029 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001962/0.546, allocations: 231.1 kB / 0.9031 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.838e-05/0.5461, allocations: 35.98 kB / 0.9032 GB, free: 4.793 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.000965/0.5471, allocations: 412.8 kB / 0.9036 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000331/0.5474, allocations: 146.2 kB / 0.9037 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00427/0.5517, allocations: 1.52 MB / 0.9052 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.728e-05/0.5518, allocations: 8 kB / 0.9052 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/0.5518, allocations: 3.938 kB / 0.9052 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0035/0.5553, allocations: 1.289 MB / 0.9065 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007695/0.563, allocations: 3.245 MB / 0.9096 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-05/0.5631, allocations: 4 kB / 0.9096 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/0.5642, allocations: 236.2 kB / 0.9098 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.045e-05/0.5643, allocations: 11.94 kB / 0.9099 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.801e-05/0.5644, allocations: 23.98 kB / 0.9099 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.801e-05/0.5644, allocations: 15.94 kB / 0.9099 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.132e-05/0.5644, allocations: 8 kB / 0.9099 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006532/0.571, allocations: 2.306 MB / 0.9122 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001258/0.5722, allocations: 370.8 kB / 0.9125 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004638/0.5727, allocations: 24.05 kB / 0.9125 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00186/0.5746, allocations: 179.8 kB / 0.9127 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001958/0.5748, allocations: 72.34 kB / 0.9128 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001351/0.575, allocations: 39.97 kB / 0.9128 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002061/0.577, allocations: 0.8968 MB / 0.9137 GB, free: 9.691 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.577, allocations: 0 / 0.9137 GB, free: 9.691 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003326/0.5804, allocations: 0.7875 MB / 0.9145 GB, free: 8.902 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.001529/0.5819, allocations: 0.4939 MB / 0.9149 GB, free: 8.41 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006045/0.588, allocations: 2.082 MB / 0.917 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.588, allocations: 0 / 0.917 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002016/0.59, allocations: 0.6991 MB / 0.9177 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005841/0.5959, allocations: 0.7678 MB / 0.9184 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006696/0.6026, allocations: 3.299 MB / 0.9216 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001197/0.6039, allocations: 1.226 MB / 0.9228 GB, free: 200 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007309/0.6046, allocations: 135.4 kB / 0.923 GB, free: 64 kB / 0.7325 GB Notification: Performance of SimCode: time 8.61e-07/0.6046, allocations: 0 / 0.923 GB, free: 64 kB / 0.7325 GB Notification: Performance of Templates: time 0.5602/1.165, allocations: 26.37 MB / 0.9487 GB, free: 122.9 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.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.ElectricEIRCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIRCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIRCalcHelperMain.o] Error 1