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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 114.4 kB / 17.13 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002187/0.002187, allocations: 194.1 kB / 20.08 MB, free: 2.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.584/1.584, allocations: 225.6 MB / 248.5 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.764/2.764, allocations: 443.5 MB / 0.7293 GB, free: 14.51 MB / 0.5762 GB " [Timeout remaining time 176] 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=2500,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=2500,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.002294/0.002294, allocations: 75.86 kB / 1.057 GB, free: 1.941 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3667, allocations: 160.7 MB / 1.214 GB, free: 0.9219 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.002185/0.3688, allocations: 0.5504 MB / 1.215 GB, free: 380 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001844/0.3707, allocations: 1.129 MB / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.716e-05/0.3707, allocations: 0 / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.3708, allocations: 8 kB / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.816e-05/0.3709, allocations: 3.938 kB / 1.216 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006186/0.3715, allocations: 167.4 kB / 1.216 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.882e-05/0.3716, allocations: 23.86 kB / 1.216 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.028e-05/0.3716, allocations: 8 kB / 1.216 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.442e-05/0.3717, allocations: 7.984 kB / 1.216 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.748e-05/0.3717, allocations: 8 kB / 1.216 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.3717, allocations: 4 kB / 1.216 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004237/0.3722, allocations: 203.6 kB / 1.216 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.238e-05/0.3722, allocations: 0 / 1.216 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.361e-05/0.3722, allocations: 15.92 kB / 1.216 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003382/0.3726, allocations: 191.5 kB / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3726, allocations: 0 / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3726, allocations: 4 kB / 1.216 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.3726, allocations: 4 kB / 1.216 GB, free: 14.6 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.0004548/0.373, allocations: 370.9 kB / 1.217 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.3731, allocations: 8.031 kB / 1.217 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.989e-05/0.3732, allocations: 80.22 kB / 1.217 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/0.3733, allocations: 247.5 kB / 1.217 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.177e-05/0.3734, allocations: 150.9 kB / 1.217 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.932e-05/0.3735, allocations: 154.9 kB / 1.217 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.065e-05/0.3736, allocations: 113.1 kB / 1.217 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.899e-05/0.3736, allocations: 75.28 kB / 1.217 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.517e-05/0.3737, allocations: 154.6 kB / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.862e-05/0.3737, allocations: 150.6 kB / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.344e-05/0.3738, allocations: 154.5 kB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003608/0.3742, allocations: 453.9 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.757e-05/0.3743, allocations: 165.1 kB / 1.218 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.521e-05/0.3743, allocations: 84.14 kB / 1.219 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.157e-05/0.3744, allocations: 79.28 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.932e-05/0.3744, allocations: 113.8 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.3744, allocations: 0 / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 8.833e-05/0.3745, allocations: 29.64 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.801e-05/0.3746, allocations: 130.7 kB / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.3747, allocations: 105.8 kB / 1.219 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.3747, allocations: 25.7 kB / 1.219 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.343e-05/0.3748, allocations: 88.12 kB / 1.219 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.983e-06/0.3748, allocations: 0 / 1.219 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.114e-05/0.3748, allocations: 25.7 kB / 1.219 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.375, allocations: 310.8 kB / 1.219 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.901e-05/0.375, allocations: 4 kB / 1.219 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.065e-05/0.375, allocations: 15.98 kB / 1.219 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.304e-05/0.3751, allocations: 24.8 kB / 1.219 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3751, allocations: 3.938 kB / 1.219 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001486/0.3752, allocations: 61.61 kB / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.3753, allocations: 8.125 kB / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3753, allocations: 0 / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.3753, allocations: 0 / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.3753, allocations: 0 / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.3753, allocations: 0 / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.413e-05/0.3754, allocations: 4 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.3754, allocations: 4 kB / 1.22 GB, free: 11.04 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.0001332/0.3755, allocations: 185.1 kB / 1.22 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.703e-05/0.3756, allocations: 112.9 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.782e-05/0.3757, allocations: 108.1 kB / 1.22 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.012e-05/0.3757, allocations: 180.3 kB / 1.22 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.776e-05/0.3758, allocations: 180.2 kB / 1.22 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.779e-05/0.3759, allocations: 184.2 kB / 1.22 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002752/0.3762, allocations: 401.2 kB / 1.221 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.751e-05/0.3762, allocations: 105 kB / 1.221 GB, free: 9.504 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.261e-05/0.3763, allocations: 120.9 kB / 1.221 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.233e-05/0.3764, allocations: 180.2 kB / 1.221 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-05/0.3765, allocations: 176.3 kB / 1.221 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.172e-05/0.3765, allocations: 180.2 kB / 1.222 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.766e-05/0.3766, allocations: 184.3 kB / 1.222 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001647/0.3768, allocations: 311.7 kB / 1.222 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.15e-05/0.3769, allocations: 182 kB / 1.222 GB, free: 8.113 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.76e-05/0.377, allocations: 180.2 kB / 1.222 GB, free: 7.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.805e-05/0.377, allocations: 109 kB / 1.222 GB, free: 7.816 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.746e-05/0.3771, allocations: 184.5 kB / 1.223 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.815e-05/0.3772, allocations: 104.9 kB / 1.223 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.045e-05/0.3772, allocations: 83.27 kB / 1.223 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3772, allocations: 0 / 1.223 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003456/0.3776, allocations: 63.67 kB / 1.223 GB, free: 7.375 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.0008611/0.3784, allocations: 375.4 kB / 1.223 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.391e-05/0.3785, allocations: 15.98 kB / 1.223 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.3785, allocations: 0 / 1.223 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.14e-06/0.3785, allocations: 7.875 kB / 1.223 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.3789, allocations: 459.8 kB / 1.224 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003008/0.3792, allocations: 193.8 kB / 1.224 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.3795, allocations: 0.6729 MB / 1.225 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.3796, allocations: 15.42 kB / 1.225 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of SimCode: time 3.21e-07/0.3796, allocations: 0 / 1.225 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of Templates: time 0.004259/0.3839, allocations: 1.559 MB / 1.226 GB, free: 4.094 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_2/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_2/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 [Calling os._exit(0), Time elapsed: 7.96382235782221] Failed to read output from testmodel.py, exit status != 0: 0.393596573965624 0.40641991200000005 0.030950122000000004 Calling exit ...