Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.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.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, 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.001817/0.001817, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.803/1.803, 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.881/1.881, allocations: 292.7 MB / 0.5509 GB, free: 14.45 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.000575/0.000575, allocations: 13.28 kB / 0.675 GB, free: 25.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3521, allocations: 116.3 MB / 0.7886 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004116/0.3563, allocations: 2.567 MB / 0.7911 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003808/0.3601, allocations: 2.21 MB / 0.7932 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002105/0.3604, allocations: 4 kB / 0.7932 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00104/0.3614, allocations: 247.1 kB / 0.7935 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000188/0.3616, allocations: 63.48 kB / 0.7935 GB, free: 6.418 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/HeatExchangers/DXCoils/BaseClasses/Functions/warnIfPerformanceOutOfBounds.mo:2:1-41:33:writable] Warning: Pure function ‘Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Functions.warnIfPerformanceOutOfBounds‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.3628, allocations: 439 kB / 0.7939 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006016/0.3634, allocations: 498.5 kB / 0.7944 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002018/0.3636, allocations: 44.72 kB / 0.7945 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001916/0.3638, allocations: 179.5 kB / 0.7946 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002585/0.3641, allocations: 199.3 kB / 0.7948 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.366e-05/0.3642, allocations: 24 kB / 0.7948 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003867/0.3646, allocations: 243.6 kB / 0.7951 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001818/0.3648, allocations: 143.6 kB / 0.7952 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000226/0.365, allocations: 232.6 kB / 0.7954 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006478/0.3656, allocations: 0.5649 MB / 0.796 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.3657, allocations: 0 / 0.796 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.171e-06/0.3657, allocations: 7.984 kB / 0.796 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.3657, allocations: 0 / 0.796 GB, free: 3.879 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001534/0.3672, allocations: 0.7663 MB / 0.7967 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.979e-05/0.3673, allocations: 8.031 kB / 0.7968 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002247/0.3696, allocations: 248.1 kB / 0.797 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006662/0.3702, allocations: 429.9 kB / 0.7974 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001623/0.3704, allocations: 87.94 kB / 0.7975 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.186e-05/0.3705, allocations: 11.94 kB / 0.7975 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.372, allocations: 0.5672 MB / 0.798 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.372, allocations: 0 / 0.798 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.756e-05/0.372, allocations: 4 kB / 0.7981 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.3721, allocations: 7.984 kB / 0.7981 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002399/0.3745, allocations: 0.8119 MB / 0.7989 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002718/0.3772, allocations: 1.288 MB / 0.8001 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00572/0.3829, allocations: 1.092 MB / 0.8012 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001135/0.3841, allocations: 424.6 kB / 0.8016 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.26e-05/0.3842, allocations: 8 kB / 0.8016 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001486/0.3856, allocations: 0.5574 MB / 0.8021 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=21): time 5.841e-06/0.3857, allocations: 0 / 0.8021 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of matching and sorting (n=21): time 0.003879/0.3896, allocations: 1.257 MB / 0.8034 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.3897, allocations: 59.41 kB / 0.8034 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008333/0.3905, allocations: 0.5213 MB / 0.8039 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.043e-05/0.3906, allocations: 33.7 kB / 0.804 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.00022/0.3908, allocations: 204.4 kB / 0.8042 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.391, allocations: 71.09 kB / 0.8042 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.104e-05/0.3911, allocations: 25.64 kB / 0.8042 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002345/0.3913, allocations: 362.8 kB / 0.8046 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001311/0.3926, allocations: 496.5 kB / 0.8051 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00141/0.394, allocations: 0.5208 MB / 0.8056 GB, free: 9.816 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002378/0.3964, allocations: 0.813 MB / 0.8064 GB, free: 8.996 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.3965, allocations: 0 / 0.8064 GB, free: 8.996 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.003252/0.3997, allocations: 1.135 MB / 0.8075 GB, free: 7.848 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001014/0.3998, allocations: 53.56 kB / 0.8075 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.3999, allocations: 0 / 0.8075 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.242e-05/0.3999, allocations: 0 / 0.8075 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006984/0.4006, allocations: 107.9 kB / 0.8076 GB, free: 7.684 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.4006, allocations: 0 / 0.8076 GB, free: 7.684 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006247/0.4013, allocations: 79.83 kB / 0.8077 GB, free: 7.605 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.187e-05/0.4013, allocations: 11.98 kB / 0.8077 GB, free: 7.594 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],cooCap.stage,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005643/0.4019, allocations: 217.6 kB / 0.8079 GB, free: 7.371 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.402, allocations: 43.47 kB / 0.808 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001461/0.4022, allocations: 51.91 kB / 0.808 GB, free: 7.273 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.4022, allocations: 8 kB / 0.808 GB, free: 7.266 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.4022, allocations: 0 / 0.808 GB, free: 7.266 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.4022, allocations: 0 / 0.808 GB, free: 7.266 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.4033, allocations: 0.6455 MB / 0.8087 GB, free: 6.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.4033, allocations: 0 / 0.8087 GB, free: 6.57 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006321/0.4039, allocations: 99.89 kB / 0.8088 GB, free: 6.473 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.824e-06/0.4039, allocations: 3.938 kB / 0.8088 GB, free: 6.469 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.533e-05/0.404, allocations: 11.98 kB / 0.8088 GB, free: 6.457 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.404, allocations: 3.938 kB / 0.8088 GB, free: 6.453 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.404, allocations: 0 / 0.8088 GB, free: 6.453 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002672/0.4067, allocations: 0.8898 MB / 0.8096 GB, free: 5.547 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000334/0.407, allocations: 200.3 kB / 0.8098 GB, free: 5.332 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.166e-05/0.4071, allocations: 11.98 kB / 0.8098 GB, free: 5.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006138/0.4077, allocations: 83.92 kB / 0.8099 GB, free: 5.238 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.4079, allocations: 19.97 kB / 0.8099 GB, free: 5.219 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.576e-05/0.4079, allocations: 23.97 kB / 0.81 GB, free: 5.195 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005336/0.4085, allocations: 387.1 kB / 0.8103 GB, free: 4.82 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4085, allocations: 0 / 0.8103 GB, free: 4.82 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004747/0.4089, allocations: 100 kB / 0.8104 GB, free: 4.723 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,cooCap.stage,cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * Number of discrete states: 3 (cooCap.stage,cooCap.checkBoundsTEva[cooCap.stage],cooCap.checkBoundsTCon[cooCap.stage]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005382/0.4095, allocations: 163.9 kB / 0.8106 GB, free: 4.562 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002532/0.412, allocations: 0.9948 MB / 0.8116 GB, free: 3.555 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4121, allocations: 0 / 0.8116 GB, free: 3.555 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.4132, allocations: 443.6 kB / 0.812 GB, free: 3.121 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005572/0.4138, allocations: 89.84 kB / 0.8121 GB, free: 3.035 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002592/0.4164, allocations: 1.211 MB / 0.8132 GB, free: 1.793 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005848/0.417, allocations: 0.8544 MB / 0.8141 GB, free: 0.9102 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00025/0.4172, allocations: 51.39 kB / 0.8141 GB, free: 0.8594 MB / 0.6231 GB Notification: Performance of SimCode: time 4.91e-07/0.4172, allocations: 0 / 0.8141 GB, free: 0.8594 MB / 0.6231 GB Notification: Performance of Templates: time 0.01258/0.4298, allocations: 7.678 MB / 0.8216 GB, free: 9.234 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.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.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooledCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooledCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooledCalcHelperMain.o] Error 1