Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.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.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject") translateModel(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008819/0.0008816, allocations: 92.7 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.001068/0.001068, allocations: 180.3 kB / 16.92 MB, free: 6.652 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.928/1.928, allocations: 205.4 MB / 223.1 MB, free: 5.777 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.875/1.875, allocations: 292.7 MB / 0.5509 GB, free: 14.48 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.000579/0.0005791, allocations: 15.22 kB / 0.675 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3216, allocations: 116.3 MB / 0.7886 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject): time 0.0007175/0.3223, allocations: 274 kB / 0.7888 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001581/0.3239, allocations: 1.114 MB / 0.7899 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.734e-06/0.324, allocations: 0 / 0.7899 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.646e-05/0.324, allocations: 4 kB / 0.7899 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.123e-05/0.324, allocations: 0 / 0.7899 GB, free: 10.18 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.0003616/0.3244, allocations: 143.7 kB / 0.7901 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.842e-05/0.3245, allocations: 15.98 kB / 0.7901 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.948e-05/0.3245, allocations: 0 / 0.7901 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.745e-05/0.3246, allocations: 19.92 kB / 0.7901 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.223e-05/0.3246, allocations: 11.92 kB / 0.7901 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.3246, allocations: 0 / 0.7901 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003209/0.325, allocations: 171.7 kB / 0.7903 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.199e-05/0.325, allocations: 7.984 kB / 0.7903 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.37e-05/0.3251, allocations: 37.62 kB / 0.7903 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.3253, allocations: 131.8 kB / 0.7904 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3253, allocations: 0 / 0.7904 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3253, allocations: 0 / 0.7904 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.3253, allocations: 0 / 0.7904 GB, free: 9.645 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004005/0.3257, allocations: 367.5 kB / 0.7908 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.3258, allocations: 8.031 kB / 0.7908 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.359e-05/0.3258, allocations: 8.844 kB / 0.7908 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.3259, allocations: 164.4 kB / 0.791 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.3259, allocations: 384 / 0.791 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.326, allocations: 384 / 0.791 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.3261, allocations: 49.75 kB / 0.791 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.3261, allocations: 0 / 0.791 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.3261, allocations: 0 / 0.791 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.583e-05/0.3262, allocations: 7.984 kB / 0.791 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.927e-05/0.3262, allocations: 11.98 kB / 0.791 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001804/0.3264, allocations: 154 kB / 0.7912 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.999e-05/0.3264, allocations: 22.61 kB / 0.7912 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.699e-05/0.3265, allocations: 24.84 kB / 0.7912 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.647e-06/0.3265, allocations: 3.938 kB / 0.7912 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.3265, allocations: 38.5 kB / 0.7913 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.3265, allocations: 0 / 0.7913 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001617/0.3267, allocations: 57.67 kB / 0.7913 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.3268, allocations: 59.33 kB / 0.7914 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.902e-05/0.3268, allocations: 97.8 kB / 0.7915 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.3269, allocations: 29.7 kB / 0.7915 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.484e-05/0.3269, allocations: 80.14 kB / 0.7916 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.3269, allocations: 3.906 kB / 0.7916 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.31e-05/0.327, allocations: 13.97 kB / 0.7916 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.3271, allocations: 318.8 kB / 0.7919 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.131e-05/0.3272, allocations: 7.984 kB / 0.7919 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.569e-05/0.3272, allocations: 7.938 kB / 0.7919 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.538e-05/0.3272, allocations: 20.84 kB / 0.7919 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3272, allocations: 0 / 0.7919 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.864e-05/0.3273, allocations: 53.62 kB / 0.792 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.3273, allocations: 8 kB / 0.792 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3273, allocations: 4.094 kB / 0.792 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.3274, allocations: 0 / 0.792 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.3274, allocations: 0 / 0.792 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.3274, allocations: 3.984 kB / 0.792 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.245e-05/0.3274, allocations: 0 / 0.792 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.3274, allocations: 8 kB / 0.792 GB, free: 7.82 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 (2): * Single equations (assignments): 0 * Array equations: 2 * 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.335e-05/0.3275, allocations: 106.5 kB / 0.7921 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.089e-05/0.3275, allocations: 11.88 kB / 0.7921 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.5e-05/0.3276, allocations: 3.125 kB / 0.7921 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.3276, allocations: 4 kB / 0.7921 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3276, allocations: 4 kB / 0.7921 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.3276, allocations: 3.984 kB / 0.7921 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.3277, allocations: 153.7 kB / 0.7923 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3277, allocations: 0 / 0.7923 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.687e-06/0.3277, allocations: 7.922 kB / 0.7923 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.3277, allocations: 0 / 0.7923 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.3277, allocations: 4 kB / 0.7923 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.249e-05/0.3278, allocations: 0 / 0.7923 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3278, allocations: 3.938 kB / 0.7923 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/0.3279, allocations: 77.03 kB / 0.7924 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.592e-05/0.3279, allocations: 89.03 kB / 0.7924 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.328, allocations: 0 / 0.7924 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.402e-05/0.328, allocations: 0 / 0.7924 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.717e-05/0.328, allocations: 4 kB / 0.7924 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.3281, allocations: 0 / 0.7924 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.991e-05/0.3281, allocations: 79.28 kB / 0.7925 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3281, allocations: 8.062 kB / 0.7925 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002575/0.3284, allocations: 59.97 kB / 0.7926 GB, free: 7.113 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 (2): * Single equations (assignments): 0 * Array equations: 2 * 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.0006366/0.329, allocations: 298.4 kB / 0.7929 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.083e-05/0.3291, allocations: 19.98 kB / 0.7929 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.3291, allocations: 8.062 kB / 0.7929 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.071e-05/0.3292, allocations: 7.984 kB / 0.7929 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001434/0.3293, allocations: 7.938 kB / 0.7929 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003714/0.3297, allocations: 136.4 kB / 0.793 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.33, allocations: 0.677 MB / 0.7937 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.07e-05/0.3301, allocations: 23.42 kB / 0.7937 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.3301, allocations: 64 / 0.7937 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of Templates: time 0.003711/0.3338, allocations: 1.654 MB / 0.7953 GB, free: 4.289 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.makefile make -j1 -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.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.ExchangeWithPassPythonObjectCalcHelperMain.o OMCppBuildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObjectCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObjectCalcHelperMain.o] Error 1