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.001104/0.001104, allocations: 102.6 kB / 15.71 MB, free: 460 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.001131/0.001131, allocations: 174.4 kB / 16.58 MB, free: 6.359 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.658/1.658, allocations: 205.4 MB / 222.8 MB, free: 5.633 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.835/1.835, allocations: 292.7 MB / 0.5505 GB, free: 14.52 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.0006212/0.0006213, allocations: 15.69 kB / 0.6743 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3382, allocations: 116.3 MB / 0.7879 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR): time 0.06295/0.4012, allocations: 55.76 MB / 0.8424 GB, free: 4.031 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01987/0.4212, allocations: 12.28 MB / 0.8544 GB, free: 7.723 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004136/0.4254, allocations: 55.62 kB / 0.8544 GB, free: 7.668 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003327/0.4287, allocations: 0.7104 MB / 0.8551 GB, free: 6.953 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007794/0.4366, allocations: 1.822 MB / 0.8569 GB, free: 5.125 MB / 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.004497/0.4411, allocations: 1.168 MB / 0.858 GB, free: 3.969 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007987/0.4491, allocations: 4.742 MB / 0.8627 GB, free: 15.22 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002744/0.4519, allocations: 0.9698 MB / 0.8636 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005365/0.4573, allocations: 1.295 MB / 0.8649 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003228/0.4605, allocations: 1.089 MB / 0.8659 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0006105/0.4612, allocations: 56 kB / 0.866 GB, free: 11.78 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004151/0.4653, allocations: 1.021 MB / 0.867 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0008441/0.4662, allocations: 334.6 kB / 0.8673 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001216/0.4674, allocations: 360.8 kB / 0.8677 GB, free: 10.07 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003927/0.4714, allocations: 1.964 MB / 0.8696 GB, free: 8.098 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.4714, allocations: 4 kB / 0.8696 GB, free: 8.094 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.204e-06/0.4714, allocations: 0 / 0.8696 GB, free: 8.094 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001135/0.4715, allocations: 0 / 0.8696 GB, free: 8.094 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.005322/0.4769, allocations: 1.909 MB / 0.8714 GB, free: 6.117 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.4769, allocations: 12.03 kB / 0.8715 GB, free: 6.105 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003683/0.4806, allocations: 0.6418 MB / 0.8721 GB, free: 5.461 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003645/0.4843, allocations: 1.347 MB / 0.8734 GB, free: 4.062 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002276/0.4845, allocations: 141.4 kB / 0.8735 GB, free: 3.914 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003035/0.4848, allocations: 95.94 kB / 0.8736 GB, free: 3.82 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003573/0.4884, allocations: 1.346 MB / 0.8749 GB, free: 2.438 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.735e-05/0.4885, allocations: 3.938 kB / 0.8749 GB, free: 2.434 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001575/0.4887, allocations: 40 kB / 0.875 GB, free: 2.395 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.264e-05/0.4887, allocations: 24 kB / 0.875 GB, free: 2.371 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003858/0.4926, allocations: 1.382 MB / 0.8763 GB, free: 0.9922 MB / 0.6856 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.009463/0.5021, allocations: 5.398 MB / 0.8816 GB, free: 11.24 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002553/0.5047, allocations: 1.1 MB / 0.8827 GB, free: 10.1 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001566/0.5063, allocations: 0.6193 MB / 0.8833 GB, free: 9.48 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001141/0.5074, allocations: 1.244 MB / 0.8845 GB, free: 7.961 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001791/0.5092, allocations: 0.6823 MB / 0.8852 GB, free: 7.262 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=69): time 4.238e-06/0.5093, allocations: 0 / 0.8852 GB, free: 7.262 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69): time 0.00529/0.5146, allocations: 1.797 MB / 0.8869 GB, free: 5.461 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.567e-05/0.5147, allocations: 59.97 kB / 0.887 GB, free: 5.391 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002751/0.5174, allocations: 1.308 MB / 0.8883 GB, free: 4.074 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001642/0.5176, allocations: 45.7 kB / 0.8883 GB, free: 4.023 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007948/0.5184, allocations: 0.6544 MB / 0.889 GB, free: 3.359 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000306/0.5187, allocations: 240.6 kB / 0.8892 GB, free: 3.121 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.164e-05/0.5188, allocations: 16 kB / 0.8892 GB, free: 3.105 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.519, allocations: 337.9 kB / 0.8895 GB, free: 2.77 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001482/0.5205, allocations: 0.5446 MB / 0.8901 GB, free: 2.227 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001754/0.5222, allocations: 0.7821 MB / 0.8908 GB, free: 1.359 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00161/0.5239, allocations: 0.598 MB / 0.8914 GB, free: 0.7578 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.5239, allocations: 0 / 0.8914 GB, free: 0.7578 MB / 0.7012 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.003962/0.5278, allocations: 1.47 MB / 0.8928 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001984/0.5281, allocations: 207.4 kB / 0.893 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.5281, allocations: 4 kB / 0.893 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.829e-05/0.5281, allocations: 7.781 kB / 0.893 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.5293, allocations: 267.7 kB / 0.8933 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-05/0.5293, allocations: 7.938 kB / 0.8933 GB, free: 14.74 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001766/0.5311, allocations: 255 kB / 0.8935 GB, free: 14.49 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/0.5313, allocations: 35.98 kB / 0.8936 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.5313, allocations: 6.969 kB / 0.8936 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003355/0.5346, allocations: 1.313 MB / 0.8949 GB, free: 13.13 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.5347, allocations: 320 / 0.8949 GB, free: 13.13 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.5347, allocations: 12 kB / 0.8949 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/0.5358, allocations: 263.7 kB / 0.8951 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.949e-05/0.5358, allocations: 15.94 kB / 0.8952 GB, free: 12.85 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/0.5375, allocations: 235 kB / 0.8954 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/0.5376, allocations: 39.97 kB / 0.8954 GB, free: 12.58 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,chi.on) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008644/0.5385, allocations: 419.7 kB / 0.8958 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004705/0.539, allocations: 150.2 kB / 0.896 GB, free: 12.01 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003963/0.543, allocations: 1.544 MB / 0.8975 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.959e-05/0.543, allocations: 8 kB / 0.8975 GB, free: 10.44 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/0.543, allocations: 0 / 0.8975 GB, free: 10.44 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003018/0.546, allocations: 1.292 MB / 0.8987 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007722/0.5538, allocations: 3.277 MB / 0.9019 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/0.5538, allocations: 4 kB / 0.9019 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/0.5549, allocations: 236.2 kB / 0.9022 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.04e-05/0.555, allocations: 8 kB / 0.9022 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.077e-05/0.5551, allocations: 27.97 kB / 0.9022 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-05/0.5551, allocations: 8 kB / 0.9022 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.5551, allocations: 11.94 kB / 0.9022 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005396/0.5605, allocations: 2.325 MB / 0.9045 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/0.5617, allocations: 370.8 kB / 0.9048 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005162/0.5622, allocations: 24.05 kB / 0.9049 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001741/0.564, allocations: 175.7 kB / 0.905 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001764/0.5642, allocations: 76.36 kB / 0.9051 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001299/0.5643, allocations: 35.97 kB / 0.9051 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002028/0.5663, allocations: 0.9254 MB / 0.906 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5663, allocations: 0 / 0.906 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003397/0.5697, allocations: 0.7914 MB / 0.9068 GB, free: 0.582 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001386/0.5712, allocations: 0.4998 MB / 0.9073 GB, free: 84 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005642/0.5768, allocations: 2.089 MB / 0.9093 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/0.5769, allocations: 0 / 0.9093 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001995/0.5789, allocations: 0.6991 MB / 0.91 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005165/0.584, allocations: 0.7589 MB / 0.9108 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006957/0.591, allocations: 3.277 MB / 0.914 GB, free: 9.152 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001199/0.5923, allocations: 1.234 MB / 0.9152 GB, free: 7.887 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006538/0.5929, allocations: 135.4 kB / 0.9153 GB, free: 7.754 MB / 0.7325 GB Notification: Performance of SimCode: time 8.11e-07/0.5929, allocations: 0 / 0.9153 GB, free: 7.754 MB / 0.7325 GB Notification: Performance of Templates: time 0.592/1.185, allocations: 26.74 MB / 0.9414 GB, free: 126.7 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++ 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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/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