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.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.001662/0.001662, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002024/0.002024, allocations: 221.7 kB / 23 MB, free: 4.914 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.602/1.602, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.912/2.912, allocations: 476 MB / 0.7707 GB, free: 4.762 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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=2500,variableFilter="time|yR1.1.|yR2.1.",fileNamePrefix="Buildings_11_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.00218/0.00218, allocations: 68.45 kB / 1.118 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4042, allocations: 170 MB / 1.284 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.002026/0.4062, allocations: 0.5461 MB / 1.284 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001964/0.4082, allocations: 1.202 MB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.332e-05/0.4082, allocations: 0 / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.174e-05/0.4083, allocations: 0 / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.312e-05/0.4083, allocations: 3.938 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006071/0.409, allocations: 183.4 kB / 1.286 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.288e-05/0.409, allocations: 15.98 kB / 1.286 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.377e-05/0.4091, allocations: 11.92 kB / 1.286 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.464e-05/0.4091, allocations: 7.984 kB / 1.286 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.209e-05/0.4091, allocations: 4 kB / 1.286 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.4092, allocations: 4 kB / 1.286 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000409/0.4096, allocations: 215.6 kB / 1.286 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.004e-05/0.4096, allocations: 7.922 kB / 1.286 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.563e-05/0.4096, allocations: 4 kB / 1.286 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003331/0.41, allocations: 199.5 kB / 1.286 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.41, allocations: 0 / 1.286 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.422e-06/0.41, allocations: 0 / 1.286 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.41, allocations: 0 / 1.286 GB, free: 9.566 MB / 0.9825 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.0004106/0.4104, allocations: 301.8 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.4104, allocations: 12.03 kB / 1.286 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.5e-05/0.4105, allocations: 76.22 kB / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.4107, allocations: 189.8 kB / 1.287 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-05/0.4107, allocations: 150.9 kB / 1.287 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.876e-05/0.4108, allocations: 154.9 kB / 1.287 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.927e-05/0.4109, allocations: 117 kB / 1.287 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.803e-05/0.411, allocations: 75.28 kB / 1.287 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.255e-05/0.411, allocations: 150.6 kB / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.659e-05/0.4111, allocations: 154.6 kB / 1.287 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.196e-05/0.4112, allocations: 150.6 kB / 1.288 GB, free: 8 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003084/0.4115, allocations: 397.6 kB / 1.288 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.4116, allocations: 169.1 kB / 1.288 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.639e-05/0.4116, allocations: 88.14 kB / 1.288 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.605e-05/0.4117, allocations: 79.22 kB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.758e-05/0.4117, allocations: 109.8 kB / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.4117, allocations: 0 / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.833e-05/0.4118, allocations: 37.64 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.94e-05/0.4119, allocations: 126.7 kB / 1.289 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.412, allocations: 102 kB / 1.289 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.412, allocations: 33.64 kB / 1.289 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.536e-05/0.4121, allocations: 80.14 kB / 1.289 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-06/0.4121, allocations: 0 / 1.289 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/0.4121, allocations: 21.7 kB / 1.289 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.4123, allocations: 314.8 kB / 1.289 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.572e-05/0.4123, allocations: 7.984 kB / 1.289 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.519e-05/0.4124, allocations: 59.41 kB / 1.289 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.66e-05/0.4124, allocations: 28.94 kB / 1.289 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4124, allocations: 0 / 1.289 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001296/0.4125, allocations: 53.58 kB / 1.289 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.4126, allocations: 11.94 kB / 1.289 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.4126, allocations: 4.031 kB / 1.289 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.4126, allocations: 3.984 kB / 1.289 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.745e-06/0.4126, allocations: 3.938 kB / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.4126, allocations: 0 / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.631e-05/0.4127, allocations: 4 kB / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.4127, allocations: 4.031 kB / 1.289 GB, free: 6.168 MB / 0.9825 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.0001371/0.4128, allocations: 189.1 kB / 1.289 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.933e-05/0.4129, allocations: 104.9 kB / 1.29 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.089e-05/0.413, allocations: 112.1 kB / 1.29 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.356e-05/0.413, allocations: 180.2 kB / 1.29 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.948e-05/0.4131, allocations: 176.3 kB / 1.29 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.931e-05/0.4132, allocations: 184.2 kB / 1.29 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002317/0.4134, allocations: 361 kB / 1.29 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.873e-05/0.4135, allocations: 108.9 kB / 1.291 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.754e-05/0.4135, allocations: 101 kB / 1.291 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.272e-05/0.4136, allocations: 188.3 kB / 1.291 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.194e-05/0.4137, allocations: 192.1 kB / 1.291 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.939e-05/0.4138, allocations: 176.3 kB / 1.291 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.245e-05/0.4139, allocations: 184.2 kB / 1.291 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001776/0.4141, allocations: 299.8 kB / 1.292 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.188e-05/0.4141, allocations: 108.9 kB / 1.292 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.355e-05/0.4142, allocations: 184.2 kB / 1.292 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.442e-05/0.4143, allocations: 104.9 kB / 1.292 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.639e-05/0.4144, allocations: 180.3 kB / 1.292 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-05/0.4144, allocations: 101 kB / 1.292 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.911e-05/0.4145, allocations: 91.2 kB / 1.292 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.4145, allocations: 4 kB / 1.292 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003196/0.4148, allocations: 63.67 kB / 1.292 GB, free: 2.664 MB / 0.9825 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.001031/0.4158, allocations: 395 kB / 1.293 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001074/0.4159, allocations: 8 kB / 1.293 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.4159, allocations: 4 kB / 1.293 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.334e-06/0.4159, allocations: 0 / 1.293 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004324/0.4164, allocations: 461.7 kB / 1.293 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000311/0.4167, allocations: 186 kB / 1.293 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.094e-05/0.4168, allocations: 63.28 kB / 1.294 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.4169, allocations: 15.38 kB / 1.294 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.4169, allocations: 3.938 kB / 1.294 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of Templates: time 0.003802/0.4207, allocations: 1.552 MB / 1.295 GB, free: 12 kB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile [Timeout 300] make -j1 -f Buildings_11_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 11.1.1-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.1.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.1-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 [Calling os._exit(0), Time elapsed: 8.761131851002574] Failed to read output from testmodel.py, exit status != 0: 1.0813241288997233 0.44498516400000004 0.031710705 Calling exit ...