Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Python_3_8.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|yR1.1.|yR2.1.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject") translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|yR1.1.|yR2.1.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 100.1 kB / 15.88 MB, free: 12 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.001297/0.001298, allocations: 195.2 kB / 16.79 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.761/2.761, allocations: 461.8 MB / 0.7348 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 63.81 kB / 0.899 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2948, allocations: 157.4 MB / 1.053 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.002154/0.297, allocations: 0.6006 MB / 1.053 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001703/0.2987, allocations: 1.132 MB / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.101e-05/0.2988, allocations: 0 / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.605e-05/0.2989, allocations: 3.984 kB / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.149e-05/0.299, allocations: 4 kB / 1.054 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005092/0.2995, allocations: 131.7 kB / 1.055 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.068e-05/0.2996, allocations: 15.97 kB / 1.055 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.484e-05/0.2996, allocations: 8 kB / 1.055 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.737e-05/0.2997, allocations: 7.984 kB / 1.055 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.956e-05/0.2997, allocations: 7.938 kB / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.2997, allocations: 0 / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004238/0.3002, allocations: 187.6 kB / 1.055 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.948e-05/0.3002, allocations: 4 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.891e-05/0.3002, allocations: 8 kB / 1.055 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002519/0.3005, allocations: 139.8 kB / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.3005, allocations: 0 / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.92e-07/0.3005, allocations: 0 / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.3005, allocations: 4 kB / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003992/0.3009, allocations: 371.4 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.301, allocations: 11.97 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.737e-05/0.3011, allocations: 76.22 kB / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.3012, allocations: 251.9 kB / 1.056 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.203e-05/0.3013, allocations: 150.9 kB / 1.056 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.732e-05/0.3014, allocations: 154.9 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.459e-05/0.3014, allocations: 113 kB / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.3015, allocations: 75.28 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.151e-05/0.3015, allocations: 150.6 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.248e-05/0.3016, allocations: 162.5 kB / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.46e-05/0.3017, allocations: 150.6 kB / 1.057 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003166/0.302, allocations: 449.9 kB / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.199e-05/0.3021, allocations: 169.1 kB / 1.057 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.209e-05/0.3021, allocations: 88.14 kB / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.3021, allocations: 75.28 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.21e-05/0.3022, allocations: 113.8 kB / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.402e-06/0.3022, allocations: 0 / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 8.462e-05/0.3023, allocations: 29.69 kB / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.821e-05/0.3024, allocations: 130.6 kB / 1.058 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.3025, allocations: 109.8 kB / 1.058 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.3025, allocations: 25.7 kB / 1.058 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.394e-05/0.3026, allocations: 92.06 kB / 1.058 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-06/0.3026, allocations: 0 / 1.058 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.3026, allocations: 17.72 kB / 1.058 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.3027, allocations: 310.8 kB / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.839e-05/0.3028, allocations: 7.984 kB / 1.058 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.173e-05/0.3028, allocations: 12 kB / 1.058 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.005e-05/0.3029, allocations: 24.94 kB / 1.058 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3029, allocations: 0 / 1.058 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000139/0.303, allocations: 61.56 kB / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.303, allocations: 4 kB / 1.058 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.3031, allocations: 192 / 1.058 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.3031, allocations: 0 / 1.058 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.202e-06/0.3031, allocations: 0 / 1.058 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3031, allocations: 0 / 1.058 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.987e-05/0.3032, allocations: 11.97 kB / 1.058 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.3032, allocations: 4.031 kB / 1.058 GB, free: 2.457 MB / 0.8106 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 9.609e-05/0.3033, allocations: 189.1 kB / 1.058 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.623e-05/0.3034, allocations: 104.9 kB / 1.058 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.565e-05/0.3034, allocations: 112 kB / 1.059 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.397e-05/0.3035, allocations: 184.2 kB / 1.059 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-05/0.3036, allocations: 176.3 kB / 1.059 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.614e-05/0.3036, allocations: 188.2 kB / 1.059 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002287/0.3039, allocations: 401.2 kB / 1.059 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.219e-05/0.3039, allocations: 108.9 kB / 1.06 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.588e-05/0.304, allocations: 104.9 kB / 1.06 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-05/0.304, allocations: 180.3 kB / 1.06 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-05/0.3041, allocations: 184.2 kB / 1.06 GB, free: 448 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.52e-05/0.3042, allocations: 180.2 kB / 1.06 GB, free: 260 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.635e-05/0.3043, allocations: 180.2 kB / 1.06 GB, free: 72 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.3044, allocations: 303.8 kB / 1.061 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.843e-05/0.3045, allocations: 194 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.627e-05/0.3046, allocations: 180.3 kB / 1.061 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.344e-05/0.3047, allocations: 104.9 kB / 1.061 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.245e-05/0.3048, allocations: 184.3 kB / 1.061 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-05/0.3048, allocations: 104.9 kB / 1.061 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.533e-05/0.3048, allocations: 83.27 kB / 1.061 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3048, allocations: 3.938 kB / 1.061 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003397/0.3052, allocations: 63.89 kB / 1.062 GB, free: 14.8 MB / 0.8262 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0006858/0.3059, allocations: 376.6 kB / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.488e-05/0.306, allocations: 19.98 kB / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.306, allocations: 0 / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.294e-06/0.306, allocations: 0 / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.3064, allocations: 0.5289 MB / 1.062 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002591/0.3066, allocations: 200 kB / 1.063 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.3069, allocations: 0.6731 MB / 1.063 GB, free: 13 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.307, allocations: 15.44 kB / 1.063 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.307, allocations: 0 / 1.063 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of Templates: time 0.003498/0.3105, allocations: 1.543 MB / 1.065 GB, free: 11.45 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile clang++ -std=c++14 -fopenmp=libomp -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/Modelica 4.0.0+maint.om/Resources/C-Sources""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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/Modelica 4.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObjectCalcHelperMain.o OMCppBuildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObjectCalcHelperMain.cpp In file included from OMCppBuildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObjectCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObjectFunctions.cpp:7: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Resources/C-Sources/pythonWrapper.c:35:3: error: use of undeclared identifier 'pythonExchangeValuesNoModelica' pythonExchangeValuesNoModelica( ^ 1 error generated. make: *** [: OMCppBuildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObjectCalcHelperMain.o] Error 1