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.0008417/0.0008418, allocations: 92.16 kB / 16.02 MB, free: 80 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.001333/0.001333, allocations: 182.4 kB / 16.92 MB, free: 6.922 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.89/1.89, allocations: 205.4 MB / 223.1 MB, free: 5.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.939/1.939, allocations: 292.7 MB / 0.5509 GB, free: 14.49 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.0005489/0.000549, allocations: 15.06 kB / 0.675 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3205, allocations: 116.3 MB / 0.7886 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange): time 0.0009522/0.3216, allocations: 281.9 kB / 0.7888 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002103/0.3237, allocations: 1.262 MB / 0.7901 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.173e-05/0.3237, allocations: 3.938 kB / 0.7901 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00011/0.3238, allocations: 0 / 0.7901 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.52e-05/0.3239, allocations: 7.938 kB / 0.7901 GB, free: 10.03 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.000655/0.3246, allocations: 263.5 kB / 0.7903 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.3247, allocations: 75.8 kB / 0.7904 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.222e-05/0.3248, allocations: 4 kB / 0.7904 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.57e-05/0.3248, allocations: 43.91 kB / 0.7904 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.49e-05/0.3249, allocations: 35.91 kB / 0.7905 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.3249, allocations: 4 kB / 0.7905 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004575/0.3254, allocations: 211.6 kB / 0.7907 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.579e-05/0.3254, allocations: 4 kB / 0.7907 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.998e-05/0.3255, allocations: 61.55 kB / 0.7907 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002955/0.3258, allocations: 199.7 kB / 0.7909 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3258, allocations: 0 / 0.7909 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.635e-06/0.3258, allocations: 0 / 0.7909 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.3259, allocations: 0 / 0.7909 GB, free: 9.137 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.0005118/0.3264, allocations: 425.3 kB / 0.7913 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.3264, allocations: 8.031 kB / 0.7913 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.335e-05/0.3265, allocations: 12.94 kB / 0.7914 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.3266, allocations: 172.3 kB / 0.7915 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.3267, allocations: 4.375 kB / 0.7915 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.3267, allocations: 8.312 kB / 0.7915 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/0.327, allocations: 129.7 kB / 0.7917 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.327, allocations: 0 / 0.7917 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.327, allocations: 4 kB / 0.7917 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.327, allocations: 0 / 0.7917 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.3271, allocations: 63.94 kB / 0.7917 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001862/0.3273, allocations: 157.7 kB / 0.7919 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.3275, allocations: 114.6 kB / 0.792 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.3276, allocations: 104.8 kB / 0.7921 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-06/0.3277, allocations: 8 kB / 0.7921 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.3277, allocations: 34.5 kB / 0.7921 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.3277, allocations: 4 kB / 0.7921 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0005238/0.3282, allocations: 295.1 kB / 0.7924 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.423e-05/0.3283, allocations: 85.11 kB / 0.7925 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.3284, allocations: 129.7 kB / 0.7926 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.3285, allocations: 25.7 kB / 0.7926 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.153e-05/0.3285, allocations: 88.14 kB / 0.7927 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.688e-05/0.3286, allocations: 19.73 kB / 0.7927 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.02e-05/0.3286, allocations: 25.64 kB / 0.7928 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3288, allocations: 314.9 kB / 0.7931 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.3289, allocations: 67.94 kB / 0.7931 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.7e-05/0.329, allocations: 55.95 kB / 0.7932 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000222/0.3292, allocations: 180.2 kB / 0.7934 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3292, allocations: 0 / 0.7934 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003326/0.3296, allocations: 235.1 kB / 0.7936 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.789e-05/0.3297, allocations: 49.67 kB / 0.7936 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.3297, allocations: 0 / 0.7936 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.3297, allocations: 0 / 0.7936 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.482e-06/0.3297, allocations: 0 / 0.7936 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.3297, allocations: 64 / 0.7936 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002996/0.33, allocations: 35.77 kB / 0.7937 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.819e-05/0.3301, allocations: 11.98 kB / 0.7937 GB, free: 6.062 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.0001748/0.3302, allocations: 163.5 kB / 0.7938 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.219e-05/0.3303, allocations: 19.84 kB / 0.7938 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.413e-05/0.3303, allocations: 4.375 kB / 0.7938 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.3303, allocations: 0 / 0.7938 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3303, allocations: 0 / 0.7938 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.3303, allocations: 0 / 0.7938 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.3305, allocations: 177.6 kB / 0.794 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.3305, allocations: 0 / 0.794 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.495e-06/0.3305, allocations: 3.938 kB / 0.794 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.3305, allocations: 3.984 kB / 0.794 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/0.3305, allocations: 11.98 kB / 0.794 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3305, allocations: 0 / 0.794 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3305, allocations: 4 kB / 0.794 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004203/0.331, allocations: 290.8 kB / 0.7943 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.03e-05/0.331, allocations: 93.06 kB / 0.7944 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.569e-05/0.3311, allocations: 11.98 kB / 0.7944 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.3313, allocations: 15.98 kB / 0.7944 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.3313, allocations: 11.92 kB / 0.7944 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.897e-05/0.3314, allocations: 20.36 kB / 0.7945 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.249e-05/0.3314, allocations: 95.2 kB / 0.7946 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.794e-06/0.3314, allocations: 4 kB / 0.7946 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003665/0.3318, allocations: 95.83 kB / 0.7946 GB, free: 4.949 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.001/0.3328, allocations: 396.3 kB / 0.795 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004244/0.3333, allocations: 287.2 kB / 0.7953 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3333, allocations: 3.938 kB / 0.7953 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002265/0.3335, allocations: 207.3 kB / 0.7955 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001754/0.3337, allocations: 19.94 kB / 0.7955 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000673/0.3344, allocations: 334.8 kB / 0.7958 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/0.3347, allocations: 0.6809 MB / 0.7965 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.707e-05/0.3348, allocations: 11.44 kB / 0.7965 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of SimCode: time 3.11e-07/0.3348, allocations: 0 / 0.7965 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of Templates: time 0.006005/0.3408, allocations: 3.299 MB / 0.7997 GB, free: 15.76 MB / 0.6231 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