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.0008781/0.0008784, allocations: 90.05 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.001033/0.001032, allocations: 178.2 kB / 16.92 MB, free: 6.652 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.383/1.383, allocations: 223.3 MB / 241 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.777/2.777, allocations: 462.6 MB / 0.737 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005241/0.0005242, allocations: 13.72 kB / 0.9034 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3417, allocations: 159.6 MB / 1.059 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.0008024/0.3426, allocations: 266.2 kB / 1.06 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001621/0.3442, allocations: 1.12 MB / 1.061 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.728e-05/0.3443, allocations: 0 / 1.061 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.668e-05/0.3444, allocations: 0 / 1.061 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.382e-05/0.3444, allocations: 4 kB / 1.061 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004012/0.3448, allocations: 139.7 kB / 1.061 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.629e-05/0.3449, allocations: 19.91 kB / 1.061 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.286e-05/0.3449, allocations: 0 / 1.061 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.588e-05/0.345, allocations: 4 kB / 1.061 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.476e-05/0.345, allocations: 19.92 kB / 1.061 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.345, allocations: 0 / 1.061 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003315/0.3454, allocations: 179.7 kB / 1.061 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.961e-05/0.3454, allocations: 8 kB / 1.061 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.823e-05/0.3455, allocations: 29.7 kB / 1.061 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.3457, allocations: 135.8 kB / 1.061 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3457, allocations: 4 kB / 1.061 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.634e-06/0.3457, allocations: 0 / 1.061 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.848e-06/0.3457, allocations: 0 / 1.061 GB, free: 3.059 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.0003508/0.3461, allocations: 363.4 kB / 1.062 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.3461, allocations: 11.97 kB / 1.062 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.802e-05/0.3462, allocations: 80.22 kB / 1.062 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.3463, allocations: 243.8 kB / 1.062 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.562e-05/0.3464, allocations: 150.9 kB / 1.062 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.933e-05/0.3465, allocations: 158.9 kB / 1.062 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.3466, allocations: 109.1 kB / 1.062 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/0.3466, allocations: 75.28 kB / 1.062 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.519e-05/0.3467, allocations: 158.5 kB / 1.062 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.7e-05/0.3468, allocations: 150.6 kB / 1.063 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.224e-05/0.3468, allocations: 162.5 kB / 1.063 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002805/0.3471, allocations: 445.9 kB / 1.063 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.027e-05/0.3472, allocations: 169.1 kB / 1.063 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.936e-05/0.3472, allocations: 80.14 kB / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.3473, allocations: 79.28 kB / 1.064 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.235e-05/0.3473, allocations: 113.7 kB / 1.064 GB, free: 400 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.3473, allocations: 0 / 1.064 GB, free: 400 kB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.708e-05/0.3474, allocations: 37.64 kB / 1.064 GB, free: 356 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/0.3475, allocations: 126.7 kB / 1.064 GB, free: 216 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.3476, allocations: 97.84 kB / 1.064 GB, free: 108 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.3476, allocations: 33.69 kB / 1.064 GB, free: 68 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.283e-05/0.3477, allocations: 92.05 kB / 1.064 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.206e-06/0.3477, allocations: 0 / 1.064 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.196e-05/0.3477, allocations: 13.66 kB / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.482e-05/0.3478, allocations: 310.8 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.635e-05/0.3478, allocations: 11.98 kB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.522e-05/0.3479, allocations: 8 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.768e-05/0.3479, allocations: 20.84 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.3479, allocations: 0 / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001318/0.3481, allocations: 65.66 kB / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.3481, allocations: 4 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.3481, allocations: 0 / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.3481, allocations: 0 / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.3481, allocations: 0 / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.3481, allocations: 3.984 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.677e-05/0.3482, allocations: 4 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.3482, allocations: 4 kB / 1.064 GB, free: 15.51 MB / 0.8262 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.311e-05/0.3483, allocations: 185.2 kB / 1.065 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.641e-05/0.3484, allocations: 112.9 kB / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.285e-05/0.3485, allocations: 108.1 kB / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.757e-05/0.3485, allocations: 180.3 kB / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.327e-05/0.3486, allocations: 180.2 kB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.768e-05/0.3486, allocations: 184.3 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002085/0.3489, allocations: 405.2 kB / 1.066 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.187e-05/0.3489, allocations: 105 kB / 1.066 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.865e-05/0.349, allocations: 108.9 kB / 1.066 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.34e-05/0.349, allocations: 180.2 kB / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-05/0.3491, allocations: 180.2 kB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.755e-05/0.3492, allocations: 180.2 kB / 1.066 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.985e-05/0.3493, allocations: 184.5 kB / 1.067 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.3494, allocations: 303.8 kB / 1.067 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.688e-05/0.3495, allocations: 190 kB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.282e-05/0.3495, allocations: 180.2 kB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.506e-05/0.3496, allocations: 113 kB / 1.067 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.562e-05/0.3497, allocations: 176.3 kB / 1.068 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.44e-05/0.3497, allocations: 108.9 kB / 1.068 GB, free: 12 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.355e-05/0.3498, allocations: 79.28 kB / 1.068 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3498, allocations: 3.938 kB / 1.068 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003101/0.3501, allocations: 67.83 kB / 1.068 GB, free: 11.85 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.0006749/0.3508, allocations: 378.4 kB / 1.068 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.932e-05/0.3509, allocations: 12 kB / 1.068 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3509, allocations: 0 / 1.068 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.889e-06/0.3509, allocations: 8 kB / 1.068 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004219/0.3513, allocations: 0.5297 MB / 1.069 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000368/0.3517, allocations: 192 kB / 1.069 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.352, allocations: 0.677 MB / 1.07 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.207e-05/0.3521, allocations: 15.44 kB / 1.07 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.3521, allocations: 0 / 1.07 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of Templates: time 0.003419/0.3555, allocations: 1.535 MB / 1.071 GB, free: 8.508 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