Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 103.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002609/0.002609, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 225.6 MB / 249.9 MB, free: 3.23 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.723/2.723, allocations: 443.5 MB / 0.731 GB, free: 13.98 MB / 0.5762 GB [Timeout remaining time 86] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=500,variableFilter="time|yR1.1.|yR2.1.",fileNamePrefix="Buildings_10_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=500,variableFilter="time|yR1.1.|yR2.1.",fileNamePrefix="Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 59.91 kB / 1.06 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3326, allocations: 160.7 MB / 1.217 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.0018/0.3344, allocations: 0.54 MB / 1.217 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001747/0.3362, allocations: 1.169 MB / 1.218 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.461e-05/0.3362, allocations: 0 / 1.218 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.3363, allocations: 15.92 kB / 1.218 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.412e-05/0.3363, allocations: 0 / 1.218 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005489/0.3369, allocations: 171.3 kB / 1.218 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.385e-05/0.337, allocations: 23.98 kB / 1.218 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.137e-05/0.337, allocations: 7.984 kB / 1.218 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.421e-05/0.337, allocations: 4 kB / 1.218 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.074e-05/0.3371, allocations: 7.984 kB / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.3371, allocations: 4 kB / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004114/0.3375, allocations: 203.6 kB / 1.219 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.083e-05/0.3376, allocations: 7.922 kB / 1.219 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.656e-05/0.3376, allocations: 4 kB / 1.219 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003185/0.3379, allocations: 187.5 kB / 1.219 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3379, allocations: 0 / 1.219 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3379, allocations: 7.938 kB / 1.219 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.3379, allocations: 4 kB / 1.219 GB, free: 13.2 MB / 0.9669 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.000459/0.3384, allocations: 378.9 kB / 1.219 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.3384, allocations: 8.031 kB / 1.219 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.944e-05/0.3385, allocations: 84.22 kB / 1.219 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.3387, allocations: 243.7 kB / 1.219 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.858e-05/0.3388, allocations: 150.9 kB / 1.22 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.607e-05/0.3388, allocations: 158.9 kB / 1.22 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.248e-05/0.3389, allocations: 109 kB / 1.22 GB, free: 12 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.795e-05/0.339, allocations: 79.27 kB / 1.22 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.39e-05/0.339, allocations: 150.6 kB / 1.22 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-05/0.3391, allocations: 150.6 kB / 1.22 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.74e-05/0.3392, allocations: 154.5 kB / 1.22 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003556/0.3395, allocations: 453.9 kB / 1.221 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.3396, allocations: 173.1 kB / 1.221 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.731e-05/0.3397, allocations: 80.14 kB / 1.221 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.644e-05/0.3397, allocations: 79.28 kB / 1.221 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.24e-05/0.3398, allocations: 117.7 kB / 1.221 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.3398, allocations: 0 / 1.221 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 8.236e-05/0.3399, allocations: 29.69 kB / 1.221 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.854e-05/0.34, allocations: 126.7 kB / 1.221 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.3401, allocations: 105.8 kB / 1.222 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.3401, allocations: 25.7 kB / 1.222 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.389e-05/0.3401, allocations: 80.14 kB / 1.222 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-06/0.3401, allocations: 0 / 1.222 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.435e-05/0.3402, allocations: 33.69 kB / 1.222 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.3403, allocations: 314.8 kB / 1.222 GB, free: 9.762 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.838e-05/0.3404, allocations: 7.984 kB / 1.222 GB, free: 9.754 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.921e-05/0.3404, allocations: 8 kB / 1.222 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.876e-05/0.3405, allocations: 28.78 kB / 1.222 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.3405, allocations: 0 / 1.222 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001563/0.3406, allocations: 53.62 kB / 1.222 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.3406, allocations: 8.125 kB / 1.222 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3406, allocations: 0 / 1.222 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.3407, allocations: 0 / 1.222 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.3407, allocations: 0 / 1.222 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.3407, allocations: 0 / 1.222 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.21e-05/0.3407, allocations: 7.984 kB / 1.222 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.3408, allocations: 4 kB / 1.222 GB, free: 9.637 MB / 0.9669 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.0001205/0.3409, allocations: 185.1 kB / 1.222 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.561e-05/0.341, allocations: 112.9 kB / 1.222 GB, free: 9.328 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.678e-05/0.341, allocations: 108.1 kB / 1.222 GB, free: 9.215 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.892e-05/0.3411, allocations: 184.2 kB / 1.223 GB, free: 9.027 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.544e-05/0.3412, allocations: 176.3 kB / 1.223 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.729e-05/0.3413, allocations: 184.3 kB / 1.223 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002708/0.3416, allocations: 401.2 kB / 1.223 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.563e-05/0.3416, allocations: 105 kB / 1.223 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.163e-05/0.3417, allocations: 116.9 kB / 1.224 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.882e-05/0.3417, allocations: 180.3 kB / 1.224 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.424e-05/0.3418, allocations: 176.3 kB / 1.224 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.792e-05/0.3419, allocations: 188.1 kB / 1.224 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.032e-05/0.342, allocations: 184.3 kB / 1.224 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/0.3422, allocations: 311.7 kB / 1.225 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.817e-05/0.3423, allocations: 186 kB / 1.225 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.966e-05/0.3424, allocations: 180.2 kB / 1.225 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.414e-05/0.3424, allocations: 101 kB / 1.225 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.945e-05/0.3425, allocations: 188.2 kB / 1.225 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-05/0.3426, allocations: 105 kB / 1.225 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.852e-05/0.3426, allocations: 83.27 kB / 1.225 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3426, allocations: 0 / 1.225 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003501/0.343, allocations: 63.67 kB / 1.225 GB, free: 5.969 MB / 0.9669 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.0008607/0.3439, allocations: 390.8 kB / 1.226 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.541e-05/0.344, allocations: 11.94 kB / 1.226 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.344, allocations: 0 / 1.226 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.344, allocations: 0 / 1.226 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.3444, allocations: 463.8 kB / 1.226 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002775/0.3446, allocations: 196.3 kB / 1.226 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.345, allocations: 0.6768 MB / 1.227 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.3451, allocations: 11.44 kB / 1.227 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of SimCode: time 4.51e-07/0.3451, allocations: 0 / 1.227 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of Templates: time 0.003748/0.3488, allocations: 1.553 MB / 1.229 GB, free: 2.684 MB / 0.9669 GB [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile [Timeout 300] make -j1 -f Buildings_10_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 10.1.1-maint.10.0.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 10.1.1-maint.10.0.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObjectCalcHelperMain.o OMCppBuildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObjectCalcHelperMain.cpp In file included from OMCppBuildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObjectCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObjectFunctions.cpp:7: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/pythonWrapper.c:35:3: error: use of undeclared identifier 'pythonExchangeValuesNoModelica' pythonExchangeValuesNoModelica( ^ 1 error generated. make: *** [: OMCppBuildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObjectCalcHelperMain.o] Error 1