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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001914/0.001914, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001974/0.001974, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.41/1.41, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.915/2.915, allocations: 482.4 MB / 0.7553 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 64.39 kB / 0.9245 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8424/0.8445, allocations: 162.2 MB / 1.083 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.00206/0.8467, allocations: 0.5435 MB / 1.083 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001552/0.8482, allocations: 1.126 MB / 1.085 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.497e-05/0.8483, allocations: 1 kB / 1.085 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.719e-05/0.8484, allocations: 5.594 kB / 1.085 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.854e-05/0.8484, allocations: 0 / 1.085 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005312/0.849, allocations: 173.5 kB / 1.085 GB, free: 460 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.49e-05/0.8491, allocations: 16 kB / 1.085 GB, free: 456 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.498e-05/0.8491, allocations: 6.547 kB / 1.085 GB, free: 452 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.634e-05/0.8491, allocations: 6.969 kB / 1.085 GB, free: 452 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.286e-05/0.8492, allocations: 17.12 kB / 1.085 GB, free: 440 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.8492, allocations: 1.5 kB / 1.085 GB, free: 440 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004029/0.8496, allocations: 175 kB / 1.085 GB, free: 380 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.116e-05/0.8497, allocations: 11.48 kB / 1.085 GB, free: 372 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.176e-05/0.8497, allocations: 8.203 kB / 1.085 GB, free: 368 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003359/0.8501, allocations: 190 kB / 1.085 GB, free: 308 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.8501, allocations: 1.25 kB / 1.085 GB, free: 308 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.402e-06/0.8501, allocations: 0 / 1.085 GB, free: 308 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.8501, allocations: 0.7031 kB / 1.085 GB, free: 308 kB / 0.8262 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.0003879/0.8505, allocations: 363.3 kB / 1.085 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.8505, allocations: 11.27 kB / 1.085 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.295e-05/0.8506, allocations: 77.47 kB / 1.086 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.8508, allocations: 239.8 kB / 1.086 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.852e-05/0.8509, allocations: 157.4 kB / 1.086 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.636e-05/0.851, allocations: 155.9 kB / 1.086 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.359e-05/0.8511, allocations: 114.9 kB / 1.086 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.793e-05/0.8511, allocations: 75.28 kB / 1.086 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.736e-05/0.8512, allocations: 151.3 kB / 1.086 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.568e-05/0.8513, allocations: 155.8 kB / 1.087 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.8e-05/0.8513, allocations: 150.6 kB / 1.087 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003652/0.8517, allocations: 457 kB / 1.087 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.8518, allocations: 171.1 kB / 1.087 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.371e-05/0.8519, allocations: 88.08 kB / 1.087 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.8519, allocations: 75.84 kB / 1.087 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.829e-05/0.852, allocations: 115.6 kB / 1.088 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.852, allocations: 0 / 1.088 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 8.384e-05/0.8521, allocations: 28.41 kB / 1.088 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.052e-05/0.8521, allocations: 130.6 kB / 1.088 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.8523, allocations: 107.2 kB / 1.088 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.8523, allocations: 27.11 kB / 1.088 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.795e-05/0.8524, allocations: 82.44 kB / 1.088 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.385e-06/0.8524, allocations: 0 / 1.088 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.229e-05/0.8524, allocations: 16.17 kB / 1.088 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.8526, allocations: 316.9 kB / 1.088 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.188e-05/0.8526, allocations: 7.922 kB / 1.088 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.929e-05/0.8527, allocations: 8.891 kB / 1.088 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.996e-05/0.8527, allocations: 23.92 kB / 1.088 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.8527, allocations: 0 / 1.088 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001506/0.8529, allocations: 59.88 kB / 1.088 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.8529, allocations: 7.406 kB / 1.088 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.8529, allocations: 0.7969 kB / 1.088 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.8529, allocations: 0.5625 kB / 1.088 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.853, allocations: 4.906 kB / 1.088 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.853, allocations: 0 / 1.088 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.853e-05/0.853, allocations: 3.125 kB / 1.088 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/0.8531, allocations: 7.141 kB / 1.088 GB, free: 12.9 MB / 0.8419 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.0001214/0.8532, allocations: 188.6 kB / 1.089 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.435e-05/0.8533, allocations: 115 kB / 1.089 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.777e-05/0.8533, allocations: 110 kB / 1.089 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.3e-05/0.8534, allocations: 178.1 kB / 1.089 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.529e-05/0.8535, allocations: 178.2 kB / 1.089 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8e-05/0.8536, allocations: 186.2 kB / 1.089 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002575/0.8539, allocations: 401.7 kB / 1.09 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.485e-05/0.8539, allocations: 106.6 kB / 1.09 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.99e-05/0.854, allocations: 107.1 kB / 1.09 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.417e-05/0.8541, allocations: 178.3 kB / 1.09 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.368e-05/0.8541, allocations: 193.9 kB / 1.09 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.462e-05/0.8542, allocations: 178.3 kB / 1.09 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.04e-05/0.8543, allocations: 189.6 kB / 1.091 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.8545, allocations: 304.6 kB / 1.091 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.803e-05/0.8546, allocations: 189.9 kB / 1.091 GB, free: 10 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.351e-05/0.8547, allocations: 182.6 kB / 1.091 GB, free: 9.816 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.185e-05/0.8548, allocations: 109.6 kB / 1.091 GB, free: 9.703 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.643e-05/0.8549, allocations: 178 kB / 1.091 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.524e-05/0.8549, allocations: 106.4 kB / 1.092 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.265e-05/0.855, allocations: 80.86 kB / 1.092 GB, free: 9.34 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.855, allocations: 0 / 1.092 GB, free: 9.34 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003671/0.8554, allocations: 63.91 kB / 1.092 GB, free: 9.316 MB / 0.8419 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.0008679/0.8562, allocations: 382 kB / 1.092 GB, free: 9.082 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 9.182e-05/0.8563, allocations: 14.91 kB / 1.092 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.8563, allocations: 0 / 1.092 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.234e-06/0.8564, allocations: 1.219 kB / 1.092 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003935/0.8567, allocations: 455.8 kB / 1.093 GB, free: 8.633 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000277/0.857, allocations: 199.7 kB / 1.093 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.8573, allocations: 0.6747 MB / 1.093 GB, free: 7.723 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.768e-05/0.8574, allocations: 13.58 kB / 1.093 GB, free: 7.715 MB / 0.8419 GB Notification: Performance of SimCode: time 3.5e-07/0.8574, allocations: 0 / 1.093 GB, free: 7.715 MB / 0.8419 GB Notification: Performance of Templates: time 0.004157/0.8616, allocations: 1.558 MB / 1.095 GB, free: 7.539 MB / 0.8419 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 12.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 12.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 12.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