Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.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.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009168/0.0009172, 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.001317/0.001317, allocations: 182.4 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.789/1.789, allocations: 205.4 MB / 223.1 MB, free: 5.543 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.828/1.828, 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.0005603/0.0005603, allocations: 14.38 kB / 0.675 GB, free: 25.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3082, allocations: 116.3 MB / 0.7885 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002408/0.3106, allocations: 1.321 MB / 0.7898 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004482/0.3151, allocations: 3.203 MB / 0.793 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.147e-05/0.3152, allocations: 0 / 0.793 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.291e-05/0.3152, allocations: 7.875 kB / 0.793 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001104/0.3154, allocations: 15.91 kB / 0.793 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005605/0.3159, allocations: 103.6 kB / 0.7931 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.3161, allocations: 71.78 kB / 0.7932 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.3162, allocations: 8.172 kB / 0.7932 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.3164, allocations: 35.91 kB / 0.7932 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.3165, allocations: 39.78 kB / 0.7932 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.3165, allocations: 4 kB / 0.7932 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003076/0.3168, allocations: 95.83 kB / 0.7933 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.787e-05/0.3169, allocations: 15.92 kB / 0.7933 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.158e-05/0.317, allocations: 61.44 kB / 0.7934 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.3172, allocations: 80.08 kB / 0.7935 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.3172, allocations: 0 / 0.7935 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.637e-06/0.3172, allocations: 0 / 0.7935 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.3172, allocations: 0 / 0.7935 GB, free: 6.441 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006909/0.3179, allocations: 383.3 kB / 0.7938 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.318, allocations: 8.031 kB / 0.7939 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.519e-05/0.318, allocations: 8.844 kB / 0.7939 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.3182, allocations: 180.2 kB / 0.794 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.3182, allocations: 8.125 kB / 0.794 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.3182, allocations: 0 / 0.794 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002343/0.3185, allocations: 85.66 kB / 0.7941 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.3185, allocations: 0 / 0.7941 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.3185, allocations: 3.938 kB / 0.7941 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.3185, allocations: 4 kB / 0.7941 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002096/0.3188, allocations: 83.88 kB / 0.7942 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005514/0.3193, allocations: 324.8 kB / 0.7945 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00025/0.3196, allocations: 98.47 kB / 0.7946 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.3197, allocations: 52.97 kB / 0.7947 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009285/0.3207, allocations: 0.7487 MB / 0.7954 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.3207, allocations: 34.56 kB / 0.7954 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.263e-06/0.3207, allocations: 0 / 0.7954 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0004359/0.3211, allocations: 149.6 kB / 0.7956 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.3212, allocations: 55.44 kB / 0.7956 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.3213, allocations: 133.6 kB / 0.7958 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.3214, allocations: 25.7 kB / 0.7958 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.006e-05/0.3214, allocations: 88.14 kB / 0.7959 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.798e-05/0.3215, allocations: 31.55 kB / 0.7959 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.063e-05/0.3215, allocations: 17.72 kB / 0.7959 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.3217, allocations: 322.8 kB / 0.7962 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.071e-05/0.3218, allocations: 28.09 kB / 0.7962 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.993e-05/0.3219, allocations: 53.62 kB / 0.7963 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/0.3221, allocations: 85.69 kB / 0.7964 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3221, allocations: 3.938 kB / 0.7964 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000241/0.3223, allocations: 121.6 kB / 0.7965 GB, free: 3 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.3224, allocations: 7.938 kB / 0.7965 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3224, allocations: 0 / 0.7965 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.3224, allocations: 4 kB / 0.7965 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.3226, allocations: 23.92 kB / 0.7965 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.3226, allocations: 0 / 0.7965 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.958e-05/0.3227, allocations: 4 kB / 0.7965 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.3227, allocations: 8.422 kB / 0.7965 GB, free: 2.953 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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 0.000103/0.3228, allocations: 122.5 kB / 0.7967 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.341e-05/0.3228, allocations: 15.83 kB / 0.7967 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000341/0.3232, allocations: 138.1 kB / 0.7968 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.3232, allocations: 4 kB / 0.7968 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.3232, allocations: 3.938 kB / 0.7968 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3232, allocations: 0 / 0.7968 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/0.3234, allocations: 189.6 kB / 0.797 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3234, allocations: 0 / 0.797 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.3235, allocations: 15.98 kB / 0.797 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.3236, allocations: 7.938 kB / 0.797 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.3236, allocations: 0 / 0.797 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3236, allocations: 0 / 0.797 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3236, allocations: 4 kB / 0.797 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003024/0.3239, allocations: 207.4 kB / 0.7972 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.21e-05/0.3239, allocations: 88.95 kB / 0.7973 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.324, allocations: 11.92 kB / 0.7973 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.124e-05/0.3241, allocations: 8 kB / 0.7973 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.192e-05/0.3242, allocations: 11.92 kB / 0.7973 GB, free: 2.039 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.3242, allocations: 4 kB / 0.7973 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.27e-05/0.3242, allocations: 99.2 kB / 0.7974 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3242, allocations: 0 / 0.7974 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002467/0.3245, allocations: 20 kB / 0.7975 GB, free: 1.918 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 (8): * Single equations (assignments): 8 * 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.0002627/0.3248, allocations: 119.2 kB / 0.7976 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002494/0.325, allocations: 75.97 kB / 0.7976 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.325, allocations: 3.938 kB / 0.7976 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.3251, allocations: 48.03 kB / 0.7977 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.3255, allocations: 8 kB / 0.7977 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004871/0.326, allocations: 282 kB / 0.798 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.3263, allocations: 0.6926 MB / 0.7986 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.318e-05/0.3263, allocations: 15.42 kB / 0.7987 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.3264, allocations: 0 / 0.7987 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of Templates: time 0.003279/0.3296, allocations: 1.236 MB / 0.7999 GB, free: 15.39 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.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.BaseClasses.Examples.RayleighNumberCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumberCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumberCalcHelperMain.o] Error 1