Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.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.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange") translateModel(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, 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.00147/0.00147, allocations: 192 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.825/1.825, allocations: 205.1 MB / 222.6 MB, free: 4.75 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.781/1.781, allocations: 292.3 MB / 0.5491 GB, free: 13.66 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.001427/0.001427, allocations: 62.06 kB / 0.6715 GB, free: 26.6 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3161, allocations: 114.5 MB / 0.7833 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange): time 0.00218/0.3184, allocations: 0.6104 MB / 0.7839 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002144/0.3205, allocations: 1.285 MB / 0.7852 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.133e-05/0.3206, allocations: 0 / 0.7852 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.3207, allocations: 0 / 0.7852 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.885e-05/0.3208, allocations: 7.938 kB / 0.7852 GB, free: 12.06 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Obsolete/Utilities/IO/Python27/Functions/exchange.mo:2:1-109:13:writable] Warning: Pure function ‘Buildings.Obsolete.Utilities.IO.Python27.Functions.exchange‘ contains a call to impure function ‘Modelica.Utilities.System.getEnvironmentVariable‘. Notification: Performance of NFTyping.typeClassSections: time 0.0006326/0.3214, allocations: 259.5 kB / 0.7855 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.3215, allocations: 71.81 kB / 0.7855 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.411e-05/0.3216, allocations: 7.984 kB / 0.7855 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.527e-05/0.3216, allocations: 39.91 kB / 0.7856 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.715e-05/0.3217, allocations: 39.89 kB / 0.7856 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.3217, allocations: 8 kB / 0.7856 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004251/0.3222, allocations: 207.6 kB / 0.7858 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.541e-05/0.3222, allocations: 4 kB / 0.7858 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.715e-05/0.3223, allocations: 39.83 kB / 0.7859 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002978/0.3226, allocations: 195.7 kB / 0.786 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.3226, allocations: 0 / 0.786 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3226, allocations: 0 / 0.786 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.3226, allocations: 0 / 0.786 GB, free: 11.21 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005576/0.3232, allocations: 449.3 kB / 0.7865 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.3232, allocations: 8.031 kB / 0.7865 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.626e-05/0.3233, allocations: 12.94 kB / 0.7865 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.3235, allocations: 176.3 kB / 0.7867 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.3235, allocations: 8.312 kB / 0.7867 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.3235, allocations: 8.375 kB / 0.7867 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000253/0.3238, allocations: 121.7 kB / 0.7868 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.3238, allocations: 3.938 kB / 0.7868 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/0.3239, allocations: 4 kB / 0.7868 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.3239, allocations: 0 / 0.7868 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.324, allocations: 63.94 kB / 0.7869 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002045/0.3242, allocations: 165.7 kB / 0.787 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.3244, allocations: 110.5 kB / 0.7871 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.3245, allocations: 108.9 kB / 0.7872 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-06/0.3246, allocations: 0 / 0.7872 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.3246, allocations: 34.5 kB / 0.7873 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 8.21e-07/0.3246, allocations: 0 / 0.7873 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0005766/0.3252, allocations: 291.1 kB / 0.7875 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.123e-05/0.3253, allocations: 97.12 kB / 0.7876 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.3254, allocations: 117.8 kB / 0.7877 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.946e-05/0.3254, allocations: 33.64 kB / 0.7878 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.244e-05/0.3255, allocations: 92.06 kB / 0.7879 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.025e-05/0.3256, allocations: 15.81 kB / 0.7879 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.824e-05/0.3256, allocations: 41.69 kB / 0.7879 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.3258, allocations: 318.8 kB / 0.7882 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.3259, allocations: 60.12 kB / 0.7883 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.326, allocations: 67.95 kB / 0.7883 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002398/0.3263, allocations: 180.2 kB / 0.7885 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3263, allocations: 0 / 0.7885 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003737/0.3267, allocations: 235.1 kB / 0.7887 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.658e-05/0.3267, allocations: 41.69 kB / 0.7888 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.3268, allocations: 0 / 0.7888 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.3268, allocations: 0 / 0.7888 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.079e-06/0.3268, allocations: 7.922 kB / 0.7888 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.3268, allocations: 0 / 0.7888 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003761/0.3272, allocations: 31.89 kB / 0.7888 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.204e-05/0.3272, allocations: 11.98 kB / 0.7888 GB, free: 8.086 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: 3 (yI2[2],yI2[1],yI1[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * 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.0001675/0.3274, allocations: 163.5 kB / 0.789 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.457e-05/0.3275, allocations: 19.92 kB / 0.789 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.794e-05/0.3275, allocations: 8.75 kB / 0.789 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.3275, allocations: 0 / 0.789 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.3275, allocations: 0 / 0.789 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3275, allocations: 0 / 0.789 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.3277, allocations: 177.5 kB / 0.7892 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3277, allocations: 4 kB / 0.7892 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.066e-06/0.3277, allocations: 3.938 kB / 0.7892 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3277, allocations: 0 / 0.7892 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.068e-05/0.3277, allocations: 11.98 kB / 0.7892 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3277, allocations: 0 / 0.7892 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3278, allocations: 4 kB / 0.7892 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004442/0.3282, allocations: 290.6 kB / 0.7895 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.737e-05/0.3283, allocations: 81.05 kB / 0.7896 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.877e-05/0.3283, allocations: 15.95 kB / 0.7896 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.3285, allocations: 19.98 kB / 0.7896 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.3286, allocations: 11.98 kB / 0.7896 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-05/0.3286, allocations: 15.98 kB / 0.7896 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.356e-05/0.3287, allocations: 91.27 kB / 0.7897 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3287, allocations: 3.938 kB / 0.7897 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003675/0.329, allocations: 91.98 kB / 0.7898 GB, free: 6.984 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: 3 (yI1[1],yI2[1],yI2[2]) * Number of discrete states: 3 (yI2[2],yI2[1],yI1[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.003075/0.3321, allocations: 407 kB / 0.7902 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004987/0.3326, allocations: 291.2 kB / 0.7905 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3327, allocations: 0 / 0.7905 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002294/0.3329, allocations: 203.3 kB / 0.7907 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.3331, allocations: 15.94 kB / 0.7907 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007658/0.3339, allocations: 335.6 kB / 0.791 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.3343, allocations: 0.6886 MB / 0.7917 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.699e-05/0.3343, allocations: 11.44 kB / 0.7917 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of SimCode: time 7.92e-07/0.3343, allocations: 0 / 0.7917 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of Templates: time 0.00597/0.3403, allocations: 3.3 MB / 0.7949 GB, free: 1.789 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.makefile make -j1 -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeCalcHelperMain.o OMCppBuildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeCalcHelperMain.o] Error 1