Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.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.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 96.14 kB / 15.87 MB, free: 16 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.001417/0.001417, allocations: 193.8 kB / 16.79 MB, free: 6.812 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.738/1.738, allocations: 205.1 MB / 222.6 MB, free: 5.02 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.829/1.829, allocations: 292.3 MB / 0.5491 GB, free: 13.7 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.001368/0.001368, allocations: 62.08 kB / 0.6715 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3135, allocations: 114.6 MB / 0.7833 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.003025/0.3166, allocations: 1.345 MB / 0.7847 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001344/0.3179, allocations: 0.7707 MB / 0.7854 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.625e-05/0.318, allocations: 0 / 0.7854 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.066e-05/0.318, allocations: 0 / 0.7854 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.994e-05/0.3181, allocations: 7.922 kB / 0.7854 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003239/0.3184, allocations: 76 kB / 0.7855 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.426e-05/0.3185, allocations: 19.92 kB / 0.7855 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.384e-05/0.3185, allocations: 0 / 0.7855 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.46e-05/0.3186, allocations: 4 kB / 0.7855 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.419e-05/0.3186, allocations: 11.92 kB / 0.7855 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.3187, allocations: 0 / 0.7855 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004078/0.3191, allocations: 153 kB / 0.7857 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.386e-05/0.3191, allocations: 4 kB / 0.7857 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.223e-05/0.3191, allocations: 11.94 kB / 0.7857 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001586/0.3193, allocations: 72.11 kB / 0.7857 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.3193, allocations: 0 / 0.7857 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.183e-06/0.3193, allocations: 0 / 0.7857 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.3193, allocations: 3.938 kB / 0.7858 GB, free: 11.56 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004239/0.3198, allocations: 335.5 kB / 0.7861 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.3198, allocations: 8.031 kB / 0.7861 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.374e-05/0.3199, allocations: 4.875 kB / 0.7861 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.3201, allocations: 168.3 kB / 0.7862 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.737e-06/0.3201, allocations: 4.375 kB / 0.7863 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.3201, allocations: 8.125 kB / 0.7863 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.3202, allocations: 33.69 kB / 0.7863 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.3202, allocations: 0 / 0.7863 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.3202, allocations: 4 kB / 0.7863 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.3203, allocations: 0 / 0.7863 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.323e-05/0.3203, allocations: 11.98 kB / 0.7863 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000213/0.3205, allocations: 145.7 kB / 0.7864 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.3207, allocations: 42.55 kB / 0.7865 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.437e-05/0.3207, allocations: 16.86 kB / 0.7865 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001794/0.3225, allocations: 0.6533 MB / 0.7871 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.3225, allocations: 34.56 kB / 0.7872 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 3.797e-06/0.3225, allocations: 3.984 kB / 0.7872 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0001866/0.3227, allocations: 53.62 kB / 0.7872 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.3228, allocations: 51.41 kB / 0.7873 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.99e-05/0.3229, allocations: 97.8 kB / 0.7874 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.3229, allocations: 29.83 kB / 0.7874 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.347e-05/0.3229, allocations: 80.14 kB / 0.7875 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.907e-05/0.323, allocations: 15.8 kB / 0.7875 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.323, allocations: 17.7 kB / 0.7875 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.3232, allocations: 310.8 kB / 0.7878 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.076e-05/0.3232, allocations: 8 kB / 0.7878 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.231e-05/0.3232, allocations: 4 kB / 0.7878 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.958e-05/0.3233, allocations: 16.86 kB / 0.7878 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3233, allocations: 4 kB / 0.7878 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.001e-05/0.3234, allocations: 53.56 kB / 0.7879 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3234, allocations: 4 kB / 0.7879 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3234, allocations: 0 / 0.7879 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.3234, allocations: 0 / 0.7879 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.812e-05/0.3235, allocations: 7.984 kB / 0.7879 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3235, allocations: 0 / 0.7879 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.432e-05/0.3235, allocations: 0 / 0.7879 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.3235, allocations: 4 kB / 0.7879 GB, free: 9.066 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 8.706e-05/0.3236, allocations: 105.8 kB / 0.788 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.308e-06/0.3236, allocations: 7.938 kB / 0.788 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001402/0.3238, allocations: 61.12 kB / 0.7881 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3238, allocations: 0 / 0.7881 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3238, allocations: 3.938 kB / 0.7881 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3238, allocations: 0 / 0.7881 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.3239, allocations: 157.5 kB / 0.7882 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3239, allocations: 4 kB / 0.7882 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.562e-05/0.324, allocations: 7.984 kB / 0.7882 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.324, allocations: 0 / 0.7882 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.324, allocations: 12 kB / 0.7882 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.324, allocations: 0 / 0.7882 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.324, allocations: 0 / 0.7882 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.497e-05/0.3241, allocations: 69.06 kB / 0.7883 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.246e-05/0.3242, allocations: 81.02 kB / 0.7884 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.3242, allocations: 0 / 0.7884 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.159e-05/0.3242, allocations: 0 / 0.7884 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.291e-05/0.3242, allocations: 4.422 kB / 0.7884 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.3242, allocations: 7.938 kB / 0.7884 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.301e-05/0.3243, allocations: 87.27 kB / 0.7885 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3243, allocations: 3.938 kB / 0.7885 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002346/0.3245, allocations: 24 kB / 0.7885 GB, free: 8.332 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003017/0.3248, allocations: 131.3 kB / 0.7886 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.373e-05/0.3249, allocations: 15.98 kB / 0.7886 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3249, allocations: 0 / 0.7886 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.7e-05/0.325, allocations: 8 kB / 0.7887 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.3252, allocations: 3.938 kB / 0.7887 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002942/0.3255, allocations: 141.4 kB / 0.7888 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.3258, allocations: 0.677 MB / 0.7895 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.007e-05/0.3259, allocations: 19.44 kB / 0.7895 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.3259, allocations: 0 / 0.7895 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of Templates: time 0.002483/0.3283, allocations: 0.9047 MB / 0.7904 GB, free: 6.371 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.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.CoolingTowers.Correlations.Examples.YorkCalcCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalcCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalcCalcHelperMain.o] Error 1