Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.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.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 98.88 kB / 16.02 MB, free: 72 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.001725/0.001725, allocations: 181.3 kB / 16.92 MB, free: 6.918 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.973/1.973, allocations: 205.4 MB / 223.1 MB, free: 5.512 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.807/1.807, allocations: 292.7 MB / 0.5509 GB, free: 14.43 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.0005595/0.0005597, allocations: 23.3 kB / 0.675 GB, free: 25.71 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2913, allocations: 116.3 MB / 0.7885 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 1.003/1.294, allocations: 294 MB / 1.076 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.08918/1.383, allocations: 49.23 MB / 1.124 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01569/1.399, allocations: 246.3 kB / 1.124 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.01406/1.413, allocations: 2.774 MB / 1.127 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.03662/1.45, allocations: 8.376 MB / 1.135 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.01994/1.47, allocations: 6.028 MB / 1.141 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.04053/1.51, allocations: 24.5 MB / 1.165 GB, free: 276 kB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01234/1.523, allocations: 4.702 MB / 1.169 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02408/1.547, allocations: 6.198 MB / 1.175 GB, free: 5.254 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01449/1.561, allocations: 4.899 MB / 1.18 GB, free: 340 kB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.003921/1.565, allocations: 232 kB / 1.18 GB, free: 108 kB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01998/1.585, allocations: 3.905 MB / 1.184 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.003999/1.589, allocations: 1.131 MB / 1.185 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.01176/1.601, allocations: 3.32 MB / 1.188 GB, free: 7.711 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01962/1.621, allocations: 7.711 MB / 1.196 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/1.621, allocations: 0 / 1.196 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.595e-06/1.621, allocations: 0 / 1.196 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0005528/1.622, allocations: 0 / 1.196 GB, free: 15.98 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: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.01964/1.641, allocations: 6.183 MB / 1.202 GB, free: 9.664 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 8.499e-05/1.641, allocations: 8.031 kB / 1.202 GB, free: 9.656 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004688/1.646, allocations: 0.7842 MB / 1.203 GB, free: 8.863 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01435/1.66, allocations: 5.168 MB / 1.208 GB, free: 3.621 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003686/1.661, allocations: 320.1 kB / 1.208 GB, free: 3.305 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001381/1.662, allocations: 435.9 kB / 1.209 GB, free: 2.879 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01091/1.673, allocations: 4.385 MB / 1.213 GB, free: 14.21 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000124/1.673, allocations: 19.78 kB / 1.213 GB, free: 14.19 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004878/1.674, allocations: 176 kB / 1.213 GB, free: 14.02 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001438/1.674, allocations: 127.9 kB / 1.213 GB, free: 13.89 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006431/1.68, allocations: 2.965 MB / 1.216 GB, free: 10.93 MB / 0.92 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.04899/1.729, allocations: 25.04 MB / 1.241 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00393/1.733, allocations: 2.771 MB / 1.243 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001643/1.735, allocations: 0.9993 MB / 1.244 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003459/1.739, allocations: 3.927 MB / 1.248 GB, free: 7.062 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.122e-05/1.739, allocations: 60.56 kB / 1.248 GB, free: 6.996 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=217): time 6.412e-06/1.739, allocations: 0 / 1.248 GB, free: 6.996 MB / 0.9512 GB Notification: Performance of matching and sorting (n=217): time 0.01215/1.751, allocations: 4.119 MB / 1.252 GB, free: 2.781 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/1.751, allocations: 73.41 kB / 1.252 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008155/1.759, allocations: 4.207 MB / 1.256 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.000679/1.76, allocations: 77.7 kB / 1.256 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.002598/1.762, allocations: 2.776 MB / 1.259 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.001221/1.764, allocations: 0.7625 MB / 1.26 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003172/1.764, allocations: 231.6 kB / 1.26 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000124/1.764, allocations: 301.1 kB / 1.26 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001479/1.766, allocations: 0.8138 MB / 1.261 GB, free: 9.512 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002531/1.768, allocations: 1.834 MB / 1.263 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004122/1.772, allocations: 2.521 MB / 1.265 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-05/1.772, allocations: 8 kB / 1.265 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.009956/1.782, allocations: 3.583 MB / 1.269 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.7142/2.497, allocations: 0.7326 MB / 1.27 GB, free: 351.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001125/2.497, allocations: 21.19 kB / 1.27 GB, free: 351.6 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003838/2.501, allocations: 0.5923 MB / 1.27 GB, free: 351.5 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002642/2.503, allocations: 0.5532 MB / 1.271 GB, free: 351.5 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002506/2.506, allocations: 2.689 MB / 1.273 GB, free: 349.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007134/2.513, allocations: 0.613 MB / 1.274 GB, free: 349.5 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007075/2.514, allocations: 134.9 kB / 1.274 GB, free: 349.5 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/2.514, allocations: 7.125 kB / 1.274 GB, free: 349.5 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006333/2.52, allocations: 2.833 MB / 1.277 GB, free: 349.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.766e-05/2.52, allocations: 21.88 kB / 1.277 GB, free: 349.2 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009239/2.521, allocations: 367.9 kB / 1.277 GB, free: 349.1 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001682/2.523, allocations: 0.5545 MB / 1.278 GB, free: 349.1 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009817/2.533, allocations: 7.724 MB / 1.285 GB, free: 343.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007159/2.54, allocations: 0.571 MB / 1.286 GB, free: 343.5 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005791/2.54, allocations: 127.3 kB / 1.286 GB, free: 343.5 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * 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 (323): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,12), (1,9), (1,12), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.003532/2.544, allocations: 1.008 MB / 1.287 GB, free: 342.8 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001923/2.546, allocations: 0.4994 MB / 1.287 GB, free: 342.8 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008409/2.554, allocations: 3.581 MB / 1.291 GB, free: 341.4 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.273e-05/2.554, allocations: 36.31 kB / 1.291 GB, free: 341.4 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/2.554, allocations: 5.312 kB / 1.291 GB, free: 341.4 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005085/2.56, allocations: 2.455 MB / 1.293 GB, free: 340.4 MB / 0.9669 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.02138/2.581, allocations: 8.217 MB / 1.301 GB, free: 336.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-05/2.581, allocations: 1.172 kB / 1.301 GB, free: 336.5 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001492/2.583, allocations: 367.3 kB / 1.302 GB, free: 336.4 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000751/2.583, allocations: 309.9 kB / 1.302 GB, free: 336.3 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001548/2.583, allocations: 60.92 kB / 1.302 GB, free: 336.3 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001765/2.585, allocations: 2.504 MB / 1.305 GB, free: 334 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/2.585, allocations: 0 / 1.305 GB, free: 334 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008195/2.593, allocations: 4.349 MB / 1.309 GB, free: 332.1 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003834/2.597, allocations: 0.9757 MB / 1.31 GB, free: 331.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001247/2.599, allocations: 43.28 kB / 1.31 GB, free: 331.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003958/2.603, allocations: 444.1 kB / 1.31 GB, free: 331.4 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002915/2.603, allocations: 147.1 kB / 1.31 GB, free: 331.4 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002454/2.603, allocations: 111.6 kB / 1.311 GB, free: 331.4 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.005676/2.609, allocations: 2.771 MB / 1.313 GB, free: 330.4 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7.62e-07/2.609, allocations: 1.562 kB / 1.313 GB, free: 330.4 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.01468/2.624, allocations: 3.269 MB / 1.316 GB, free: 329.9 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * 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 (219): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,9), (1,7), (1,9), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003901/2.627, allocations: 1.501 MB / 1.318 GB, free: 329.5 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.007904/2.635, allocations: 4.447 MB / 1.322 GB, free: 327.7 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/2.635, allocations: 0 / 1.322 GB, free: 327.7 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.00203/2.637, allocations: 1.237 MB / 1.323 GB, free: 327.3 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01691/2.654, allocations: 2.679 MB / 1.326 GB, free: 326.8 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01922/2.674, allocations: 11.6 MB / 1.337 GB, free: 319.3 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002437/2.676, allocations: 2.853 MB / 1.34 GB, free: 316.4 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001639/2.678, allocations: 427.2 kB / 1.341 GB, free: 316 MB / 0.9669 GB Notification: Performance of SimCode: time 2.013e-06/2.678, allocations: 0 / 1.341 GB, free: 316 MB / 0.9669 GB Notification: Performance of Templates: time 0.2013/2.879, allocations: 189.8 MB / 1.526 GB, free: 126.6 MB / 0.9669 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.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.Interfaces.Examples.HeaterCooler_uCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_uCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_uCalcHelperMain.o] Error 1