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.001045/0.001045, allocations: 102.6 kB / 15.71 MB, free: 460 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.00147/0.00147, allocations: 171.8 kB / 16.58 MB, free: 6.398 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.987/1.987, allocations: 205.4 MB / 222.8 MB, free: 5.637 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.769/1.769, allocations: 292.7 MB / 0.5505 GB, free: 14.55 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.0005535/0.0005537, allocations: 19.03 kB / 0.6744 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.294, allocations: 116.3 MB / 0.7879 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.9573/1.251, allocations: 277.5 MB / 1.059 GB, free: 12.29 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.09448/1.346, allocations: 46.54 MB / 1.104 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0147/1.361, allocations: 254.2 kB / 1.105 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01217/1.373, allocations: 2.383 MB / 1.107 GB, free: 11 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.03167/1.405, allocations: 7.217 MB / 1.114 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.01865/1.423, allocations: 4.821 MB / 1.119 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.03515/1.458, allocations: 20.99 MB / 1.139 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01085/1.469, allocations: 4.273 MB / 1.143 GB, free: 5.586 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01957/1.489, allocations: 5.914 MB / 1.149 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0125/1.502, allocations: 4.604 MB / 1.154 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.003382/1.505, allocations: 232 kB / 1.154 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01488/1.52, allocations: 2.639 MB / 1.156 GB, free: 8.148 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.003635/1.524, allocations: 1.061 MB / 1.158 GB, free: 7.082 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.004925/1.529, allocations: 1.373 MB / 1.159 GB, free: 5.699 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01785/1.546, allocations: 7.438 MB / 1.166 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 9.228e-06/1.546, allocations: 0 / 1.166 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.873e-06/1.546, allocations: 4 kB / 1.166 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.000461/1.547, allocations: 0 / 1.166 GB, free: 14.24 MB / 0.8731 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.01929/1.566, allocations: 6.246 MB / 1.172 GB, free: 7.863 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/1.566, allocations: 12.03 kB / 1.172 GB, free: 7.852 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004613/1.571, allocations: 0.7842 MB / 1.173 GB, free: 7.059 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01359/1.585, allocations: 4.959 MB / 1.178 GB, free: 2.027 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000462/1.585, allocations: 320.1 kB / 1.178 GB, free: 1.711 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00129/1.586, allocations: 436 kB / 1.179 GB, free: 1.285 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01001/1.596, allocations: 4.35 MB / 1.183 GB, free: 12.65 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.841e-05/1.596, allocations: 23.78 kB / 1.183 GB, free: 12.63 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000397/1.597, allocations: 168 kB / 1.183 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001324/1.597, allocations: 120 kB / 1.183 GB, free: 12.35 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006064/1.603, allocations: 2.937 MB / 1.186 GB, free: 9.406 MB / 0.8887 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.03535/1.638, allocations: 25.03 MB / 1.21 GB, free: 14.33 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003257/1.642, allocations: 2.756 MB / 1.213 GB, free: 11.36 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001491/1.643, allocations: 0.9876 MB / 1.214 GB, free: 10.38 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00343/1.647, allocations: 3.923 MB / 1.218 GB, free: 5.59 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.253e-05/1.647, allocations: 68.5 kB / 1.218 GB, free: 5.512 MB / 0.92 GB Notification: Performance of pre-optimization done (n=217): time 6.602e-06/1.647, allocations: 3.984 kB / 1.218 GB, free: 5.508 MB / 0.92 GB Notification: Performance of matching and sorting (n=217): time 0.0111/1.658, allocations: 4.065 MB / 1.222 GB, free: 1.348 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.86e-05/1.658, allocations: 77.41 kB / 1.222 GB, free: 1.262 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007474/1.666, allocations: 4.16 MB / 1.226 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0005082/1.666, allocations: 81.7 kB / 1.226 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.002778/1.669, allocations: 2.776 MB / 1.229 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009933/1.67, allocations: 0.7663 MB / 1.23 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/1.67, allocations: 56 kB / 1.23 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002436/1.67, allocations: 411.9 kB / 1.23 GB, free: 9 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001365/1.672, allocations: 0.7865 MB / 1.231 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002331/1.674, allocations: 1.81 MB / 1.233 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001814/1.676, allocations: 1.069 MB / 1.234 GB, free: 4.875 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.249e-05/1.676, allocations: 8 kB / 1.234 GB, free: 4.867 MB / 0.9356 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.008212/1.684, allocations: 3.496 MB / 1.237 GB, free: 1.305 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.000663/1.685, allocations: 0.7455 MB / 1.238 GB, free: 256 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.88e-05/1.685, allocations: 24 kB / 1.238 GB, free: 232 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002299/1.687, allocations: 0.5666 MB / 1.238 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001856/1.689, allocations: 0.5538 MB / 1.239 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002325/1.691, allocations: 2.69 MB / 1.242 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006462/1.698, allocations: 0.6141 MB / 1.242 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005334/1.698, allocations: 140 kB / 1.242 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/1.698, allocations: 4 kB / 1.242 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005792/1.704, allocations: 2.801 MB / 1.245 GB, free: 8.691 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-05/1.704, allocations: 24.91 kB / 1.245 GB, free: 8.668 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009788/1.705, allocations: 371.2 kB / 1.245 GB, free: 8.293 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001914/1.707, allocations: 0.5577 MB / 1.246 GB, free: 7.734 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01019/1.717, allocations: 7.704 MB / 1.253 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005606/1.723, allocations: 0.574 MB / 1.254 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005996/1.724, allocations: 132.1 kB / 1.254 GB, free: 14.74 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.003052/1.727, allocations: 1.004 MB / 1.255 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001872/1.729, allocations: 0.4978 MB / 1.256 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00696/1.735, allocations: 3.576 MB / 1.259 GB, free: 9.574 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.805e-05/1.736, allocations: 39.97 kB / 1.259 GB, free: 9.535 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-06/1.736, allocations: 0 / 1.259 GB, free: 9.535 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003708/1.739, allocations: 2.431 MB / 1.262 GB, free: 7.051 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.01776/1.757, allocations: 8.201 MB / 1.27 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/1.757, allocations: 4 kB / 1.27 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001281/1.758, allocations: 363.5 kB / 1.27 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006993/1.759, allocations: 295.2 kB / 1.27 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001357/1.759, allocations: 63.95 kB / 1.27 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002042/1.761, allocations: 2.494 MB / 1.273 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.761, allocations: 0 / 1.273 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008756/1.77, allocations: 4.332 MB / 1.277 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003815/1.774, allocations: 0.9779 MB / 1.278 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001265/1.775, allocations: 44 kB / 1.278 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003972/1.779, allocations: 435.2 kB / 1.278 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000271/1.78, allocations: 145.8 kB / 1.278 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002379/1.78, allocations: 123.8 kB / 1.279 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.005462/1.785, allocations: 2.725 MB / 1.281 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.395e-06/1.785, allocations: 96 / 1.281 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.6977/2.483, allocations: 3.262 MB / 1.284 GB, free: 364.2 MB / 0.9825 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.004119/2.487, allocations: 1.409 MB / 1.286 GB, free: 364.1 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01082/2.498, allocations: 4.403 MB / 1.29 GB, free: 363.4 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.487e-05/2.498, allocations: 2.594 kB / 1.29 GB, free: 363.4 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002385/2.5, allocations: 1.228 MB / 1.291 GB, free: 363.3 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01607/2.517, allocations: 2.674 MB / 1.294 GB, free: 363.3 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02361/2.54, allocations: 11.1 MB / 1.305 GB, free: 357.4 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006868/2.547, allocations: 2.85 MB / 1.308 GB, free: 356.5 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00222/2.549, allocations: 426.7 kB / 1.308 GB, free: 356.4 MB / 0.9825 GB Notification: Performance of SimCode: time 1.563e-06/2.549, allocations: 0 / 1.308 GB, free: 356.4 MB / 0.9825 GB Notification: Performance of Templates: time 0.2547/2.804, allocations: 189.9 MB / 1.493 GB, free: 189.1 MB / 0.9825 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++ 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.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