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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001438/0.001437, allocations: 105 kB / 16.41 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.424/1.424, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.703/2.703, allocations: 469.4 MB / 0.7428 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 71.91 kB / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.037/1.038, allocations: 159.1 MB / 1.221 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.00207/1.04, allocations: 0.533 MB / 1.221 GB, free: 1.82 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001691/1.042, allocations: 1.128 MB / 1.222 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.521e-05/1.042, allocations: 4 kB / 1.222 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001099/1.042, allocations: 7.984 kB / 1.223 GB, free: 0.6719 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.739e-05/1.042, allocations: 7.938 kB / 1.223 GB, free: 0.6641 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006178/1.043, allocations: 167.4 kB / 1.223 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.883e-05/1.043, allocations: 15.94 kB / 1.223 GB, free: 496 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.135e-05/1.043, allocations: 3.984 kB / 1.223 GB, free: 492 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.99e-05/1.043, allocations: 8 kB / 1.223 GB, free: 484 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.417e-05/1.043, allocations: 7.938 kB / 1.223 GB, free: 476 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/1.043, allocations: 4 kB / 1.223 GB, free: 472 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000441/1.044, allocations: 195.7 kB / 1.223 GB, free: 276 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.389e-05/1.044, allocations: 12 kB / 1.223 GB, free: 264 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.404e-05/1.044, allocations: 4 kB / 1.223 GB, free: 260 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003571/1.044, allocations: 195.6 kB / 1.223 GB, free: 64 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/1.044, allocations: 0 / 1.223 GB, free: 64 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.433e-06/1.044, allocations: 0 / 1.223 GB, free: 64 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.526e-06/1.044, allocations: 4 kB / 1.223 GB, free: 60 kB / 0.9356 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.0004619/1.045, allocations: 363.5 kB / 1.223 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/1.045, allocations: 8.625 kB / 1.223 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.018e-05/1.045, allocations: 80.12 kB / 1.224 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/1.045, allocations: 247.5 kB / 1.224 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.384e-05/1.045, allocations: 150.9 kB / 1.224 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.121e-05/1.045, allocations: 158.9 kB / 1.224 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.729e-05/1.045, allocations: 113.1 kB / 1.224 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.072e-05/1.045, allocations: 75.28 kB / 1.224 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.204e-05/1.045, allocations: 154.6 kB / 1.224 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.882e-05/1.045, allocations: 150.6 kB / 1.225 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.373e-05/1.045, allocations: 150.6 kB / 1.225 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003356/1.046, allocations: 449.9 kB / 1.225 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.751e-05/1.046, allocations: 169.1 kB / 1.225 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.958e-05/1.046, allocations: 85.11 kB / 1.225 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.951e-05/1.046, allocations: 75.28 kB / 1.225 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.966e-05/1.046, allocations: 117.8 kB / 1.226 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.243e-06/1.046, allocations: 0 / 1.226 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 8.687e-05/1.046, allocations: 37.62 kB / 1.226 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.345e-05/1.046, allocations: 126.7 kB / 1.226 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/1.046, allocations: 113.8 kB / 1.226 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/1.046, allocations: 25.7 kB / 1.226 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.989e-05/1.046, allocations: 80.14 kB / 1.226 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-06/1.046, allocations: 0 / 1.226 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/1.046, allocations: 21.7 kB / 1.226 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001254/1.046, allocations: 318.8 kB / 1.226 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.747e-05/1.046, allocations: 4 kB / 1.226 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.003e-05/1.047, allocations: 19.98 kB / 1.226 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.302e-05/1.047, allocations: 20.86 kB / 1.226 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.047, allocations: 0 / 1.226 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001477/1.047, allocations: 61.55 kB / 1.226 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/1.047, allocations: 4 kB / 1.226 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/1.047, allocations: 0 / 1.226 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/1.047, allocations: 0 / 1.226 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/1.047, allocations: 0 / 1.226 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/1.047, allocations: 0 / 1.226 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.642e-05/1.047, allocations: 12.03 kB / 1.226 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/1.047, allocations: 0 / 1.226 GB, free: 12.51 MB / 0.9512 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.0001132/1.047, allocations: 189.6 kB / 1.227 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.373e-05/1.047, allocations: 108.9 kB / 1.227 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.252e-05/1.047, allocations: 112 kB / 1.227 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.741e-05/1.047, allocations: 176.3 kB / 1.227 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.705e-05/1.047, allocations: 184.2 kB / 1.227 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.319e-05/1.047, allocations: 180.4 kB / 1.227 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002358/1.048, allocations: 401.2 kB / 1.228 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-05/1.048, allocations: 105 kB / 1.228 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.996e-05/1.048, allocations: 120.9 kB / 1.228 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.267e-05/1.048, allocations: 180.2 kB / 1.228 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.335e-05/1.048, allocations: 180.3 kB / 1.228 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.662e-05/1.048, allocations: 180.3 kB / 1.228 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-05/1.048, allocations: 184.2 kB / 1.229 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/1.048, allocations: 299.8 kB / 1.229 GB, free: 9.793 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.828e-05/1.048, allocations: 198 kB / 1.229 GB, free: 9.574 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.819e-05/1.048, allocations: 176.3 kB / 1.229 GB, free: 9.395 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.707e-05/1.048, allocations: 108.9 kB / 1.229 GB, free: 9.281 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.517e-05/1.049, allocations: 180.3 kB / 1.229 GB, free: 9.098 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-05/1.049, allocations: 108.9 kB / 1.23 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.355e-05/1.049, allocations: 83.28 kB / 1.23 GB, free: 8.902 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.01e-07/1.049, allocations: 4 kB / 1.23 GB, free: 8.898 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003336/1.049, allocations: 55.98 kB / 1.23 GB, free: 8.844 MB / 0.9512 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.0007124/1.05, allocations: 384.5 kB / 1.23 GB, free: 8.52 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001036/1.05, allocations: 15.92 kB / 1.23 GB, free: 8.504 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.05, allocations: 0 / 1.23 GB, free: 8.504 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.953e-06/1.05, allocations: 0 / 1.23 GB, free: 8.504 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/1.05, allocations: 463.6 kB / 1.231 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002771/1.051, allocations: 189.9 kB / 1.231 GB, free: 7.828 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/1.051, allocations: 0.6729 MB / 1.231 GB, free: 7.129 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.75e-05/1.051, allocations: 15.42 kB / 1.231 GB, free: 7.113 MB / 0.9512 GB Notification: Performance of SimCode: time 4.11e-07/1.051, allocations: 0 / 1.231 GB, free: 7.113 MB / 0.9512 GB Notification: Performance of Templates: time 0.00365/1.055, allocations: 1.557 MB / 1.233 GB, free: 5.562 MB / 0.9512 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++17 -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.1-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.1-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.1-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