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.001248/0.001248, allocations: 101.8 kB / 16.41 MB, free: 6.512 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.001236/0.001236, allocations: 189.5 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.19 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.235/2.235, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 63.91 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.056/1.057, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001942/1.059, allocations: 0.5347 MB / 1.089 GB, free: 5.203 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001689/1.061, allocations: 1.137 MB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.655e-05/1.061, allocations: 0 / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001104/1.061, allocations: 2.25 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.299e-05/1.061, allocations: 1.062 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005274/1.062, allocations: 168.9 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.694e-05/1.062, allocations: 12.08 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.944e-05/1.062, allocations: 9.75 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.773e-05/1.062, allocations: 11 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.672e-05/1.062, allocations: 9.703 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/1.062, allocations: 1.062 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004292/1.062, allocations: 201.2 kB / 1.091 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.166e-05/1.062, allocations: 3.875 kB / 1.091 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.969e-05/1.062, allocations: 10.7 kB / 1.091 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003392/1.063, allocations: 191.3 kB / 1.091 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/1.063, allocations: 1.766 kB / 1.091 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.144e-06/1.063, allocations: 0 / 1.091 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.041e-06/1.063, allocations: 0 / 1.091 GB, free: 4.172 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.0003481/1.063, allocations: 371.7 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/1.063, allocations: 10.02 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.234e-05/1.063, allocations: 78.22 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/1.063, allocations: 242.6 kB / 1.091 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/1.063, allocations: 155.8 kB / 1.092 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.415e-05/1.063, allocations: 153.1 kB / 1.092 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.835e-05/1.064, allocations: 113.7 kB / 1.092 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/1.064, allocations: 80.19 kB / 1.092 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/1.064, allocations: 155.1 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.233e-05/1.064, allocations: 151.8 kB / 1.092 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.463e-05/1.064, allocations: 150.6 kB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002063/1.064, allocations: 453.7 kB / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.013e-05/1.064, allocations: 170.2 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.696e-05/1.064, allocations: 80.14 kB / 1.093 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/1.064, allocations: 77.02 kB / 1.093 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/1.064, allocations: 109.8 kB / 1.093 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/1.064, allocations: 5.281 kB / 1.093 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.214e-05/1.064, allocations: 32.48 kB / 1.093 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/1.064, allocations: 130.7 kB / 1.093 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.771e-05/1.064, allocations: 107.2 kB / 1.094 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/1.064, allocations: 30.77 kB / 1.094 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.576e-05/1.064, allocations: 85.52 kB / 1.094 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.086e-06/1.064, allocations: 0 / 1.094 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/1.064, allocations: 17.77 kB / 1.094 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001164/1.064, allocations: 316.8 kB / 1.094 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.672e-05/1.064, allocations: 6.672 kB / 1.094 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.215e-05/1.065, allocations: 13.91 kB / 1.094 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.21e-05/1.065, allocations: 23.83 kB / 1.094 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/1.065, allocations: 0 / 1.094 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001334/1.065, allocations: 55.38 kB / 1.094 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/1.065, allocations: 7.594 kB / 1.094 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/1.065, allocations: 0.9062 kB / 1.094 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/1.065, allocations: 8.453 kB / 1.094 GB, free: 16.76 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.693e-06/1.065, allocations: 4.906 kB / 1.094 GB, free: 16.76 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/1.065, allocations: 0.5156 kB / 1.094 GB, free: 16.76 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.945e-05/1.065, allocations: 6.906 kB / 1.094 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/1.065, allocations: 3.156 kB / 1.094 GB, free: 16.75 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 9.763e-05/1.065, allocations: 184.7 kB / 1.094 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.246e-05/1.065, allocations: 107.3 kB / 1.094 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.516e-05/1.065, allocations: 114 kB / 1.094 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.443e-05/1.065, allocations: 182 kB / 1.095 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-05/1.065, allocations: 177.7 kB / 1.095 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.395e-05/1.065, allocations: 182 kB / 1.095 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/1.066, allocations: 403.3 kB / 1.095 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-05/1.066, allocations: 114.5 kB / 1.095 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.929e-05/1.066, allocations: 106.8 kB / 1.096 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.829e-05/1.066, allocations: 177.6 kB / 1.096 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.185e-05/1.066, allocations: 181.9 kB / 1.096 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.624e-05/1.066, allocations: 177.8 kB / 1.096 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-05/1.066, allocations: 181.8 kB / 1.096 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/1.066, allocations: 305.8 kB / 1.097 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.391e-05/1.066, allocations: 195.8 kB / 1.097 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.066e-05/1.066, allocations: 183.1 kB / 1.097 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.878e-05/1.066, allocations: 106.5 kB / 1.097 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.073e-05/1.066, allocations: 181.7 kB / 1.097 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.618e-05/1.066, allocations: 102.6 kB / 1.097 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.653e-05/1.066, allocations: 80.95 kB / 1.097 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/1.066, allocations: 0 / 1.097 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003529/1.067, allocations: 60 kB / 1.097 GB, free: 13.19 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.000769/1.068, allocations: 388.9 kB / 1.098 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 9.194e-05/1.068, allocations: 10.09 kB / 1.098 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/1.068, allocations: 0 / 1.098 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.264e-06/1.068, allocations: 0.5625 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.0003351/1.068, allocations: 458 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.000253/1.068, allocations: 192.4 kB / 1.098 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/1.068, allocations: 0.6739 MB / 1.099 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/1.069, allocations: 18.45 kB / 1.099 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of SimCode: time 3.21e-07/1.069, allocations: 3.938 kB / 1.099 GB, free: 11.58 MB / 0.8731 GB Notification: Performance of Templates: time 0.004189/1.073, allocations: 1.556 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