Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tow.PFan|PFan_EP.y|tow.Q_flow|Q_flow_EP.y|tow.TLvg|TLvg_EP.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tow.PFan|PFan_EP.y|tow.Q_flow|Q_flow_EP.y|tow.TLvg|TLvg_EP.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001295, allocations: 100.5 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.002066/0.002067, allocations: 175.3 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.589/1.589, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.573/2.573, allocations: 390.4 MB / 0.6662 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004529/0.0004534, allocations: 8 kB / 0.8154 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9786/0.979, allocations: 142.3 MB / 0.9544 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.2151/1.194, allocations: 165.1 MB / 1.116 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02347/1.218, allocations: 12.43 MB / 1.128 GB, free: 14.33 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002916/1.221, allocations: 27.81 kB / 1.128 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001954/1.223, allocations: 381.7 kB / 1.128 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.008498/1.231, allocations: 1.738 MB / 1.13 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003731/1.235, allocations: 0.8522 MB / 1.131 GB, free: 11.35 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004496/1.24, allocations: 2.614 MB / 1.133 GB, free: 8.73 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001224/1.241, allocations: 0.6021 MB / 1.134 GB, free: 8.117 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001498/1.242, allocations: 0.7233 MB / 1.135 GB, free: 7.391 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009865/1.243, allocations: 0.6416 MB / 1.135 GB, free: 6.746 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001045/1.243, allocations: 40 kB / 1.135 GB, free: 6.707 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005162/1.249, allocations: 1.782 MB / 1.137 GB, free: 4.922 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003736/1.249, allocations: 286.9 kB / 1.137 GB, free: 4.641 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004461/1.249, allocations: 241.1 kB / 1.137 GB, free: 4.398 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003551/1.253, allocations: 1.921 MB / 1.139 GB, free: 2.473 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/1.253, allocations: 0 / 1.139 GB, free: 2.473 MB / 0.8887 GB Notification: Performance of FrontEnd: time 4.448e-06/1.253, allocations: 4 kB / 1.139 GB, free: 2.469 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.548e-05/1.253, allocations: 0 / 1.139 GB, free: 2.469 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 147 * Number of variables: 147 Notification: Performance of Generate backend data structure: time 0.003185/1.256, allocations: 1.569 MB / 1.141 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/1.256, allocations: 12.03 kB / 1.141 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008242/1.257, allocations: 238.2 kB / 1.141 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001896/1.259, allocations: 1.079 MB / 1.142 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.956e-05/1.259, allocations: 45.25 kB / 1.142 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/1.259, allocations: 64 kB / 1.142 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/1.261, allocations: 0.7637 MB / 1.143 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/1.261, allocations: 0 / 1.143 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.367e-05/1.261, allocations: 24 kB / 1.143 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.939e-05/1.261, allocations: 27.92 kB / 1.143 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001363/1.262, allocations: 0.7468 MB / 1.144 GB, free: 13.77 MB / 0.9044 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.004509/1.267, allocations: 3.089 MB / 1.147 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001465/1.268, allocations: 0.7748 MB / 1.148 GB, free: 9.75 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005921/1.269, allocations: 335.4 kB / 1.148 GB, free: 9.422 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004766/1.274, allocations: 3.608 MB / 1.151 GB, free: 5.25 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008822/1.274, allocations: 389.3 kB / 1.152 GB, free: 4.855 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=52): time 3.036e-06/1.274, allocations: 0 / 1.152 GB, free: 4.855 MB / 0.9044 GB Notification: Performance of matching and sorting (n=52): time 0.00487/1.279, allocations: 1.518 MB / 1.153 GB, free: 3.309 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.47e-05/1.279, allocations: 81.55 kB / 1.153 GB, free: 3.211 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001654/1.281, allocations: 1.144 MB / 1.154 GB, free: 2.051 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.708e-05/1.281, allocations: 49.69 kB / 1.154 GB, free: 1.996 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004931/1.282, allocations: 496.6 kB / 1.155 GB, free: 1.508 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/1.282, allocations: 185.5 kB / 1.155 GB, free: 1.324 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/1.282, allocations: 8 kB / 1.155 GB, free: 1.316 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001745/1.282, allocations: 334 kB / 1.155 GB, free: 0.9844 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006007/1.283, allocations: 309.2 kB / 1.156 GB, free: 0.6836 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00088/1.284, allocations: 0.5835 MB / 1.156 GB, free: 44 kB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007153/1.284, allocations: 362 kB / 1.157 GB, free: 15.7 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/1.284, allocations: 0 / 1.157 GB, free: 15.7 MB / 0.92 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00214/1.286, allocations: 1.003 MB / 1.158 GB, free: 14.68 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001452/1.287, allocations: 164.3 kB / 1.158 GB, free: 14.48 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/1.287, allocations: 8 kB / 1.158 GB, free: 14.47 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714/3, allocations: 193.5 MB / 1.347 GB, free: 206.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006181/3.001, allocations: 132.3 kB / 1.347 GB, free: 206.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0012/3.002, allocations: 1.279 MB / 1.348 GB, free: 205.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/3.003, allocations: 100.3 kB / 1.348 GB, free: 205.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.734e-05/3.003, allocations: 33.98 kB / 1.348 GB, free: 205.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/3.003, allocations: 8 kB / 1.348 GB, free: 205.1 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001704/3.005, allocations: 0.869 MB / 1.349 GB, free: 204.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/3.005, allocations: 4.188 kB / 1.349 GB, free: 204.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9359/3.941, allocations: 193.5 MB / 1.538 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006251/3.942, allocations: 128.4 kB / 1.538 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001188/3.943, allocations: 1.289 MB / 1.54 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/3.944, allocations: 93.97 kB / 1.54 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/3.944, allocations: 27.98 kB / 1.54 GB, free: 9.336 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.datRea.nextTimeEvent,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 72 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0007066/3.945, allocations: 378 kB / 1.54 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003332/3.945, allocations: 116.4 kB / 1.54 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002071/3.947, allocations: 0.9598 MB / 1.541 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.123e-05/3.947, allocations: 8 kB / 1.541 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/3.948, allocations: 0 / 1.541 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001379/3.949, allocations: 0.989 MB / 1.542 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00425/3.953, allocations: 2.1 MB / 1.544 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/3.953, allocations: 4 kB / 1.544 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000323/3.954, allocations: 79.94 kB / 1.544 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5053/4.459, allocations: 96.84 MB / 1.639 GB, free: 3.715 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001975/4.459, allocations: 11.98 kB / 1.639 GB, free: 3.703 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001183/4.46, allocations: 0.7464 MB / 1.639 GB, free: 2.938 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/4.46, allocations: 4.031 kB / 1.639 GB, free: 2.934 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004087/4.464, allocations: 1.504 MB / 1.641 GB, free: 1.41 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008501/4.465, allocations: 299.6 kB / 1.641 GB, free: 1.105 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000356/4.466, allocations: 12 kB / 1.641 GB, free: 1.094 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008077/4.466, allocations: 49.7 kB / 1.641 GB, free: 1.047 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/4.467, allocations: 40.34 kB / 1.641 GB, free: 1.008 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.617e-05/4.467, allocations: 23.98 kB / 1.641 GB, free: 0.9844 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.00158/4.468, allocations: 0.8088 MB / 1.642 GB, free: 172 kB / 1.092 GB Notification: Performance of sort global known variables: time 4.21e-07/4.468, allocations: 0 / 1.642 GB, free: 172 kB / 1.092 GB Notification: Performance of remove unused functions: time 0.002947/4.471, allocations: 0.7119 MB / 1.643 GB, free: 15.53 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (tow.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 2 (datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003058/4.474, allocations: 0.9306 MB / 1.644 GB, free: 14.9 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.003023/4.477, allocations: 1.205 MB / 1.645 GB, free: 13.7 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/4.477, allocations: 0 / 1.645 GB, free: 13.7 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0008154/4.478, allocations: 379.1 kB / 1.645 GB, free: 13.34 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002909/4.481, allocations: 479.2 kB / 1.646 GB, free: 12.87 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004381/4.486, allocations: 2.332 MB / 1.648 GB, free: 10.49 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009947/4.487, allocations: 1.085 MB / 1.649 GB, free: 9.375 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003518/4.487, allocations: 103.3 kB / 1.649 GB, free: 9.273 MB / 1.107 GB Notification: Performance of SimCode: time 1.734e-06/4.487, allocations: 4 kB / 1.649 GB, free: 9.27 MB / 1.107 GB Notification: Performance of Templates: time 0.6968/5.184, allocations: 27.75 MB / 1.676 GB, free: 413 MB / 1.123 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.makefile make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.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_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlusCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlusCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlusCalcHelperMain.o] Error 1