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.001388/0.001388, 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.001498/0.001498, allocations: 220.2 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 8.055 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.845/2.845, allocations: 476.8 MB / 0.7714 GB, free: 4.285 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.002059/0.002059, allocations: 63.59 kB / 1.119 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3973/0.3993, allocations: 169.9 MB / 1.285 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.002877/0.4022, allocations: 0.5598 MB / 1.285 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00294/0.4051, allocations: 1.287 MB / 1.286 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.602e-05/0.4052, allocations: 0 / 1.286 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001762/0.4054, allocations: 15.92 kB / 1.286 GB, free: 1.441 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.417e-05/0.4055, allocations: 0 / 1.286 GB, free: 1.441 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.4066, allocations: 291.2 kB / 1.287 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002494/0.4068, allocations: 75.86 kB / 1.287 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.334e-05/0.4069, allocations: 0 / 1.287 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.636e-05/0.407, allocations: 47.84 kB / 1.287 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.4071, allocations: 51.83 kB / 1.287 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.4071, allocations: 3.938 kB / 1.287 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005782/0.4077, allocations: 239.6 kB / 1.287 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.65e-05/0.4078, allocations: 8 kB / 1.287 GB, free: 0.7383 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.51e-05/0.4078, allocations: 35.78 kB / 1.287 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004802/0.4083, allocations: 267.3 kB / 1.287 GB, free: 452 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.4083, allocations: 0 / 1.287 GB, free: 452 kB / 0.9825 GB Notification: Performance of FrontEnd: time 2.184e-06/0.4083, allocations: 0 / 1.287 GB, free: 452 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.4083, allocations: 4 kB / 1.287 GB, free: 448 kB / 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.0006482/0.409, allocations: 367.4 kB / 1.288 GB, free: 44 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.409, allocations: 12.03 kB / 1.288 GB, free: 32 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001612/0.4092, allocations: 84.17 kB / 1.288 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.4094, allocations: 197.8 kB / 1.288 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.4095, allocations: 154.9 kB / 1.288 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.4097, allocations: 154.9 kB / 1.288 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.4098, allocations: 117.1 kB / 1.288 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.733e-05/0.4098, allocations: 75.28 kB / 1.289 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.4099, allocations: 150.6 kB / 1.289 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.15e-05/0.41, allocations: 150.6 kB / 1.289 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.375e-05/0.4101, allocations: 154.5 kB / 1.289 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004884/0.4106, allocations: 449 kB / 1.289 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.4107, allocations: 169.1 kB / 1.29 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.635e-05/0.4108, allocations: 80.14 kB / 1.29 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.374e-05/0.4109, allocations: 79.28 kB / 1.29 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.161e-05/0.4109, allocations: 113.7 kB / 1.29 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.4109, allocations: 4 kB / 1.29 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001485/0.4111, allocations: 45.58 kB / 1.29 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.4112, allocations: 126.7 kB / 1.29 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002455/0.4114, allocations: 148.7 kB / 1.29 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.4115, allocations: 29.7 kB / 1.29 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.442e-05/0.4115, allocations: 88.14 kB / 1.29 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.366e-06/0.4115, allocations: 0 / 1.29 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.718e-05/0.4116, allocations: 41.69 kB / 1.29 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002143/0.4118, allocations: 322.8 kB / 1.291 GB, free: 13 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.412, allocations: 59.94 kB / 1.291 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.4121, allocations: 59.95 kB / 1.291 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.4123, allocations: 94.52 kB / 1.291 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.4123, allocations: 0 / 1.291 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004798/0.4128, allocations: 243.1 kB / 1.291 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.459e-05/0.4128, allocations: 45.69 kB / 1.291 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.4128, allocations: 0 / 1.291 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.4129, allocations: 3.938 kB / 1.291 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.232e-06/0.4129, allocations: 4.062 kB / 1.291 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.4129, allocations: 0 / 1.291 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004101/0.4133, allocations: 23.94 kB / 1.291 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.339e-05/0.4133, allocations: 11.98 kB / 1.291 GB, free: 12.44 MB / 0.9981 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.0001904/0.4135, allocations: 201.1 kB / 1.291 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.524e-05/0.4136, allocations: 116.8 kB / 1.291 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.024e-05/0.4137, allocations: 112.5 kB / 1.291 GB, free: 12 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.814e-05/0.4138, allocations: 184.3 kB / 1.292 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001048/0.4139, allocations: 188.2 kB / 1.292 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.25e-05/0.414, allocations: 180.2 kB / 1.292 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003004/0.4143, allocations: 384.2 kB / 1.292 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.123e-05/0.4143, allocations: 101 kB / 1.292 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.73e-05/0.4144, allocations: 112.9 kB / 1.293 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001207/0.4145, allocations: 180.2 kB / 1.293 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001174/0.4146, allocations: 184.3 kB / 1.293 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001001/0.4147, allocations: 180.2 kB / 1.293 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-05/0.4148, allocations: 180.2 kB / 1.293 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.4151, allocations: 319.7 kB / 1.294 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.962e-05/0.4151, allocations: 104.9 kB / 1.294 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.4153, allocations: 180.2 kB / 1.294 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.828e-05/0.4153, allocations: 105 kB / 1.294 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.4155, allocations: 180.2 kB / 1.294 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.341e-05/0.4155, allocations: 112.9 kB / 1.294 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001037/0.4156, allocations: 111.2 kB / 1.294 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4156, allocations: 0 / 1.294 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000434/0.4161, allocations: 67.8 kB / 1.294 GB, free: 8.832 MB / 0.9981 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.001021/0.4171, allocations: 407.2 kB / 1.295 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002947/0.4174, allocations: 147.3 kB / 1.295 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4174, allocations: 0 / 1.295 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.974e-06/0.4174, allocations: 0 / 1.295 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004167/0.4178, allocations: 467.7 kB / 1.295 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003859/0.4182, allocations: 241.9 kB / 1.296 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.4185, allocations: 0.6807 MB / 1.296 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.553e-05/0.4185, allocations: 7.438 kB / 1.296 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of SimCode: time 3.71e-07/0.4185, allocations: 0 / 1.296 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of Templates: time 0.005051/0.4236, allocations: 2.369 MB / 1.299 GB, free: 4.535 MB / 0.9981 GB " [Timeout remaining time 300] 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 -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.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: 8.616617024992593] Failed to read output from testmodel.py, exit status != 0: 0.4337511909834575 0.44754167799999994 0.035957859 Calling exit ...