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.001459/0.001459, allocations: 102.1 kB / 19.7 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.001784/0.001784, allocations: 219.5 kB / 23.01 MB, free: 4.609 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.3/3.3, allocations: 0.49 GB / 0.7958 GB, free: 33.35 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.002063/0.002063, allocations: 63.12 kB / 1.155 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3837, allocations: 176.1 MB / 1.327 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001985/0.3856, allocations: 0.5452 MB / 1.328 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00193/0.3876, allocations: 1.231 MB / 1.329 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.429e-05/0.3876, allocations: 0 / 1.329 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.3877, allocations: 7.938 kB / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.759e-05/0.3877, allocations: 0 / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005823/0.3883, allocations: 183.4 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.475e-05/0.3884, allocations: 15.98 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.857e-05/0.3885, allocations: 4 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.436e-05/0.3885, allocations: 15.8 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.278e-05/0.3885, allocations: 4 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.3886, allocations: 0 / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004645/0.389, allocations: 243.5 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.309e-05/0.3891, allocations: 4 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.268e-05/0.3891, allocations: 11.94 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003398/0.3894, allocations: 195.5 kB / 1.33 GB, free: 15.05 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3894, allocations: 4 kB / 1.33 GB, free: 15.05 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.664e-06/0.3894, allocations: 3.938 kB / 1.33 GB, free: 15.05 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.959e-06/0.3894, allocations: 0 / 1.33 GB, free: 15.05 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.0004096/0.3899, allocations: 301.8 kB / 1.33 GB, free: 14.72 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.3899, allocations: 8.031 kB / 1.33 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.644e-05/0.39, allocations: 76.22 kB / 1.33 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.3901, allocations: 189.8 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.245e-05/0.3902, allocations: 154.9 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.294e-05/0.3903, allocations: 154.9 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.333e-05/0.3904, allocations: 105.1 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.927e-05/0.3904, allocations: 79.22 kB / 1.331 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.341e-05/0.3905, allocations: 150.6 kB / 1.331 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.739e-05/0.3906, allocations: 150.6 kB / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.841e-05/0.3906, allocations: 166.5 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00032/0.3909, allocations: 417 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.649e-05/0.391, allocations: 169.1 kB / 1.332 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.163e-05/0.3911, allocations: 84.14 kB / 1.332 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.847e-05/0.3911, allocations: 79.28 kB / 1.332 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.192e-05/0.3912, allocations: 113.7 kB / 1.332 GB, free: 12.57 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.543e-06/0.3912, allocations: 0 / 1.332 GB, free: 12.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.243e-05/0.3913, allocations: 25.7 kB / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.558e-05/0.3914, allocations: 130.7 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.3915, allocations: 101.8 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.3915, allocations: 29.69 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.222e-05/0.3916, allocations: 88.14 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-06/0.3916, allocations: 0 / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-05/0.3916, allocations: 21.7 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.3918, allocations: 310.8 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.769e-05/0.3918, allocations: 8 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.018e-05/0.3918, allocations: 7.984 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.67e-05/0.3919, allocations: 28.78 kB / 1.333 GB, free: 11.77 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3919, allocations: 4.094 kB / 1.333 GB, free: 11.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001456/0.392, allocations: 57.58 kB / 1.333 GB, free: 11.71 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.3921, allocations: 4 kB / 1.333 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.3921, allocations: 0 / 1.333 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.3921, allocations: 0 / 1.333 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/0.3921, allocations: 3.938 kB / 1.333 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.3921, allocations: 4 kB / 1.333 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.601e-05/0.3922, allocations: 4 kB / 1.333 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.239e-05/0.3922, allocations: 11.98 kB / 1.333 GB, free: 11.68 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.0001799/0.3924, allocations: 185.7 kB / 1.333 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.858e-05/0.3925, allocations: 112.9 kB / 1.333 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.438e-05/0.3925, allocations: 104.1 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001586/0.3927, allocations: 180.3 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001028/0.3928, allocations: 188.3 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.099e-05/0.3929, allocations: 180.3 kB / 1.334 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002816/0.3932, allocations: 380.3 kB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.124e-05/0.3932, allocations: 105 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.936e-05/0.3933, allocations: 112.9 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.858e-05/0.3934, allocations: 176.3 kB / 1.334 GB, free: 9.867 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.52e-05/0.3935, allocations: 176.3 kB / 1.334 GB, free: 9.688 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.407e-05/0.3936, allocations: 188.2 kB / 1.335 GB, free: 9.496 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-05/0.3936, allocations: 184.2 kB / 1.335 GB, free: 9.309 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.3938, allocations: 303.8 kB / 1.335 GB, free: 8.988 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.749e-05/0.3939, allocations: 104.9 kB / 1.335 GB, free: 8.879 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.394, allocations: 192.2 kB / 1.335 GB, free: 8.684 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.821e-05/0.3941, allocations: 101 kB / 1.335 GB, free: 8.578 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.431e-05/0.3942, allocations: 184.2 kB / 1.336 GB, free: 8.391 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.105e-05/0.3942, allocations: 101 kB / 1.336 GB, free: 8.285 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.951e-05/0.3943, allocations: 83.27 kB / 1.336 GB, free: 8.203 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3943, allocations: 0 / 1.336 GB, free: 8.203 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000378/0.3947, allocations: 63.67 kB / 1.336 GB, free: 8.141 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.0009326/0.3956, allocations: 382.4 kB / 1.336 GB, free: 7.82 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001075/0.3957, allocations: 19.86 kB / 1.336 GB, free: 7.801 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.3957, allocations: 8.062 kB / 1.336 GB, free: 7.793 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/0.3957, allocations: 0 / 1.336 GB, free: 7.793 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004266/0.3961, allocations: 453.7 kB / 1.337 GB, free: 7.348 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003441/0.3965, allocations: 202 kB / 1.337 GB, free: 7.117 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/0.3969, allocations: 0.669 MB / 1.338 GB, free: 6.422 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.397, allocations: 19.42 kB / 1.338 GB, free: 6.402 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.397, allocations: 0 / 1.338 GB, free: 6.402 MB / 1.029 GB Notification: Performance of Templates: time 0.003852/0.4009, allocations: 1.553 MB / 1.339 GB, free: 4.855 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 -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: 8.605456246004906] Failed to read output from testmodel.py, exit status != 0: 0.40987359298742376 0.42584728600000005 0.033044206 Calling exit ...