Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001108/0.001108, allocations: 105 kB / 16.41 MB, free: 6.457 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.001072/0.001072, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.42/1.42, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.241/2.241, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 63.89 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.097/1.098, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.002115/1.1, allocations: 0.5347 MB / 1.089 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00187/1.102, allocations: 1.13 MB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.262e-05/1.102, allocations: 0 / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001257/1.102, allocations: 1.719 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.88e-05/1.103, allocations: 5.031 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006865/1.103, allocations: 169.2 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001227/1.103, allocations: 15.48 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.715e-05/1.103, allocations: 6.734 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.419e-05/1.103, allocations: 14.45 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.928e-05/1.104, allocations: 9.547 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/1.104, allocations: 0.6875 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005772/1.104, allocations: 197.6 kB / 1.091 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.309e-05/1.104, allocations: 4.328 kB / 1.091 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.776e-05/1.104, allocations: 10.77 kB / 1.091 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004806/1.105, allocations: 190.7 kB / 1.091 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.156e-06/1.105, allocations: 0.5625 kB / 1.091 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.065e-06/1.105, allocations: 1.125 kB / 1.091 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.725e-06/1.105, allocations: 0 / 1.091 GB, free: 4.18 MB / 0.8575 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.0004749/1.105, allocations: 372.1 kB / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/1.105, allocations: 9.219 kB / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.408e-05/1.105, allocations: 78.19 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/1.106, allocations: 246.8 kB / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.343e-05/1.106, allocations: 160.1 kB / 1.092 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.151e-05/1.106, allocations: 156.7 kB / 1.092 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.304e-05/1.106, allocations: 111 kB / 1.092 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/1.106, allocations: 75.28 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.835e-05/1.106, allocations: 155.7 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.209e-05/1.106, allocations: 150.6 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.201e-05/1.106, allocations: 151.6 kB / 1.092 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002661/1.106, allocations: 452.5 kB / 1.093 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.55e-05/1.106, allocations: 170.2 kB / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.606e-05/1.106, allocations: 81.64 kB / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/1.106, allocations: 75.28 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/1.106, allocations: 115.3 kB / 1.093 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/1.106, allocations: 0 / 1.093 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.576e-05/1.106, allocations: 36.58 kB / 1.093 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/1.106, allocations: 128.5 kB / 1.093 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/1.107, allocations: 109.9 kB / 1.094 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/1.107, allocations: 26.7 kB / 1.094 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.396e-05/1.107, allocations: 85.2 kB / 1.094 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.496e-06/1.107, allocations: 0 / 1.094 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.842e-05/1.107, allocations: 22.11 kB / 1.094 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001577/1.107, allocations: 313.1 kB / 1.094 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.17e-05/1.107, allocations: 6.594 kB / 1.094 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.811e-05/1.107, allocations: 13.72 kB / 1.094 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.592e-05/1.107, allocations: 19.64 kB / 1.094 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/1.107, allocations: 0 / 1.094 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001635/1.107, allocations: 59.83 kB / 1.094 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/1.107, allocations: 5.156 kB / 1.094 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/1.107, allocations: 4.656 kB / 1.094 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/1.107, allocations: 1.188 kB / 1.094 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.122e-06/1.107, allocations: 3.938 kB / 1.094 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/1.107, allocations: 1.938 kB / 1.094 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.729e-05/1.107, allocations: 1.938 kB / 1.094 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/1.107, allocations: 7.188 kB / 1.094 GB, free: 16.76 MB / 0.8731 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.0001357/1.108, allocations: 184.5 kB / 1.094 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.599e-05/1.108, allocations: 106.5 kB / 1.094 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.288e-05/1.108, allocations: 115.3 kB / 1.094 GB, free: 16.35 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.435e-05/1.108, allocations: 182 kB / 1.095 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.74e-05/1.108, allocations: 181 kB / 1.095 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-05/1.108, allocations: 178.6 kB / 1.095 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002362/1.108, allocations: 402.6 kB / 1.095 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-05/1.108, allocations: 114.4 kB / 1.095 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.035e-05/1.108, allocations: 110.4 kB / 1.096 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.227e-05/1.108, allocations: 181.8 kB / 1.096 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-05/1.109, allocations: 179.1 kB / 1.096 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.86e-05/1.109, allocations: 176.8 kB / 1.096 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.93e-05/1.109, allocations: 182.3 kB / 1.096 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/1.109, allocations: 309.1 kB / 1.097 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.457e-05/1.109, allocations: 192 kB / 1.097 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/1.109, allocations: 182.8 kB / 1.097 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.855e-05/1.109, allocations: 110.3 kB / 1.097 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.473e-05/1.109, allocations: 182.3 kB / 1.097 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.475e-05/1.109, allocations: 106.6 kB / 1.097 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.934e-05/1.109, allocations: 80.2 kB / 1.097 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.109, allocations: 1.156 kB / 1.097 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000436/1.11, allocations: 59.31 kB / 1.097 GB, free: 13.18 MB / 0.8731 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.0009078/1.111, allocations: 380.5 kB / 1.098 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001195/1.111, allocations: 13.78 kB / 1.098 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/1.111, allocations: 0 / 1.098 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.555e-06/1.111, allocations: 0.9375 kB / 1.098 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/1.111, allocations: 461.9 kB / 1.098 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003124/1.112, allocations: 191.9 kB / 1.098 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/1.112, allocations: 0.6741 MB / 1.099 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/1.112, allocations: 14.3 kB / 1.099 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of SimCode: time 2.71e-07/1.112, allocations: 4.594 kB / 1.099 GB, free: 11.58 MB / 0.8731 GB Notification: Performance of Templates: time 0.005203/1.117, allocations: 1.554 MB / 1.101 GB, free: 11.41 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile make -j1 -f Buildings_9_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 9.1.3-maint.9.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/Modelica 4.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObjectCalcHelperMain.o OMCppBuildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObjectCalcHelperMain.cpp In file included from OMCppBuildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObjectCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObjectFunctions.cpp:7: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Resources/C-Sources/pythonWrapper.c:35:3: error: use of undeclared identifier 'pythonExchangeValuesNoModelica' pythonExchangeValuesNoModelica( ^ 1 error generated. make: *** [: OMCppBuildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObjectCalcHelperMain.o] Error 1