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.001656/0.001656, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002065/0.002065, allocations: 217.6 kB / 23.01 MB, free: 4.566 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.535/1.535, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.915/2.915, allocations: 476.8 MB / 0.7714 GB, free: 4.293 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.002134/0.002134, allocations: 68.42 kB / 1.119 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.3871, allocations: 170 MB / 1.285 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001957/0.3891, allocations: 0.55 MB / 1.285 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001969/0.391, allocations: 1.221 MB / 1.286 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.683e-05/0.3911, allocations: 0 / 1.286 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.3912, allocations: 4 kB / 1.286 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.501e-05/0.3912, allocations: 3.938 kB / 1.286 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006059/0.3918, allocations: 175.4 kB / 1.287 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.764e-05/0.3919, allocations: 27.92 kB / 1.287 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.222e-05/0.392, allocations: 0 / 1.287 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.927e-05/0.392, allocations: 7.938 kB / 1.287 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.669e-05/0.392, allocations: 15.97 kB / 1.287 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.3921, allocations: 4 kB / 1.287 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000445/0.3925, allocations: 223.6 kB / 1.287 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.194e-05/0.3925, allocations: 11.97 kB / 1.287 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.311e-05/0.3926, allocations: 19.88 kB / 1.287 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003323/0.3929, allocations: 195.5 kB / 1.287 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3929, allocations: 0 / 1.287 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3929, allocations: 0 / 1.287 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.3929, allocations: 4 kB / 1.287 GB, free: 8.801 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.0004331/0.3934, allocations: 301.8 kB / 1.287 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.3934, allocations: 8.031 kB / 1.287 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.085e-05/0.3935, allocations: 84.16 kB / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.3936, allocations: 189.8 kB / 1.288 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.498e-05/0.3937, allocations: 154.9 kB / 1.288 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.276e-05/0.3938, allocations: 158.9 kB / 1.288 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.633e-05/0.3939, allocations: 105.1 kB / 1.288 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.253e-05/0.3939, allocations: 75.28 kB / 1.288 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-05/0.394, allocations: 150.6 kB / 1.288 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.721e-05/0.3941, allocations: 158.5 kB / 1.288 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.877e-05/0.3941, allocations: 150.6 kB / 1.288 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003384/0.3945, allocations: 421 kB / 1.289 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.3946, allocations: 177.1 kB / 1.289 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.174e-05/0.3946, allocations: 80.14 kB / 1.289 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.66e-05/0.3947, allocations: 75.28 kB / 1.289 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.751e-05/0.3947, allocations: 113.8 kB / 1.289 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.3947, allocations: 0 / 1.289 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.399e-05/0.3948, allocations: 29.64 kB / 1.289 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.306e-05/0.3949, allocations: 130.7 kB / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.3951, allocations: 101.8 kB / 1.29 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/0.3951, allocations: 25.7 kB / 1.29 GB, free: 6 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.713e-05/0.3951, allocations: 88.14 kB / 1.29 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.086e-06/0.3951, allocations: 0 / 1.29 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/0.3952, allocations: 21.7 kB / 1.29 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3953, allocations: 314.8 kB / 1.29 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.741e-05/0.3954, allocations: 8 kB / 1.29 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.223e-05/0.3954, allocations: 11.98 kB / 1.29 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.873e-05/0.3955, allocations: 16.86 kB / 1.29 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3955, allocations: 4 kB / 1.29 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001407/0.3956, allocations: 61.52 kB / 1.29 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.3956, allocations: 12.11 kB / 1.29 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3956, allocations: 0 / 1.29 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.3956, allocations: 0 / 1.29 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.3956, allocations: 0 / 1.29 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3956, allocations: 4 kB / 1.29 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.448e-05/0.3957, allocations: 0 / 1.29 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/0.3957, allocations: 4 kB / 1.29 GB, free: 5.438 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.000129/0.3959, allocations: 185.1 kB / 1.29 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.614e-05/0.3959, allocations: 120.8 kB / 1.29 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.768e-05/0.396, allocations: 108.1 kB / 1.29 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.367e-05/0.3961, allocations: 180.3 kB / 1.291 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.469e-05/0.3962, allocations: 180.2 kB / 1.291 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.387e-05/0.3963, allocations: 180.3 kB / 1.291 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002828/0.3966, allocations: 376.3 kB / 1.291 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.862e-05/0.3966, allocations: 109 kB / 1.291 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.314e-05/0.3967, allocations: 112.9 kB / 1.292 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.615e-05/0.3968, allocations: 188.2 kB / 1.292 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001073/0.3969, allocations: 176.3 kB / 1.292 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.187e-05/0.397, allocations: 180.3 kB / 1.292 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.201e-05/0.397, allocations: 184.2 kB / 1.292 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.3972, allocations: 307.8 kB / 1.293 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.477e-05/0.3973, allocations: 104.9 kB / 1.293 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.105e-05/0.3974, allocations: 180.3 kB / 1.293 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.3975, allocations: 108.9 kB / 1.293 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.3976, allocations: 180.3 kB / 1.293 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-05/0.3977, allocations: 108.9 kB / 1.293 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.609e-05/0.3977, allocations: 83.45 kB / 1.293 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3977, allocations: 0 / 1.293 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003834/0.3981, allocations: 59.73 kB / 1.293 GB, free: 1.902 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.0009073/0.399, allocations: 388.2 kB / 1.294 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.762e-05/0.3991, allocations: 12 kB / 1.294 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3991, allocations: 0 / 1.294 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.679e-06/0.3991, allocations: 3.984 kB / 1.294 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/0.3995, allocations: 459.7 kB / 1.294 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003113/0.3998, allocations: 190 kB / 1.294 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.4002, allocations: 0.6729 MB / 1.295 GB, free: 196 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.4003, allocations: 15.42 kB / 1.295 GB, free: 180 kB / 0.9825 GB Notification: Performance of SimCode: time 5.91e-07/0.4003, allocations: 0 / 1.295 GB, free: 180 kB / 0.9825 GB Notification: Performance of Templates: time 0.003901/0.4042, allocations: 1.548 MB / 1.297 GB, free: 14.62 MB / 0.9981 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 -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 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: 9.194570716004819] Failed to read output from testmodel.py, exit status != 0: 1.2130752640077844 0.429039863 0.032551342000000004 Calling exit ...