Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001439/0.001439, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002338/0.002338, allocations: 217.4 kB / 22.99 MB, free: 4.945 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.798/1.798, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.964/2.964, allocations: 476 MB / 0.7707 GB, free: 4.711 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.Exchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|yR1.1.|yI1.1.|yR2.1.|yR2.2.|yI2.1.|yI2.2.",fileNamePrefix="Buildings_11_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_11_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.002091/0.002091, allocations: 64.8 kB / 1.118 GB, free: 41.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.3963, allocations: 170 MB / 1.284 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.002096/0.3984, allocations: 0.5539 MB / 1.284 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002127/0.4005, allocations: 1.264 MB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.51e-05/0.4006, allocations: 4 kB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000113/0.4007, allocations: 7.922 kB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.53e-05/0.4007, allocations: 0 / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008086/0.4015, allocations: 292 kB / 1.286 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.4017, allocations: 79.86 kB / 1.286 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.048e-05/0.4017, allocations: 4 kB / 1.286 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.191e-05/0.4018, allocations: 43.89 kB / 1.286 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.4019, allocations: 43.83 kB / 1.286 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.809e-05/0.4019, allocations: 4 kB / 1.286 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004233/0.4024, allocations: 219.6 kB / 1.286 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.181e-05/0.4024, allocations: 4 kB / 1.286 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.407e-05/0.4025, allocations: 27.91 kB / 1.286 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004043/0.4029, allocations: 267.2 kB / 1.287 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4029, allocations: 3.938 kB / 1.287 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4029, allocations: 0 / 1.287 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.4029, allocations: 4 kB / 1.287 GB, free: 9.141 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.0005295/0.4034, allocations: 367.4 kB / 1.287 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.4034, allocations: 12.02 kB / 1.287 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.934e-05/0.4035, allocations: 88.17 kB / 1.287 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.4037, allocations: 193.8 kB / 1.287 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.503e-05/0.4038, allocations: 150.9 kB / 1.287 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.467e-05/0.4039, allocations: 158.9 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.325e-05/0.404, allocations: 109 kB / 1.288 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.622e-05/0.404, allocations: 75.28 kB / 1.288 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.459e-05/0.4041, allocations: 154.6 kB / 1.288 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.886e-05/0.4042, allocations: 154.6 kB / 1.288 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.936e-05/0.4042, allocations: 154.6 kB / 1.288 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003451/0.4046, allocations: 417.5 kB / 1.288 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.4047, allocations: 177.1 kB / 1.289 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.889e-05/0.4047, allocations: 80.14 kB / 1.289 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.341e-05/0.4048, allocations: 75.28 kB / 1.289 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.445e-05/0.4048, allocations: 113.8 kB / 1.289 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.4048, allocations: 0 / 1.289 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.000105/0.4049, allocations: 33.64 kB / 1.289 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.608e-05/0.405, allocations: 126.7 kB / 1.289 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.4052, allocations: 152.7 kB / 1.289 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.4052, allocations: 29.7 kB / 1.289 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.789e-05/0.4053, allocations: 96.08 kB / 1.289 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-06/0.4053, allocations: 3.938 kB / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.728e-05/0.4054, allocations: 41.69 kB / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.4055, allocations: 322.8 kB / 1.29 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.4057, allocations: 97.64 kB / 1.29 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.4058, allocations: 101.6 kB / 1.29 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.406, allocations: 98.45 kB / 1.29 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.406, allocations: 0 / 1.29 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004568/0.4064, allocations: 268.9 kB / 1.29 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.34e-05/0.4065, allocations: 49.69 kB / 1.29 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4065, allocations: 0 / 1.29 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.4065, allocations: 0 / 1.29 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.152e-06/0.4065, allocations: 0 / 1.29 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.4065, allocations: 7.938 kB / 1.29 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003355/0.4068, allocations: 23.92 kB / 1.29 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.286e-05/0.4069, allocations: 19.98 kB / 1.29 GB, free: 5.047 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: 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.0001566/0.407, allocations: 189.1 kB / 1.29 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.281e-05/0.4071, allocations: 116.9 kB / 1.291 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.471e-05/0.4072, allocations: 112.5 kB / 1.291 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.313e-05/0.4073, allocations: 184.2 kB / 1.291 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.779e-05/0.4074, allocations: 176.3 kB / 1.291 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-05/0.4074, allocations: 188.3 kB / 1.291 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002487/0.4077, allocations: 368.9 kB / 1.292 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.637e-05/0.4077, allocations: 101 kB / 1.292 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.65e-05/0.4078, allocations: 104.9 kB / 1.292 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.434e-05/0.4079, allocations: 184.3 kB / 1.292 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.776e-05/0.408, allocations: 184.1 kB / 1.292 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.199e-05/0.408, allocations: 180.2 kB / 1.292 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001018/0.4081, allocations: 184.2 kB / 1.292 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.4083, allocations: 307.8 kB / 1.293 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-05/0.4084, allocations: 109 kB / 1.293 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.4085, allocations: 188.2 kB / 1.293 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.168e-05/0.4086, allocations: 105 kB / 1.293 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.006e-05/0.4087, allocations: 184.2 kB / 1.293 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.162e-05/0.4087, allocations: 101 kB / 1.293 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.316e-05/0.4088, allocations: 107.2 kB / 1.294 GB, free: 1.559 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4088, allocations: 3.938 kB / 1.294 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003864/0.4092, allocations: 71.75 kB / 1.294 GB, free: 1.484 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.001206/0.4104, allocations: 427.5 kB / 1.294 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002869/0.4107, allocations: 185 kB / 1.294 GB, free: 0.9453 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4107, allocations: 4.062 kB / 1.294 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.004e-06/0.4107, allocations: 0 / 1.294 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004128/0.4111, allocations: 463.6 kB / 1.295 GB, free: 496 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000359/0.4115, allocations: 245.9 kB / 1.295 GB, free: 216 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.611e-05/0.4116, allocations: 59.36 kB / 1.295 GB, free: 136 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.85e-05/0.4116, allocations: 11.44 kB / 1.295 GB, free: 124 kB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.4116, allocations: 0 / 1.295 GB, free: 124 kB / 0.9825 GB Notification: Performance of Templates: time 0.00473/0.4163, allocations: 2.369 MB / 1.297 GB, free: 13.76 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile [Timeout 300] make -j1 -f Buildings_11_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 -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.ExchangeCalcHelperMain.o OMCppBuildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeCalcHelperMain.cpp In file included from OMCppBuildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeFunctions.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.ExchangeCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 9.01035255100578] Failed to read output from testmodel.py, exit status != 0: 1.053484698291868 0.43958856300000004 0.033656724 Calling exit ...