Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.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.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000962/0.0009623, allocations: 99.44 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.00106/0.00106, allocations: 178.5 kB / 16.58 MB, free: 6.422 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.831/1.831, allocations: 205.4 MB / 222.8 MB, free: 5.625 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.958/1.958, allocations: 292.7 MB / 0.5505 GB, free: 14.56 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.0005917/0.0005917, allocations: 19.94 kB / 0.6744 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3296, allocations: 116.3 MB / 0.7879 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible): time 0.9611/1.291, allocations: 226.8 MB / 1.009 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01878/1.31, allocations: 11.15 MB / 1.02 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003612/1.313, allocations: 66.72 kB / 1.02 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002965/1.316, allocations: 0.6982 MB / 1.021 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01053/1.327, allocations: 2.392 MB / 1.023 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.005499/1.332, allocations: 1.166 MB / 1.025 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01079/1.343, allocations: 5.383 MB / 1.03 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002605/1.346, allocations: 1.113 MB / 1.031 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005224/1.351, allocations: 1.679 MB / 1.032 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003059/1.354, allocations: 1.22 MB / 1.034 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0003269/1.354, allocations: 60.97 kB / 1.034 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00465/1.359, allocations: 1.317 MB / 1.035 GB, free: 9.805 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.000686/1.36, allocations: 423.4 kB / 1.035 GB, free: 9.523 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001094/1.361, allocations: 394 kB / 1.036 GB, free: 9.316 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.00396/1.365, allocations: 2.301 MB / 1.038 GB, free: 7.77 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/1.365, allocations: 8 kB / 1.038 GB, free: 7.762 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.923e-06/1.365, allocations: 0 / 1.038 GB, free: 7.762 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.758e-05/1.365, allocations: 0 / 1.038 GB, free: 7.762 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.004154/1.369, allocations: 1.927 MB / 1.04 GB, free: 6.336 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/1.369, allocations: 10.59 kB / 1.04 GB, free: 6.336 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001704/1.371, allocations: 352 kB / 1.04 GB, free: 6.172 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002442/1.373, allocations: 1.292 MB / 1.042 GB, free: 5.176 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.608e-05/1.373, allocations: 88.38 kB / 1.042 GB, free: 5.137 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001567/1.374, allocations: 115.7 kB / 1.042 GB, free: 5.102 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002237/1.376, allocations: 1.215 MB / 1.043 GB, free: 4.359 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.895e-05/1.376, allocations: 3.984 kB / 1.043 GB, free: 4.355 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/1.376, allocations: 42.78 kB / 1.043 GB, free: 4.324 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.312e-05/1.376, allocations: 44.86 kB / 1.043 GB, free: 4.316 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001766/1.378, allocations: 0.967 MB / 1.044 GB, free: 3.836 MB / 0.7481 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.007458/1.385, allocations: 5.537 MB / 1.049 GB, free: 15.01 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/1.387, allocations: 0.8718 MB / 1.05 GB, free: 14.45 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006378/1.387, allocations: 417 kB / 1.051 GB, free: 14.25 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006246/1.388, allocations: 0.6046 MB / 1.051 GB, free: 13.57 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/1.388, allocations: 44.31 kB / 1.051 GB, free: 13.52 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=70): time 3.116e-06/1.388, allocations: 448 / 1.051 GB, free: 13.52 MB / 0.7637 GB Notification: Performance of matching and sorting (n=70): time 0.003642/1.392, allocations: 1.461 MB / 1.053 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/1.392, allocations: 67.91 kB / 1.053 GB, free: 11.96 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/1.393, allocations: 1.182 MB / 1.054 GB, free: 10.77 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001179/1.394, allocations: 49.64 kB / 1.054 GB, free: 10.71 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006048/1.394, allocations: 0.6732 MB / 1.055 GB, free: 10.04 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002713/1.394, allocations: 252.4 kB / 1.055 GB, free: 9.785 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.985e-05/1.394, allocations: 16 kB / 1.055 GB, free: 9.77 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001448/1.395, allocations: 338 kB / 1.055 GB, free: 9.434 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005484/1.395, allocations: 297.8 kB / 1.055 GB, free: 9.145 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007456/1.396, allocations: 0.5339 MB / 1.056 GB, free: 8.523 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006696/1.397, allocations: 382.8 kB / 1.056 GB, free: 8.152 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/1.397, allocations: 0 / 1.056 GB, free: 8.152 MB / 0.7637 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002298/1.399, allocations: 1.071 MB / 1.057 GB, free: 7.066 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001266/1.399, allocations: 171.4 kB / 1.058 GB, free: 6.863 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/1.399, allocations: 0 / 1.058 GB, free: 6.863 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007317/1.4, allocations: 149.6 kB / 1.058 GB, free: 6.711 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007778/1.401, allocations: 183.7 kB / 1.058 GB, free: 6.531 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/1.402, allocations: 1.757 MB / 1.06 GB, free: 4.699 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/1.403, allocations: 175.1 kB / 1.06 GB, free: 4.527 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.887e-05/1.403, allocations: 28 kB / 1.06 GB, free: 4.5 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/1.403, allocations: 4 kB / 1.06 GB, free: 4.496 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001669/1.405, allocations: 0.8722 MB / 1.061 GB, free: 3.621 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/1.405, allocations: 0 / 1.061 GB, free: 3.621 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002585/1.405, allocations: 89.81 kB / 1.061 GB, free: 3.527 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006348/1.406, allocations: 167.8 kB / 1.061 GB, free: 3.363 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002984/1.409, allocations: 3.134 MB / 1.064 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/1.411, allocations: 171.2 kB / 1.064 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.674e-05/1.411, allocations: 31.98 kB / 1.064 GB, free: 15.75 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 83 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0008783/1.412, allocations: 437.5 kB / 1.065 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002604/1.412, allocations: 142.3 kB / 1.065 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001836/1.414, allocations: 0.9652 MB / 1.066 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/1.414, allocations: 8 kB / 1.066 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/1.414, allocations: 0 / 1.066 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001534/1.415, allocations: 1.071 MB / 1.067 GB, free: 13.02 MB / 0.7794 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 postOpt removeSimpleEquations (simulation): time 0.004185/1.419, allocations: 2.481 MB / 1.069 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/1.419, allocations: 4 kB / 1.069 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007141/1.42, allocations: 164 kB / 1.069 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002253/1.42, allocations: 85.66 kB / 1.069 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.447e-05/1.42, allocations: 19.98 kB / 1.069 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001148/1.422, allocations: 1.745 MB / 1.071 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/1.422, allocations: 4 kB / 1.071 GB, free: 8.332 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002465/1.424, allocations: 1.462 MB / 1.073 GB, free: 6.812 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008121/1.425, allocations: 327 kB / 1.073 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001644/1.425, allocations: 20.19 kB / 1.073 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/1.426, allocations: 111.8 kB / 1.073 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/1.426, allocations: 64.38 kB / 1.073 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.984e-05/1.426, allocations: 27.98 kB / 1.073 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001399/1.428, allocations: 0.8005 MB / 1.074 GB, free: 5.453 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/1.428, allocations: 0 / 1.074 GB, free: 5.453 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00255/1.43, allocations: 0.8066 MB / 1.075 GB, free: 4.645 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (hex.vol1.dynBal.U,hex.vol2.dynBal.U,hex.vol2.dynBal.m,hex.vol2.dynBal.mXi[1],hex.mas.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009832/1.431, allocations: 380.1 kB / 1.075 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.003517/1.435, allocations: 1.467 MB / 1.076 GB, free: 2.781 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.555e-06/1.435, allocations: 0 / 1.076 GB, free: 2.781 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000871/1.436, allocations: 403.8 kB / 1.077 GB, free: 2.391 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004053/1.44, allocations: 0.7987 MB / 1.078 GB, free: 1.598 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006021/1.446, allocations: 3.311 MB / 1.081 GB, free: 14.22 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/1.447, allocations: 1.277 MB / 1.082 GB, free: 12.92 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000534/1.448, allocations: 111.4 kB / 1.082 GB, free: 12.81 MB / 0.795 GB Notification: Performance of SimCode: time 1.934e-06/1.448, allocations: 0 / 1.082 GB, free: 12.81 MB / 0.795 GB Notification: Performance of Templates: time 0.05841/1.506, allocations: 43.78 MB / 1.125 GB, free: 1.18 MB / 0.8262 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.makefile make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.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.HeatExchangers.BaseClasses.Examples.HexElementSensibleCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensibleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensibleCalcHelperMain.o] Error 1