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.001366/0.001366, 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.001611/0.001611, allocations: 194.8 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.749/1.749, allocations: 205.1 MB / 222.6 MB, free: 5.004 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.866/1.866, allocations: 292.3 MB / 0.5491 GB, free: 13.71 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.002383/0.002383, allocations: 60.73 kB / 0.6715 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3798/0.3822, allocations: 114.6 MB / 0.7833 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject): time 0.002767/0.385, allocations: 0.6094 MB / 0.7839 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00214/0.3872, allocations: 1.121 MB / 0.785 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.641e-05/0.3873, allocations: 0 / 0.785 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001333/0.3874, allocations: 4 kB / 0.785 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.5e-05/0.3876, allocations: 0 / 0.785 GB, free: 12.3 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.0007145/0.3883, allocations: 147.7 kB / 0.7852 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.349e-05/0.3884, allocations: 19.91 kB / 0.7852 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.563e-05/0.3884, allocations: 4 kB / 0.7852 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.44e-05/0.3885, allocations: 15.92 kB / 0.7852 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.243e-05/0.3885, allocations: 8 kB / 0.7852 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.3886, allocations: 3.938 kB / 0.7852 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005472/0.3891, allocations: 179.7 kB / 0.7854 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.188e-05/0.3892, allocations: 4 kB / 0.7854 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.577e-05/0.3892, allocations: 7.938 kB / 0.7854 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003495/0.3896, allocations: 131.8 kB / 0.7855 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3896, allocations: 0 / 0.7855 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.627e-06/0.3896, allocations: 0 / 0.7855 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.3896, allocations: 3.938 kB / 0.7855 GB, free: 11.79 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.0005289/0.3902, allocations: 367.6 kB / 0.7859 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.962e-05/0.3902, allocations: 12.03 kB / 0.7859 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.344e-05/0.3903, allocations: 8.844 kB / 0.7859 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.3905, allocations: 160.4 kB / 0.7861 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.3905, allocations: 12.3 kB / 0.7861 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.3905, allocations: 384 / 0.7861 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.3907, allocations: 45.8 kB / 0.7861 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.3907, allocations: 0 / 0.7861 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.3907, allocations: 0 / 0.7861 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.232e-05/0.3907, allocations: 4 kB / 0.7861 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.464e-05/0.3908, allocations: 11.98 kB / 0.7861 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000227/0.391, allocations: 153.9 kB / 0.7863 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.367e-05/0.3911, allocations: 34.53 kB / 0.7863 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.793e-05/0.3912, allocations: 12.91 kB / 0.7863 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.284e-06/0.3912, allocations: 4 kB / 0.7863 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.3912, allocations: 38.5 kB / 0.7864 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.703e-06/0.3912, allocations: 4 kB / 0.7864 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002038/0.3914, allocations: 49.69 kB / 0.7864 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/0.3915, allocations: 51.41 kB / 0.7865 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.234e-05/0.3916, allocations: 105.8 kB / 0.7866 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.3916, allocations: 25.7 kB / 0.7866 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.036e-05/0.3917, allocations: 80.14 kB / 0.7867 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.161e-05/0.3917, allocations: 7.906 kB / 0.7867 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-05/0.3918, allocations: 21.91 kB / 0.7867 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.3919, allocations: 314.8 kB / 0.787 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.424e-05/0.3919, allocations: 8 kB / 0.787 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.955e-05/0.392, allocations: 8 kB / 0.787 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.016e-05/0.392, allocations: 24.84 kB / 0.787 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.392, allocations: 0 / 0.787 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001051/0.3921, allocations: 57.61 kB / 0.7871 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.3922, allocations: 4 kB / 0.7871 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.3922, allocations: 4.094 kB / 0.7871 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.3922, allocations: 0 / 0.7871 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.941e-06/0.3922, allocations: 7.984 kB / 0.7871 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/0.3922, allocations: 3.938 kB / 0.7871 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.564e-05/0.3923, allocations: 3.938 kB / 0.7871 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.3923, allocations: 0 / 0.7871 GB, free: 9.953 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 0.0001066/0.3924, allocations: 110.5 kB / 0.7872 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.737e-05/0.3924, allocations: 3.938 kB / 0.7872 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.711e-05/0.3924, allocations: 3.125 kB / 0.7872 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/0.3925, allocations: 8 kB / 0.7872 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.3925, allocations: 3.984 kB / 0.7872 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.3925, allocations: 0 / 0.7872 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.3926, allocations: 153.7 kB / 0.7874 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3926, allocations: 0 / 0.7874 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.899e-06/0.3927, allocations: 7.938 kB / 0.7874 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.3927, allocations: 0 / 0.7874 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.3927, allocations: 3.938 kB / 0.7874 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3927, allocations: 0 / 0.7874 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3927, allocations: 0 / 0.7874 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.3928, allocations: 77.03 kB / 0.7875 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.298e-05/0.3929, allocations: 89.03 kB / 0.7876 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.3929, allocations: 0 / 0.7876 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.809e-05/0.393, allocations: 7.984 kB / 0.7876 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.393, allocations: 3.938 kB / 0.7876 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.393, allocations: 4 kB / 0.7876 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.559e-05/0.3931, allocations: 79.31 kB / 0.7876 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3931, allocations: 0 / 0.7876 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003096/0.3934, allocations: 55.98 kB / 0.7877 GB, free: 9.254 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.0007628/0.3942, allocations: 305.2 kB / 0.788 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000113/0.3943, allocations: 19.98 kB / 0.788 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.3943, allocations: 4.062 kB / 0.788 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.607e-05/0.3943, allocations: 11.98 kB / 0.788 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001734/0.3945, allocations: 3.938 kB / 0.788 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004937/0.395, allocations: 140.4 kB / 0.7882 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.3954, allocations: 0.677 MB / 0.7888 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.3955, allocations: 23.36 kB / 0.7888 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of SimCode: time 1.253e-06/0.3955, allocations: 4.062 kB / 0.7889 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of Templates: time 0.004028/0.3995, allocations: 1.646 MB / 0.7905 GB, free: 6.426 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