Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.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.001337/0.001337, 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.001521/0.001521, allocations: 210.4 kB / 23.01 MB, free: 4.562 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.553/1.553, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.32/3.32, allocations: 0.49 GB / 0.7958 GB, free: 33.22 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.Exchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|yR1.1.|yI1.1.|yR2.1.|yR2.2.|yI2.1.|yI2.2.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|yR1.1.|yI1.1.|yR2.1.|yR2.2.|yI2.1.|yI2.2.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") [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: 67.77 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.361, allocations: 176.1 MB / 1.327 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.002119/0.3631, allocations: 0.551 MB / 1.328 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002349/0.3654, allocations: 1.293 MB / 1.329 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.933e-05/0.3655, allocations: 0 / 1.329 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.534e-05/0.3655, allocations: 11.94 kB / 1.329 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.635e-05/0.3656, allocations: 0 / 1.329 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007816/0.3664, allocations: 291.2 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.3665, allocations: 75.81 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.639e-05/0.3666, allocations: 0 / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.308e-05/0.3666, allocations: 39.91 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.3668, allocations: 51.88 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.3668, allocations: 0 / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005337/0.3673, allocations: 247.6 kB / 1.33 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.862e-05/0.3674, allocations: 7.984 kB / 1.33 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.556e-05/0.3674, allocations: 31.86 kB / 1.33 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00039/0.3678, allocations: 267.2 kB / 1.33 GB, free: 14.63 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3678, allocations: 0 / 1.33 GB, free: 14.63 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.482e-06/0.3678, allocations: 4 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.3678, allocations: 4 kB / 1.33 GB, free: 14.62 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.0004826/0.3683, allocations: 367.4 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.3684, allocations: 12.03 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.286e-05/0.3685, allocations: 88.17 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.3686, allocations: 201.8 kB / 1.331 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.448e-05/0.3687, allocations: 154.9 kB / 1.331 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-05/0.3688, allocations: 162.9 kB / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.264e-05/0.3689, allocations: 113.1 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.38e-05/0.3689, allocations: 75.28 kB / 1.331 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.097e-05/0.369, allocations: 150.6 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.594e-05/0.369, allocations: 150.6 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.589e-05/0.3691, allocations: 154.5 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.3695, allocations: 448.9 kB / 1.332 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.3696, allocations: 173 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.049e-05/0.3696, allocations: 84.14 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.73e-05/0.3697, allocations: 75.28 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.996e-05/0.3698, allocations: 113.8 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.3698, allocations: 0 / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001146/0.3699, allocations: 41.64 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.418e-05/0.37, allocations: 126.7 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.3702, allocations: 144.1 kB / 1.333 GB, free: 11.68 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.3702, allocations: 29.7 kB / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.3703, allocations: 92.14 kB / 1.333 GB, free: 11.55 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-06/0.3703, allocations: 0 / 1.333 GB, free: 11.55 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.674e-05/0.3704, allocations: 45.69 kB / 1.333 GB, free: 11.5 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.3705, allocations: 318.8 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.3707, allocations: 59.95 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.3708, allocations: 59.94 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.3709, allocations: 98.52 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3709, allocations: 0 / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004123/0.3713, allocations: 235.1 kB / 1.334 GB, free: 10.71 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.308e-05/0.3714, allocations: 41.69 kB / 1.334 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3714, allocations: 4.062 kB / 1.334 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.3714, allocations: 0 / 1.334 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-07/0.3714, allocations: 0 / 1.334 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.3714, allocations: 0 / 1.334 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003202/0.3717, allocations: 31.86 kB / 1.334 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.592e-05/0.3718, allocations: 12 kB / 1.334 GB, free: 10.62 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: 3 (yI2[2],yI2[1],yI1[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001445/0.3719, allocations: 197.6 kB / 1.334 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.725e-05/0.372, allocations: 116.9 kB / 1.334 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.372e-05/0.3721, allocations: 116.5 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.047e-05/0.3722, allocations: 184.3 kB / 1.334 GB, free: 9.977 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.673e-05/0.3722, allocations: 180.3 kB / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.051e-05/0.3723, allocations: 184.2 kB / 1.335 GB, free: 9.605 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002929/0.3726, allocations: 384.3 kB / 1.335 GB, free: 9.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.392e-05/0.3727, allocations: 112.9 kB / 1.335 GB, free: 9.062 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.632e-05/0.3727, allocations: 104.9 kB / 1.335 GB, free: 8.953 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.438e-05/0.3728, allocations: 180.3 kB / 1.335 GB, free: 8.77 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.116e-05/0.3729, allocations: 180.2 kB / 1.335 GB, free: 8.586 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.99e-05/0.373, allocations: 176.3 kB / 1.336 GB, free: 8.406 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.084e-05/0.3731, allocations: 184.2 kB / 1.336 GB, free: 8.219 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/0.3733, allocations: 315.7 kB / 1.336 GB, free: 7.887 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.541e-05/0.3734, allocations: 104.9 kB / 1.336 GB, free: 7.777 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.3735, allocations: 184.2 kB / 1.336 GB, free: 7.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.3736, allocations: 108.9 kB / 1.336 GB, free: 7.477 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.044e-05/0.3737, allocations: 184.2 kB / 1.337 GB, free: 7.289 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-05/0.3737, allocations: 108.9 kB / 1.337 GB, free: 7.176 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.015e-05/0.3738, allocations: 113.3 kB / 1.337 GB, free: 7.066 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3738, allocations: 0 / 1.337 GB, free: 7.066 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004147/0.3742, allocations: 75.69 kB / 1.337 GB, free: 6.992 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.0009913/0.3752, allocations: 404.2 kB / 1.337 GB, free: 6.664 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002736/0.3755, allocations: 151.3 kB / 1.337 GB, free: 6.504 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3755, allocations: 0 / 1.337 GB, free: 6.504 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.174e-06/0.3755, allocations: 4.062 kB / 1.337 GB, free: 6.5 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/0.3759, allocations: 459.7 kB / 1.338 GB, free: 6.047 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000386/0.3763, allocations: 249.8 kB / 1.338 GB, free: 5.77 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.3767, allocations: 0.6846 MB / 1.339 GB, free: 5.059 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.796e-05/0.3767, allocations: 7.438 kB / 1.339 GB, free: 5.051 MB / 1.029 GB Notification: Performance of SimCode: time 3.71e-07/0.3767, allocations: 4 kB / 1.339 GB, free: 5.047 MB / 1.029 GB Notification: Performance of Templates: time 0.004817/0.3815, allocations: 2.361 MB / 1.341 GB, free: 2.695 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile [Timeout 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.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.ExchangeCalcHelperMain.o OMCppBuildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeCalcHelperMain.cpp In file included from OMCppBuildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeFunctions.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.ExchangeCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 8.631810285005486] Failed to read output from testmodel.py, exit status != 0: 0.389945289993193 0.405042281 0.034073717 Calling exit ...