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.001661/0.001661, allocations: 117.8 kB / 17.13 MB, free: 6.004 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.001963/0.001963, allocations: 213.8 kB / 20.1 MB, free: 3.055 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.776/1.776, allocations: 230.6 MB / 253.5 MB, free: 15.07 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 2.984/2.984, allocations: 0.49 GB / 0.7923 GB, free: 1.32 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.002087/0.002087, allocations: 71.89 kB / 1.15 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9601/0.9622, allocations: 176.1 MB / 1.322 GB, free: 25.13 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001682/0.9639, allocations: 0.5472 MB / 1.322 GB, free: 24.8 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.9651, allocations: 1.131 MB / 1.324 GB, free: 24.01 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.464e-05/0.9651, allocations: 0 / 1.324 GB, free: 24.01 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.284e-05/0.9652, allocations: 3.938 kB / 1.324 GB, free: 24.01 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.361e-05/0.9653, allocations: 4 kB / 1.324 GB, free: 24 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004744/0.9657, allocations: 173.3 kB / 1.324 GB, free: 23.92 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.031e-05/0.9658, allocations: 15.5 kB / 1.324 GB, free: 23.92 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.379e-05/0.9659, allocations: 2.562 kB / 1.324 GB, free: 23.92 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.554e-05/0.9659, allocations: 13.11 kB / 1.324 GB, free: 23.91 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.158e-05/0.9659, allocations: 8.844 kB / 1.324 GB, free: 23.91 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.9659, allocations: 0 / 1.324 GB, free: 23.91 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003338/0.9663, allocations: 215.1 kB / 1.324 GB, free: 23.83 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.551e-05/0.9663, allocations: 2.688 kB / 1.324 GB, free: 23.83 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.458e-05/0.9663, allocations: 10.72 kB / 1.324 GB, free: 23.82 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002394/0.9666, allocations: 188.7 kB / 1.324 GB, free: 23.77 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.9666, allocations: 2.938 kB / 1.324 GB, free: 23.77 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9666, allocations: 0 / 1.324 GB, free: 23.77 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.251e-05/0.9666, allocations: 3.938 kB / 1.324 GB, free: 23.77 MB / 1.061 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.0003071/0.9669, allocations: 366.7 kB / 1.325 GB, free: 23.38 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.9669, allocations: 12.48 kB / 1.325 GB, free: 23.38 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.605e-05/0.967, allocations: 79.88 kB / 1.325 GB, free: 23.3 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.854e-05/0.9671, allocations: 246.5 kB / 1.325 GB, free: 23.03 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.732e-05/0.9671, allocations: 154.9 kB / 1.325 GB, free: 22.88 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.234e-05/0.9671, allocations: 157.6 kB / 1.325 GB, free: 22.72 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.459e-05/0.9672, allocations: 105.1 kB / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.9672, allocations: 75.28 kB / 1.325 GB, free: 22.54 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.9672, allocations: 150.6 kB / 1.325 GB, free: 22.39 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/0.9672, allocations: 157.4 kB / 1.326 GB, free: 22.24 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.231e-05/0.9673, allocations: 154.5 kB / 1.326 GB, free: 22.09 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001855/0.9675, allocations: 448.1 kB / 1.326 GB, free: 21.61 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.867e-05/0.9675, allocations: 172.4 kB / 1.326 GB, free: 21.43 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.652e-05/0.9675, allocations: 86.95 kB / 1.326 GB, free: 21.34 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.9675, allocations: 75.28 kB / 1.327 GB, free: 21.27 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.9676, allocations: 113.7 kB / 1.327 GB, free: 21.15 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 7.31e-07/0.9676, allocations: 0 / 1.327 GB, free: 21.15 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.156e-05/0.9676, allocations: 32.5 kB / 1.327 GB, free: 21.11 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.9677, allocations: 126.7 kB / 1.327 GB, free: 20.98 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.019e-05/0.9677, allocations: 106.7 kB / 1.327 GB, free: 20.87 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.377e-06/0.9678, allocations: 25.7 kB / 1.327 GB, free: 20.84 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.775e-05/0.9678, allocations: 82.98 kB / 1.327 GB, free: 20.76 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-06/0.9678, allocations: 0 / 1.327 GB, free: 20.76 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-05/0.9678, allocations: 22.56 kB / 1.327 GB, free: 20.74 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.613e-05/0.9679, allocations: 310.8 kB / 1.327 GB, free: 20.43 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.492e-05/0.9679, allocations: 9.172 kB / 1.327 GB, free: 20.43 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.582e-05/0.9679, allocations: 8.094 kB / 1.327 GB, free: 20.43 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.69e-05/0.968, allocations: 31.22 kB / 1.327 GB, free: 20.41 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.968, allocations: 0 / 1.327 GB, free: 20.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001218/0.9681, allocations: 59.36 kB / 1.327 GB, free: 20.37 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.9681, allocations: 3.062 kB / 1.327 GB, free: 20.37 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.9681, allocations: 3 kB / 1.327 GB, free: 20.37 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.9681, allocations: 0 / 1.327 GB, free: 20.37 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.393e-06/0.9681, allocations: 4 kB / 1.327 GB, free: 20.36 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.9681, allocations: 0 / 1.327 GB, free: 20.36 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.571e-05/0.9682, allocations: 18.56 kB / 1.327 GB, free: 20.35 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.9682, allocations: 6.562 kB / 1.327 GB, free: 20.34 MB / 1.061 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 5.5e-05/0.9683, allocations: 191.3 kB / 1.328 GB, free: 20.15 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.146e-05/0.9683, allocations: 108.9 kB / 1.328 GB, free: 20.04 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.332e-05/0.9683, allocations: 106.9 kB / 1.328 GB, free: 19.93 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.318e-05/0.9684, allocations: 180.2 kB / 1.328 GB, free: 19.75 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-05/0.9684, allocations: 183.8 kB / 1.328 GB, free: 19.56 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.931e-05/0.9684, allocations: 183.1 kB / 1.328 GB, free: 19.38 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.9686, allocations: 407.5 kB / 1.329 GB, free: 18.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-05/0.9686, allocations: 101.1 kB / 1.329 GB, free: 18.82 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.957e-05/0.9686, allocations: 112.9 kB / 1.329 GB, free: 18.71 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.032e-05/0.9686, allocations: 178.8 kB / 1.329 GB, free: 18.53 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.925e-05/0.9687, allocations: 184.3 kB / 1.329 GB, free: 18.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.597e-05/0.9687, allocations: 183.6 kB / 1.329 GB, free: 18.16 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.673e-05/0.9687, allocations: 178.8 kB / 1.33 GB, free: 17.98 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.645e-05/0.9688, allocations: 302.5 kB / 1.33 GB, free: 17.66 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.669e-05/0.9688, allocations: 196.2 kB / 1.33 GB, free: 17.45 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.496e-05/0.9689, allocations: 180.2 kB / 1.33 GB, free: 17.27 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.636e-05/0.9689, allocations: 103.8 kB / 1.33 GB, free: 17.16 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.044e-05/0.9689, allocations: 180.2 kB / 1.331 GB, free: 16.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.969, allocations: 104.4 kB / 1.331 GB, free: 16.87 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.607e-05/0.969, allocations: 82.47 kB / 1.331 GB, free: 16.79 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.969, allocations: 2.656 kB / 1.331 GB, free: 16.79 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003427/0.9693, allocations: 57.62 kB / 1.331 GB, free: 16.77 MB / 1.061 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.0007677/0.9701, allocations: 386.9 kB / 1.331 GB, free: 16.54 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.863e-05/0.9702, allocations: 15.56 kB / 1.331 GB, free: 16.53 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.9702, allocations: 0 / 1.331 GB, free: 16.53 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.9702, allocations: 0 / 1.331 GB, free: 16.53 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.9704, allocations: 463.5 kB / 1.332 GB, free: 16.08 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000204/0.9706, allocations: 186.8 kB / 1.332 GB, free: 15.88 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.394e-05/0.9707, allocations: 0.6761 MB / 1.332 GB, free: 15.18 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.9708, allocations: 16.55 kB / 1.332 GB, free: 15.17 MB / 1.061 GB Notification: Performance of SimCode: time 2.7e-07/0.9708, allocations: 0 / 1.332 GB, free: 15.17 MB / 1.061 GB Notification: Performance of Templates: time 0.003547/0.9744, allocations: 1.553 MB / 1.334 GB, free: 15 MB / 1.061 GB " [Timeout remaining time 299] 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 -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.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: 9.028596568998182] Failed to read output from testmodel.py, exit status != 0: 0.982338598012575 0.993315975 0.024188329 Calling exit ...