Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001969/0.001969, allocations: 215.2 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.524/1.524, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.31/3.31, allocations: 0.4892 GB / 0.7951 GB, free: 35.58 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|yR1.1.|yR2.1.",fileNamePrefix="Buildings_12_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=2500,variableFilter="time|yR1.1.|yR2.1.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 65.16 kB / 1.154 GB, free: 25.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3459, allocations: 176.1 MB / 1.326 GB, free: 1.898 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.002073/0.348, allocations: 0.538 MB / 1.327 GB, free: 1.367 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002049/0.35, allocations: 1.204 MB / 1.328 GB, free: 160 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.788e-05/0.35, allocations: 0 / 1.328 GB, free: 160 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 9.572e-05/0.3501, allocations: 7.938 kB / 1.328 GB, free: 152 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.003e-05/0.3502, allocations: 3.938 kB / 1.328 GB, free: 148 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007202/0.3509, allocations: 187.4 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.947e-05/0.351, allocations: 15.98 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.031e-05/0.351, allocations: 0 / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.773e-05/0.351, allocations: 7.984 kB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.687e-05/0.3511, allocations: 8 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.3511, allocations: 0 / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004487/0.3516, allocations: 219.6 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.412e-05/0.3516, allocations: 7.938 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.288e-05/0.3516, allocations: 0 / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004208/0.352, allocations: 195.5 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.3521, allocations: 8 kB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3521, allocations: 0 / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.3521, allocations: 0 / 1.329 GB, free: 15.51 MB / 1.029 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.0004333/0.3525, allocations: 301.7 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.3525, allocations: 8.031 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.53e-05/0.3526, allocations: 80.22 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.3528, allocations: 181.8 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.943e-05/0.3528, allocations: 150.9 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.15e-05/0.3529, allocations: 154.9 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.421e-05/0.353, allocations: 109.1 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.798e-05/0.3531, allocations: 75.28 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.532e-05/0.3531, allocations: 158.6 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.468e-05/0.3532, allocations: 150.6 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.869e-05/0.3533, allocations: 158.5 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003185/0.3536, allocations: 393.6 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.3537, allocations: 173.1 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.903e-05/0.3537, allocations: 80.14 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.261e-05/0.3538, allocations: 83.25 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.955e-05/0.3539, allocations: 109.8 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.3539, allocations: 3.938 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.767e-05/0.3539, allocations: 33.64 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.978e-05/0.354, allocations: 130.7 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.3542, allocations: 105.8 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.3542, allocations: 29.69 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.235e-05/0.3542, allocations: 84.09 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.226e-06/0.3542, allocations: 0 / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.552e-05/0.3543, allocations: 21.72 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.3544, allocations: 310.8 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.896e-05/0.3545, allocations: 7.984 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.395e-05/0.3545, allocations: 67.39 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.394e-05/0.3546, allocations: 28.73 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3546, allocations: 4.094 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001386/0.3547, allocations: 53.69 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.3548, allocations: 11.92 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.3548, allocations: 0 / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.3548, allocations: 0 / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.3548, allocations: 0 / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.3548, allocations: 0 / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.974e-05/0.3549, allocations: 4 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.3549, allocations: 4 kB / 1.332 GB, free: 12.11 MB / 1.029 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.0001171/0.355, allocations: 185.7 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.941e-05/0.3551, allocations: 116.8 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.52e-05/0.3552, allocations: 104.1 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.555e-05/0.3552, allocations: 176.3 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.175e-05/0.3553, allocations: 192.2 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-05/0.3554, allocations: 176.3 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.3557, allocations: 360.8 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.873e-05/0.3557, allocations: 101 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.776e-05/0.3558, allocations: 112.9 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.837e-05/0.3559, allocations: 176.3 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.712e-05/0.356, allocations: 184.2 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.278e-05/0.3561, allocations: 188.2 kB / 1.334 GB, free: 9.957 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.352e-05/0.3561, allocations: 176.3 kB / 1.334 GB, free: 9.777 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000189/0.3563, allocations: 303.8 kB / 1.334 GB, free: 9.457 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.972e-05/0.3564, allocations: 112.9 kB / 1.334 GB, free: 9.34 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.849e-05/0.3565, allocations: 184.1 kB / 1.334 GB, free: 9.152 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.065e-05/0.3566, allocations: 101 kB / 1.335 GB, free: 9.047 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.572e-05/0.3567, allocations: 188.2 kB / 1.335 GB, free: 8.855 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.975e-05/0.3567, allocations: 101 kB / 1.335 GB, free: 8.75 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.176e-05/0.3568, allocations: 83.27 kB / 1.335 GB, free: 8.668 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3568, allocations: 0 / 1.335 GB, free: 8.668 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000376/0.3572, allocations: 67.61 kB / 1.335 GB, free: 8.602 MB / 1.029 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.001026/0.3582, allocations: 393 kB / 1.335 GB, free: 8.281 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001166/0.3583, allocations: 12 kB / 1.335 GB, free: 8.27 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.3583, allocations: 8 kB / 1.335 GB, free: 8.262 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.3583, allocations: 0 / 1.335 GB, free: 8.262 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000419/0.3587, allocations: 462 kB / 1.336 GB, free: 7.809 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002949/0.359, allocations: 197.9 kB / 1.336 GB, free: 7.582 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.736e-05/0.3591, allocations: 59.34 kB / 1.336 GB, free: 7.504 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.3592, allocations: 11.44 kB / 1.336 GB, free: 7.492 MB / 1.029 GB Notification: Performance of SimCode: time 4.41e-07/0.3592, allocations: 0 / 1.336 GB, free: 7.492 MB / 1.029 GB Notification: Performance of Templates: time 0.003637/0.3628, allocations: 1.565 MB / 1.338 GB, free: 5.934 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile [Timeout 300] make -j1 -f Buildings_12_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 -DOMC_BUILD -DUSE_THREAD -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.1.0+maint.om/Resources/C-Sources""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.1.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObjectCalcHelperMain.o OMCppBuildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObjectCalcHelperMain.cpp In file included from OMCppBuildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObjectCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObjectFunctions.cpp:7: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/Resources/C-Sources/pythonWrapper.c:35:3: error: use of undeclared identifier 'pythonExchangeValuesNoModelica' pythonExchangeValuesNoModelica( ^ 1 error generated. make: *** [: OMCppBuildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObjectCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 8.56769951293245] Failed to read output from testmodel.py, exit status != 0: 0.37104049092158675 0.386783772 0.031458001 Calling exit ...