Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.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.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.sta_a1.T|hex.sta_b1.T|hex.sta_a2.T|hex.sta_b2.T|hex.Q1_flow|hex.Q2_flow|hex.m1_flow|hex.m2_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.sta_a1.T|hex.sta_b1.T|hex.sta_a2.T|hex.sta_b2.T|hex.Q1_flow|hex.Q2_flow|hex.m1_flow|hex.m2_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 98.66 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.001171/0.001171, allocations: 177.8 kB / 16.58 MB, free: 6.418 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.511/1.511, allocations: 223.2 MB / 240.6 MB, free: 5.414 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.549/2.549, allocations: 390.4 MB / 0.6662 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004461/0.0004462, allocations: 12 kB / 0.8154 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01/1.011, allocations: 142.3 MB / 0.9544 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.2183/1.229, allocations: 182.2 MB / 1.132 GB, free: 9.484 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0119/1.241, allocations: 7.188 MB / 1.139 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001615/1.243, allocations: 39.69 kB / 1.139 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001738/1.244, allocations: 456.9 kB / 1.14 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005134/1.25, allocations: 1.493 MB / 1.141 GB, free: 300 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00278/1.252, allocations: 0.8723 MB / 1.142 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004223/1.257, allocations: 2.972 MB / 1.145 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001342/1.258, allocations: 0.7073 MB / 1.146 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003477/1.261, allocations: 1.217 MB / 1.147 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001536/1.263, allocations: 0.7584 MB / 1.148 GB, free: 9.746 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001242/1.263, allocations: 40 kB / 1.148 GB, free: 9.707 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003795/1.267, allocations: 1.267 MB / 1.149 GB, free: 8.438 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005075/1.267, allocations: 250.9 kB / 1.149 GB, free: 8.191 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007065/1.268, allocations: 245.1 kB / 1.149 GB, free: 7.945 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003282/1.272, allocations: 1.477 MB / 1.151 GB, free: 6.465 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/1.272, allocations: 0 / 1.151 GB, free: 6.465 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.386e-06/1.272, allocations: 4 kB / 1.151 GB, free: 6.461 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.957e-05/1.272, allocations: 0 / 1.151 GB, free: 6.461 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.004094/1.276, allocations: 1.471 MB / 1.152 GB, free: 4.93 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/1.276, allocations: 8.031 kB / 1.152 GB, free: 4.922 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002393/1.278, allocations: 478.1 kB / 1.153 GB, free: 4.453 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002212/1.28, allocations: 0.883 MB / 1.154 GB, free: 3.527 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005517/1.281, allocations: 189.8 kB / 1.154 GB, free: 3.34 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/1.281, allocations: 75.97 kB / 1.154 GB, free: 3.266 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002402/1.284, allocations: 1.122 MB / 1.155 GB, free: 2.129 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/1.284, allocations: 3.984 kB / 1.155 GB, free: 2.125 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.508e-05/1.284, allocations: 28 kB / 1.155 GB, free: 2.098 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.67e-05/1.284, allocations: 37.98 kB / 1.155 GB, free: 2.059 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003025/1.287, allocations: 1.265 MB / 1.156 GB, free: 0.7969 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.006527/1.293, allocations: 4.154 MB / 1.16 GB, free: 12.35 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002303/1.296, allocations: 0.9382 MB / 1.161 GB, free: 11.4 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001193/1.297, allocations: 0.5325 MB / 1.162 GB, free: 10.87 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008061/1.298, allocations: 0.6526 MB / 1.162 GB, free: 10.09 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001492/1.299, allocations: 0.6381 MB / 1.163 GB, free: 9.434 MB / 0.92 GB Notification: Performance of pre-optimization done (n=57): time 2.805e-06/1.299, allocations: 0 / 1.163 GB, free: 9.434 MB / 0.92 GB Notification: Performance of matching and sorting (n=57): time 0.004011/1.303, allocations: 1.521 MB / 1.165 GB, free: 7.906 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.04e-05/1.303, allocations: 81.67 kB / 1.165 GB, free: 7.809 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/1.304, allocations: 0.8355 MB / 1.165 GB, free: 6.949 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.461e-05/1.304, allocations: 41.69 kB / 1.165 GB, free: 6.902 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003618/1.305, allocations: 424.4 kB / 1.166 GB, free: 6.484 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001883/1.305, allocations: 197.2 kB / 1.166 GB, free: 6.289 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.394e-05/1.305, allocations: 15.94 kB / 1.166 GB, free: 6.273 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001313/1.305, allocations: 326 kB / 1.166 GB, free: 5.949 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/1.306, allocations: 452.8 kB / 1.167 GB, free: 5.508 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001278/1.308, allocations: 0.5626 MB / 1.167 GB, free: 4.906 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/1.309, allocations: 491.6 kB / 1.168 GB, free: 4.422 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/1.309, allocations: 3.953 kB / 1.168 GB, free: 4.418 MB / 0.92 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002838/1.312, allocations: 1.14 MB / 1.169 GB, free: 3.262 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001267/1.312, allocations: 166.2 kB / 1.169 GB, free: 3.07 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/1.312, allocations: 0 / 1.169 GB, free: 3.07 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/1.312, allocations: 4 kB / 1.169 GB, free: 3.066 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/1.313, allocations: 247.7 kB / 1.169 GB, free: 2.824 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007392/1.314, allocations: 1.199 MB / 1.17 GB, free: 1.578 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/1.315, allocations: 187.4 kB / 1.171 GB, free: 1.395 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.421e-05/1.315, allocations: 31.98 kB / 1.171 GB, free: 1.363 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/1.315, allocations: 4 kB / 1.171 GB, free: 1.359 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002525/1.318, allocations: 1.041 MB / 1.172 GB, free: 316 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/1.318, allocations: 0 / 1.172 GB, free: 316 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-06/1.318, allocations: 4 kB / 1.172 GB, free: 312 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009265/1.319, allocations: 215.9 kB / 1.172 GB, free: 96 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.118e-06/1.319, allocations: 7.938 kB / 1.172 GB, free: 88 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/1.32, allocations: 179.3 kB / 1.172 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-05/1.32, allocations: 31.98 kB / 1.172 GB, free: 15.88 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006372/1.321, allocations: 342.1 kB / 1.172 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001829/1.321, allocations: 98.78 kB / 1.173 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003046/1.324, allocations: 1.203 MB / 1.174 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.481e-05/1.324, allocations: 11.98 kB / 1.174 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/1.324, allocations: 4 kB / 1.174 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/1.324, allocations: 3.953 kB / 1.174 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00473/1.329, allocations: 2.396 MB / 1.176 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/1.329, allocations: 8.328 kB / 1.176 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/1.33, allocations: 219.8 kB / 1.176 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.501e-05/1.33, allocations: 15.94 kB / 1.176 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.503e-05/1.33, allocations: 19.98 kB / 1.176 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007085/1.331, allocations: 1.184 MB / 1.178 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/1.331, allocations: 192 / 1.178 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002852/1.334, allocations: 1.294 MB / 1.179 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005604/1.334, allocations: 303.5 kB / 1.179 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/1.334, allocations: 12 kB / 1.179 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/1.335, allocations: 159.8 kB / 1.179 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/1.335, allocations: 64.23 kB / 1.179 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.312e-05/1.335, allocations: 31.97 kB / 1.179 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008549/1.336, allocations: 0.5704 MB / 1.18 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/1.336, allocations: 0 / 1.18 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001373/1.338, allocations: 487 kB / 1.18 GB, free: 7.25 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006876/1.338, allocations: 291.6 kB / 1.181 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004445/1.343, allocations: 1.715 MB / 1.182 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/1.343, allocations: 4.062 kB / 1.182 GB, free: 5.223 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.00151/1.344, allocations: 0.6002 MB / 1.183 GB, free: 4.625 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002357/1.347, allocations: 477.1 kB / 1.183 GB, free: 4.164 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004655/1.351, allocations: 2.276 MB / 1.186 GB, free: 1.816 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007929/1.352, allocations: 1.039 MB / 1.187 GB, free: 0.7461 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004233/1.353, allocations: 91.39 kB / 1.187 GB, free: 0.6562 MB / 0.9356 GB Notification: Performance of SimCode: time 1.493e-06/1.353, allocations: 0 / 1.187 GB, free: 0.6562 MB / 0.9356 GB Notification: Performance of Templates: time 0.03481/1.388, allocations: 25.17 MB / 1.211 GB, free: 7.582 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.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.Validation.ConstantEffectivenessCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectivenessCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectivenessCalcHelperMain.o] Error 1