Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001657/0.001657, allocations: 105 kB / 15.98 MB, free: 6.348 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.00184/0.00184, allocations: 195.4 kB / 16.91 MB, free: 6.188 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.415/1.415, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.702/2.702, allocations: 469.8 MB / 0.7427 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 64.08 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.323, allocations: 159.2 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001858/0.3249, allocations: 0.5928 MB / 1.065 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001574/0.3265, allocations: 1.113 MB / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.782e-05/0.3266, allocations: 0 / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.3267, allocations: 3.984 kB / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.972e-05/0.3267, allocations: 4 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004556/0.3272, allocations: 147.7 kB / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.318e-05/0.3273, allocations: 16 kB / 1.066 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.73e-05/0.3273, allocations: 11.92 kB / 1.066 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.555e-05/0.3273, allocations: 4 kB / 1.066 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.672e-05/0.3274, allocations: 11.92 kB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.3274, allocations: 4 kB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003382/0.3277, allocations: 175.7 kB / 1.066 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.16e-05/0.3278, allocations: 4 kB / 1.066 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.193e-05/0.3278, allocations: 19.92 kB / 1.066 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.328, allocations: 127.8 kB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.328, allocations: 0 / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3281, allocations: 0 / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.3281, allocations: 4 kB / 1.066 GB, free: 12.88 MB / 0.8419 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.0004026/0.3285, allocations: 367.5 kB / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.3285, allocations: 12.03 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.098e-05/0.3286, allocations: 76.22 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.3288, allocations: 243.9 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.485e-05/0.3288, allocations: 158.9 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.887e-05/0.3289, allocations: 154.9 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.942e-05/0.329, allocations: 105.1 kB / 1.067 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.348e-05/0.329, allocations: 75.28 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.501e-05/0.3291, allocations: 154.6 kB / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.234e-05/0.3292, allocations: 154.6 kB / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.592e-05/0.3293, allocations: 150.6 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000349/0.3296, allocations: 465.8 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.3297, allocations: 165.1 kB / 1.068 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.844e-05/0.3298, allocations: 80.14 kB / 1.069 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.728e-05/0.3298, allocations: 79.27 kB / 1.069 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.006e-05/0.3299, allocations: 113.8 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.3299, allocations: 0 / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 8.206e-05/0.33, allocations: 37.55 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.389e-05/0.3301, allocations: 126.7 kB / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.3302, allocations: 109.8 kB / 1.069 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.3302, allocations: 29.7 kB / 1.069 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.995e-05/0.3303, allocations: 84.14 kB / 1.069 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-06/0.3303, allocations: 0 / 1.069 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.841e-05/0.3303, allocations: 17.72 kB / 1.069 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.3305, allocations: 314.8 kB / 1.069 GB, free: 9.449 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.569e-05/0.3305, allocations: 7.984 kB / 1.069 GB, free: 9.441 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.996e-05/0.3305, allocations: 12 kB / 1.069 GB, free: 9.43 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.919e-05/0.3306, allocations: 20.84 kB / 1.069 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3306, allocations: 0 / 1.069 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001428/0.3307, allocations: 57.56 kB / 1.07 GB, free: 9.344 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.3307, allocations: 8.125 kB / 1.07 GB, free: 9.336 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.3308, allocations: 3.984 kB / 1.07 GB, free: 9.332 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.3308, allocations: 4 kB / 1.07 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.3308, allocations: 0 / 1.07 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.3308, allocations: 0 / 1.07 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.57e-05/0.3309, allocations: 3.984 kB / 1.07 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.3309, allocations: 4 kB / 1.07 GB, free: 9.32 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.0001072/0.331, allocations: 185.1 kB / 1.07 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.946e-05/0.3311, allocations: 108.9 kB / 1.07 GB, free: 9.016 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.585e-05/0.3311, allocations: 112 kB / 1.07 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.596e-05/0.3312, allocations: 180.3 kB / 1.07 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-05/0.3313, allocations: 184.2 kB / 1.07 GB, free: 8.527 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.004e-05/0.3314, allocations: 180.3 kB / 1.07 GB, free: 8.344 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002634/0.3317, allocations: 409.2 kB / 1.071 GB, free: 7.887 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.603e-05/0.3317, allocations: 104.9 kB / 1.071 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.045e-05/0.3318, allocations: 104.9 kB / 1.071 GB, free: 7.668 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.329e-05/0.3319, allocations: 184.2 kB / 1.071 GB, free: 7.48 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.038e-05/0.3319, allocations: 180.3 kB / 1.071 GB, free: 7.297 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.526e-05/0.332, allocations: 176.3 kB / 1.072 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.94e-05/0.3321, allocations: 184.2 kB / 1.072 GB, free: 6.93 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.3323, allocations: 311.7 kB / 1.072 GB, free: 6.602 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.684e-05/0.3324, allocations: 182 kB / 1.072 GB, free: 6.398 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.143e-05/0.3325, allocations: 180.3 kB / 1.072 GB, free: 6.215 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.239e-05/0.3326, allocations: 112.9 kB / 1.073 GB, free: 6.098 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.211e-05/0.3327, allocations: 180.3 kB / 1.073 GB, free: 5.914 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.852e-05/0.3327, allocations: 112.8 kB / 1.073 GB, free: 5.797 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.938e-05/0.3328, allocations: 79.28 kB / 1.073 GB, free: 5.719 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3328, allocations: 0 / 1.073 GB, free: 5.719 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003078/0.3331, allocations: 55.98 kB / 1.073 GB, free: 5.664 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.0009242/0.334, allocations: 390 kB / 1.073 GB, free: 5.336 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 7.62e-05/0.3341, allocations: 12 kB / 1.073 GB, free: 5.324 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3341, allocations: 0 / 1.073 GB, free: 5.324 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.707e-06/0.3341, allocations: 3.984 kB / 1.073 GB, free: 5.32 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.3345, allocations: 466.5 kB / 1.074 GB, free: 4.863 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002652/0.3348, allocations: 194 kB / 1.074 GB, free: 4.641 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.3351, allocations: 0.6768 MB / 1.075 GB, free: 3.938 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.708e-05/0.3352, allocations: 15.42 kB / 1.075 GB, free: 3.922 MB / 0.8419 GB Notification: Performance of SimCode: time 2.8e-07/0.3352, allocations: 0 / 1.075 GB, free: 3.922 MB / 0.8419 GB Notification: Performance of Templates: time 0.003278/0.3385, allocations: 1.547 MB / 1.076 GB, free: 2.379 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile make -j1 -f Buildings_11_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.1.0-maint.11.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 11.1.0-maint.11.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObjectCalcHelperMain.o OMCppBuildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObjectCalcHelperMain.cpp In file included from OMCppBuildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObjectCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObjectFunctions.cpp:7: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/Resources/C-Sources/pythonWrapper.c:35:3: error: use of undeclared identifier 'pythonExchangeValuesNoModelica' pythonExchangeValuesNoModelica( ^ 1 error generated. make: *** [: OMCppBuildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObjectCalcHelperMain.o] Error 1