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.0008497/0.0008497, allocations: 100.8 kB / 15.71 MB, free: 452 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.0008998/0.0009, allocations: 175.2 kB / 16.58 MB, free: 6.422 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.779/1.779, allocations: 205.4 MB / 222.7 MB, free: 5.641 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.834/1.834, allocations: 292.7 MB / 0.5505 GB, free: 14.54 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.0005717/0.0005718, allocations: 10.22 kB / 0.6744 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3165, allocations: 116.3 MB / 0.7879 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange): time 0.0008362/0.3174, allocations: 270 kB / 0.7882 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001761/0.3191, allocations: 1.2 MB / 0.7894 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.611e-05/0.3192, allocations: 3.938 kB / 0.7894 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001105/0.3193, allocations: 0 / 0.7894 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.238e-05/0.3193, allocations: 0 / 0.7894 GB, free: 10.45 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.0005957/0.32, allocations: 263.5 kB / 0.7896 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.3201, allocations: 63.88 kB / 0.7897 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.307e-05/0.3201, allocations: 7.984 kB / 0.7897 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.723e-05/0.3202, allocations: 43.91 kB / 0.7897 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.285e-05/0.3203, allocations: 39.89 kB / 0.7898 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.3203, allocations: 4 kB / 0.7898 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003984/0.3207, allocations: 179.7 kB / 0.7899 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.135e-05/0.3207, allocations: 11.92 kB / 0.79 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.788e-05/0.3208, allocations: 33.7 kB / 0.79 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002644/0.3211, allocations: 195.7 kB / 0.7902 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.3211, allocations: 8 kB / 0.7902 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3211, allocations: 0 / 0.7902 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.3211, allocations: 0 / 0.7902 GB, free: 9.609 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.0004613/0.3216, allocations: 425.2 kB / 0.7906 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/0.3216, allocations: 12.03 kB / 0.7906 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.595e-05/0.3217, allocations: 4 kB / 0.7906 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.3218, allocations: 186.8 kB / 0.7908 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.3219, allocations: 4 kB / 0.7908 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.3219, allocations: 4 kB / 0.7908 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002286/0.3221, allocations: 125.6 kB / 0.7909 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.3221, allocations: 0 / 0.7909 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.3222, allocations: 4 kB / 0.7909 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3222, allocations: 0 / 0.7909 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.3223, allocations: 63.94 kB / 0.791 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001598/0.3225, allocations: 161.7 kB / 0.7911 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.3226, allocations: 114.5 kB / 0.7912 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.3227, allocations: 108.9 kB / 0.7913 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.736e-06/0.3228, allocations: 0 / 0.7913 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.3228, allocations: 30.56 kB / 0.7914 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 9.11e-07/0.3228, allocations: 3.938 kB / 0.7914 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0005051/0.3233, allocations: 295.1 kB / 0.7917 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.738e-05/0.3234, allocations: 89.09 kB / 0.7917 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.3235, allocations: 129.6 kB / 0.7919 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.3235, allocations: 25.7 kB / 0.7919 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.993e-05/0.3236, allocations: 88.17 kB / 0.792 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.242e-05/0.3236, allocations: 19.8 kB / 0.792 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.595e-05/0.3237, allocations: 4 kB / 0.792 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.3238, allocations: 318.8 kB / 0.7923 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.495e-05/0.3239, allocations: 59.94 kB / 0.7924 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.338e-05/0.324, allocations: 59.95 kB / 0.7924 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.3241, allocations: 89.66 kB / 0.7925 GB, free: 7 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3241, allocations: 0 / 0.7925 GB, free: 7 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003035/0.3244, allocations: 231.2 kB / 0.7927 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.921e-05/0.3245, allocations: 45.75 kB / 0.7928 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.3245, allocations: 4.188 kB / 0.7928 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.3245, allocations: 0 / 0.7928 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.455e-06/0.3245, allocations: 4 kB / 0.7928 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.3245, allocations: 0 / 0.7928 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00028/0.3248, allocations: 23.92 kB / 0.7928 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.159e-05/0.3249, allocations: 19.98 kB / 0.7928 GB, free: 6.66 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 (yI1[1],yI2[1],yI2[2]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001508/0.325, allocations: 172.1 kB / 0.793 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/0.325, allocations: 15.91 kB / 0.793 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.235e-05/0.3251, allocations: 4.375 kB / 0.793 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3251, allocations: 0 / 0.793 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3251, allocations: 0 / 0.793 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.3251, allocations: 7.984 kB / 0.793 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.3252, allocations: 169.5 kB / 0.7932 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3252, allocations: 0 / 0.7932 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.274e-06/0.3252, allocations: 3.984 kB / 0.7932 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3252, allocations: 0 / 0.7932 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/0.3253, allocations: 16 kB / 0.7932 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3253, allocations: 0 / 0.7932 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3253, allocations: 4 kB / 0.7932 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003884/0.3257, allocations: 294.4 kB / 0.7935 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.063e-05/0.3257, allocations: 89.05 kB / 0.7936 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.379e-05/0.3258, allocations: 12 kB / 0.7936 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.326, allocations: 19.97 kB / 0.7936 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.146e-05/0.326, allocations: 4 kB / 0.7936 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.943e-05/0.326, allocations: 16.36 kB / 0.7936 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.983e-05/0.3261, allocations: 99.23 kB / 0.7937 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3261, allocations: 0 / 0.7937 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003468/0.3265, allocations: 87.98 kB / 0.7938 GB, free: 5.559 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003262/0.3297, allocations: 403.8 kB / 0.7942 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000426/0.3302, allocations: 291.2 kB / 0.7944 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3302, allocations: 3.938 kB / 0.7945 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002075/0.3304, allocations: 211.4 kB / 0.7947 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001926/0.3306, allocations: 8 kB / 0.7947 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006298/0.3312, allocations: 331.2 kB / 0.795 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.3315, allocations: 0.6809 MB / 0.7956 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.708e-05/0.3316, allocations: 7.438 kB / 0.7957 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of SimCode: time 2.245e-06/0.3316, allocations: 0 / 0.7957 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of Templates: time 0.005726/0.3373, allocations: 3.303 MB / 0.7989 GB, free: 384 kB / 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++ 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/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/c/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