Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.TSet|chi.TEvaEnt|chi.TEvaLvg|chi.TConEnt|chi.TConLvg|chi.COP_h|chi.PLR1|chi.PLR2|chi.CR",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.TSet|chi.TEvaEnt|chi.TEvaLvg|chi.TConEnt|chi.TConLvg|chi.COP_h|chi.PLR1|chi.PLR2|chi.CR",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008948/0.0008949, allocations: 99.83 kB / 15.71 MB, free: 452 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.0009848/0.0009846, allocations: 178.9 kB / 16.58 MB, free: 6.422 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.446/1.446, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.79/2.79, allocations: 436.7 MB / 0.7113 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003467/0.0003467, allocations: 8.219 kB / 0.8717 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8032/0.8036, allocations: 153.6 MB / 1.022 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery): time 0.057/0.8606, allocations: 55.94 MB / 1.076 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01891/0.8796, allocations: 12.36 MB / 1.088 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003313/0.883, allocations: 59.56 kB / 1.088 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002957/0.886, allocations: 0.722 MB / 1.089 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.006775/0.8928, allocations: 1.837 MB / 1.091 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004297/0.8971, allocations: 1.163 MB / 1.092 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00712/0.9042, allocations: 4.797 MB / 1.097 GB, free: 4.098 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002077/0.9063, allocations: 0.9927 MB / 1.098 GB, free: 3.078 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003093/0.9094, allocations: 1.291 MB / 1.099 GB, free: 1.781 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002961/0.9124, allocations: 1.1 MB / 1.1 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0003087/0.9127, allocations: 67.94 kB / 1.1 GB, free: 0.6094 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003523/0.9163, allocations: 1.006 MB / 1.101 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004001/0.9167, allocations: 322.6 kB / 1.101 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006753/0.9174, allocations: 356.8 kB / 1.102 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002676/0.9201, allocations: 1.974 MB / 1.104 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.9201, allocations: 4 kB / 1.104 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.013e-06/0.9201, allocations: 0 / 1.104 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.678e-05/0.9201, allocations: 0 / 1.104 GB, free: 12.95 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 236 * Number of variables: 236 Notification: Performance of Generate backend data structure: time 0.003465/0.9236, allocations: 1.894 MB / 1.106 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.9236, allocations: 12.03 kB / 1.106 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003126/0.9268, allocations: 0.5832 MB / 1.106 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002425/0.9292, allocations: 1.36 MB / 1.107 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001644/0.9294, allocations: 141.4 kB / 1.108 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/0.9296, allocations: 104 kB / 1.108 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002901/0.9325, allocations: 1.365 MB / 1.109 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/0.9325, allocations: 3.938 kB / 1.109 GB, free: 7.324 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.9326, allocations: 43.98 kB / 1.109 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-05/0.9327, allocations: 24 kB / 1.109 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003366/0.936, allocations: 1.397 MB / 1.11 GB, free: 5.859 MB / 0.8575 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.007689/0.9437, allocations: 5.481 MB / 1.116 GB, free: 32 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004894/0.9487, allocations: 1.498 MB / 1.117 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001419/0.9501, allocations: 0.6154 MB / 1.118 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009977/0.9511, allocations: 1.236 MB / 1.119 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001685/0.9528, allocations: 0.6835 MB / 1.12 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=71): time 3.867e-06/0.9528, allocations: 0 / 1.12 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of matching and sorting (n=71): time 0.01853/0.9713, allocations: 3.788 MB / 1.123 GB, free: 7.844 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.509e-05/0.9715, allocations: 64.06 kB / 1.124 GB, free: 7.77 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002027/0.9735, allocations: 1.264 MB / 1.125 GB, free: 6.496 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001833/0.9737, allocations: 41.69 kB / 1.125 GB, free: 6.449 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007536/0.9745, allocations: 0.6659 MB / 1.125 GB, free: 5.773 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000328/0.9748, allocations: 244.4 kB / 1.126 GB, free: 5.531 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.909e-05/0.9749, allocations: 16 kB / 1.126 GB, free: 5.516 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.975, allocations: 333.9 kB / 1.126 GB, free: 5.184 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001408/0.9765, allocations: 0.5446 MB / 1.127 GB, free: 4.637 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001605/0.9781, allocations: 0.7673 MB / 1.127 GB, free: 3.789 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001518/0.9796, allocations: 0.598 MB / 1.128 GB, free: 3.188 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.9796, allocations: 0 / 1.128 GB, free: 3.188 MB / 0.8731 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.008464/0.9881, allocations: 2.161 MB / 1.13 GB, free: 1.004 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002012/0.9883, allocations: 216.1 kB / 1.13 GB, free: 0.7422 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.9884, allocations: 8 kB / 1.13 GB, free: 0.7344 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001561/0.9899, allocations: 492.4 kB / 1.131 GB, free: 256 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008987/0.9908, allocations: 203.8 kB / 1.131 GB, free: 52 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01414/1.005, allocations: 3.809 MB / 1.135 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002116/1.007, allocations: 243 kB / 1.135 GB, free: 11.87 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/1.007, allocations: 43.92 kB / 1.135 GB, free: 11.82 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/1.007, allocations: 4 kB / 1.135 GB, free: 11.82 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008206/1.016, allocations: 2.012 MB / 1.137 GB, free: 9.801 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/1.016, allocations: 0 / 1.137 GB, free: 9.801 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001445/1.017, allocations: 0.489 MB / 1.137 GB, free: 9.309 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008664/1.018, allocations: 207.7 kB / 1.138 GB, free: 9.105 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01391/1.032, allocations: 3.791 MB / 1.141 GB, free: 5.184 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002033/1.034, allocations: 235.2 kB / 1.141 GB, free: 4.953 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/1.034, allocations: 35.97 kB / 1.141 GB, free: 4.918 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (fal.y,$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 (93): * Single equations (assignments): 91 * 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: 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.001001/1.035, allocations: 416.8 kB / 1.142 GB, free: 4.5 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002568/1.035, allocations: 154.2 kB / 1.142 GB, free: 4.348 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008682/1.044, allocations: 2.219 MB / 1.144 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.831e-05/1.044, allocations: 15.98 kB / 1.144 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/1.044, allocations: 0 / 1.144 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007863/1.052, allocations: 1.988 MB / 1.146 GB, free: 60 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01204/1.064, allocations: 3.968 MB / 1.15 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-05/1.064, allocations: 4 kB / 1.15 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007574/1.065, allocations: 168.4 kB / 1.15 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00145/1.066, allocations: 0.4886 MB / 1.151 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.633e-05/1.066, allocations: 27.97 kB / 1.151 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01381/1.08, allocations: 3.799 MB / 1.154 GB, free: 7.312 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.655e-06/1.08, allocations: 4 kB / 1.154 GB, free: 7.309 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01066/1.091, allocations: 3.01 MB / 1.157 GB, free: 4.211 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/1.092, allocations: 370.9 kB / 1.158 GB, free: 3.828 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002274/1.092, allocations: 27.98 kB / 1.158 GB, free: 3.801 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001341/1.094, allocations: 175.7 kB / 1.158 GB, free: 3.629 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001856/1.094, allocations: 72.36 kB / 1.158 GB, free: 3.555 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.526e-05/1.094, allocations: 43.97 kB / 1.158 GB, free: 3.512 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001336/1.095, allocations: 0.8934 MB / 1.159 GB, free: 2.621 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2e-07/1.095, allocations: 3.938 kB / 1.159 GB, free: 2.617 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.00261/1.098, allocations: 0.8579 MB / 1.16 GB, free: 1.758 MB / 0.9044 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 (70): * Single equations (assignments): 61 * 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: 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001171/1.099, allocations: 0.4946 MB / 1.16 GB, free: 1.27 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.007446/1.107, allocations: 2.59 MB / 1.163 GB, free: 14.63 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/1.107, allocations: 0 / 1.163 GB, free: 14.63 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.002839/1.109, allocations: 0.9517 MB / 1.164 GB, free: 13.67 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003956/1.113, allocations: 0.7511 MB / 1.164 GB, free: 12.92 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006815/1.12, allocations: 3.437 MB / 1.168 GB, free: 9.398 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008764/1.121, allocations: 1.234 MB / 1.169 GB, free: 8.137 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005537/1.122, allocations: 131.4 kB / 1.169 GB, free: 8.008 MB / 0.92 GB Notification: Performance of SimCode: time 6.52e-07/1.122, allocations: 0 / 1.169 GB, free: 8.008 MB / 0.92 GB Notification: Performance of Templates: time 0.04978/1.172, allocations: 34.11 MB / 1.202 GB, free: 6.086 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.makefile make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.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 OMCppBuildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecoveryCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecoveryCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecoveryCalcHelperMain.o] Error 1