Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.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.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009513/0.0009514, allocations: 98.88 kB / 16.02 MB, free: 76 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.001558/0.001558, allocations: 185.6 kB / 16.93 MB, free: 6.684 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.939/1.939, allocations: 205.4 MB / 223.1 MB, free: 5.535 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.849/1.849, allocations: 292.7 MB / 0.5509 GB, free: 14.46 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.0005962/0.0005962, allocations: 16.39 kB / 0.675 GB, free: 25.7 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3412, allocations: 116.3 MB / 0.7885 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u): time 1.089/1.43, allocations: 250.2 MB / 1.033 GB, free: 9.418 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01962/1.45, allocations: 9.546 MB / 1.042 GB, free: 1.688 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004008/1.454, allocations: 64.91 kB / 1.042 GB, free: 1.66 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.003213/1.457, allocations: 0.8103 MB / 1.043 GB, free: 1.004 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.009951/1.467, allocations: 2.478 MB / 1.045 GB, free: 15.08 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.007236/1.475, allocations: 1.936 MB / 1.047 GB, free: 13.67 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.009774/1.485, allocations: 5.427 MB / 1.053 GB, free: 10.7 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003042/1.488, allocations: 1.285 MB / 1.054 GB, free: 9.91 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005656/1.493, allocations: 1.684 MB / 1.056 GB, free: 8.945 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003461/1.497, allocations: 1.227 MB / 1.057 GB, free: 8.242 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0002869/1.497, allocations: 63.44 kB / 1.057 GB, free: 8.242 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008093/1.505, allocations: 3.494 MB / 1.06 GB, free: 5.809 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0008661/1.506, allocations: 486.1 kB / 1.061 GB, free: 5.332 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001895/1.508, allocations: 0.9069 MB / 1.062 GB, free: 4.414 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.005342/1.513, allocations: 2.67 MB / 1.064 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/1.513, allocations: 0 / 1.064 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of FrontEnd: time 5.52e-06/1.513, allocations: 3.984 kB / 1.064 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.802e-05/1.513, allocations: 4 kB / 1.064 GB, free: 1.73 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.005175/1.519, allocations: 2.129 MB / 1.066 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.805e-05/1.519, allocations: 8.031 kB / 1.066 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003919/1.523, allocations: 0.6532 MB / 1.067 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002809/1.525, allocations: 1.362 MB / 1.068 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003864/1.526, allocations: 170 kB / 1.068 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002171/1.526, allocations: 131.9 kB / 1.069 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002935/1.529, allocations: 1.435 MB / 1.07 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.276e-05/1.529, allocations: 0 / 1.07 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/1.529, allocations: 52 kB / 1.07 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.453e-05/1.529, allocations: 42.22 kB / 1.07 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002628/1.532, allocations: 1.215 MB / 1.071 GB, free: 10.32 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 preOpt removeSimpleEquations (simulation): time 0.009631/1.542, allocations: 5.724 MB / 1.077 GB, free: 4.27 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002014/1.544, allocations: 1.046 MB / 1.078 GB, free: 3.184 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/1.545, allocations: 0.5448 MB / 1.078 GB, free: 2.641 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006387/1.545, allocations: 331.9 kB / 1.079 GB, free: 2.262 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001183/1.547, allocations: 0.5735 MB / 1.079 GB, free: 1.66 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=85): time 3.306e-06/1.547, allocations: 0 / 1.079 GB, free: 1.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=93): time 0.009114/1.556, allocations: 3.646 MB / 1.083 GB, free: 13.91 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.164e-05/1.556, allocations: 102 kB / 1.083 GB, free: 13.79 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002062/1.558, allocations: 1.346 MB / 1.084 GB, free: 12.44 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.000128/1.558, allocations: 45.7 kB / 1.084 GB, free: 12.39 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007529/1.559, allocations: 0.7212 MB / 1.085 GB, free: 11.66 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003887/1.559, allocations: 319.4 kB / 1.085 GB, free: 11.34 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/1.559, allocations: 89.66 kB / 1.085 GB, free: 11.25 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001917/1.56, allocations: 341.9 kB / 1.086 GB, free: 10.91 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/1.561, allocations: 470.1 kB / 1.086 GB, free: 10.45 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001215/1.562, allocations: 0.6903 MB / 1.087 GB, free: 9.676 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01438/1.576, allocations: 3.653 MB / 1.09 GB, free: 5.926 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/1.576, allocations: 4 kB / 1.09 GB, free: 5.922 MB / 0.795 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003934/1.58, allocations: 1.581 MB / 1.092 GB, free: 4.312 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002361/1.58, allocations: 243.9 kB / 1.092 GB, free: 4.012 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/1.58, allocations: 4 kB / 1.092 GB, free: 4.008 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007896/1.581, allocations: 250.3 kB / 1.092 GB, free: 3.754 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009508/1.582, allocations: 199.7 kB / 1.093 GB, free: 3.559 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004964/1.587, allocations: 4.477 MB / 1.097 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001875/1.589, allocations: 159.7 kB / 1.097 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/1.589, allocations: 36 kB / 1.097 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/1.589, allocations: 4 kB / 1.097 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002998/1.592, allocations: 1.409 MB / 1.099 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/1.592, allocations: 4 kB / 1.099 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005776/1.593, allocations: 222.3 kB / 1.099 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008432/1.594, allocations: 200 kB / 1.099 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005875/1.6, allocations: 5.509 MB / 1.104 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001954/1.602, allocations: 146.9 kB / 1.104 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001689/1.602, allocations: 47.92 kB / 1.105 GB, free: 6.629 MB / 0.8106 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 9 (TSet.nextEventScaled,TSet.nextEvent,$PRE.TSet.nextEvent,TSet.last,TSet.b,TSet.a,$whenCondition1,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 98 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,8), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001118/1.603, allocations: 0.5048 MB / 1.105 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005016/1.603, allocations: 162 kB / 1.105 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003046/1.606, allocations: 1.325 MB / 1.106 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/1.607, allocations: 12 kB / 1.106 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/1.607, allocations: 3.938 kB / 1.106 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002325/1.609, allocations: 1.186 MB / 1.108 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006206/1.615, allocations: 3.103 MB / 1.111 GB, free: 136 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/1.615, allocations: 4 kB / 1.111 GB, free: 132 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009697/1.616, allocations: 196.2 kB / 1.111 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002316/1.616, allocations: 56.75 kB / 1.111 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.465e-05/1.616, allocations: 35.98 kB / 1.111 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006192/1.617, allocations: 0.5913 MB / 1.112 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/1.617, allocations: 4 kB / 1.112 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00408/1.621, allocations: 2.033 MB / 1.114 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008773/1.622, allocations: 347 kB / 1.114 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002062/1.622, allocations: 24 kB / 1.114 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001168/1.623, allocations: 119.7 kB / 1.114 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/1.624, allocations: 64.47 kB / 1.114 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.425e-05/1.624, allocations: 43.97 kB / 1.114 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001405/1.625, allocations: 0.9097 MB / 1.115 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.5e-07/1.625, allocations: 0 / 1.115 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002279/1.627, allocations: 0.6953 MB / 1.116 GB, free: 10.9 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.Xi[1],heaDyn.vol.dynBal.medium.T,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006841/1.628, allocations: 308.4 kB / 1.116 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004758/1.633, allocations: 2.602 MB / 1.118 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/1.633, allocations: 4 kB / 1.118 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001264/1.634, allocations: 0.6209 MB / 1.119 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004931/1.639, allocations: 0.8416 MB / 1.12 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007516/1.647, allocations: 3.999 MB / 1.124 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001118/1.648, allocations: 1.341 MB / 1.125 GB, free: 0.9922 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004703/1.648, allocations: 127.3 kB / 1.125 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of SimCode: time 9.82e-07/1.648, allocations: 7.938 kB / 1.125 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of Templates: time 0.06067/1.709, allocations: 40.13 MB / 1.164 GB, free: 8.848 MB / 0.8731 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_uCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_uCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_uCalcHelperMain.o] Error 1