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.001693/0.001693, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.002114/0.002114, allocations: 213.4 kB / 23.04 MB, free: 4.844 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.511/1.511, allocations: 230.6 MB / 256.8 MB, free: 7.738 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.199/3.199, allocations: 0.49 GB / 0.7959 GB, free: 35.45 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.002098/0.002098, allocations: 65.34 kB / 1.155 GB, free: 25.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.393/0.3951, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001948/0.3971, allocations: 0.5474 MB / 1.328 GB, free: 464 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002138/0.3992, allocations: 1.274 MB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.866e-05/0.3993, allocations: 4 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001025/0.3994, allocations: 0 / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.451e-05/0.3994, allocations: 3.938 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008016/0.4002, allocations: 297 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.4004, allocations: 67.88 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.207e-05/0.4004, allocations: 4 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.343e-05/0.4005, allocations: 43.89 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.555e-05/0.4006, allocations: 43.89 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.4006, allocations: 8 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004179/0.401, allocations: 231.5 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.041e-05/0.4011, allocations: 4 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.513e-05/0.4011, allocations: 27.91 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004089/0.4015, allocations: 259.2 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.4015, allocations: 0 / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.452e-06/0.4015, allocations: 0 / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.4016, allocations: 0 / 1.33 GB, free: 14.2 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.0005023/0.4021, allocations: 363.4 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.4021, allocations: 12.03 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.4022, allocations: 84.17 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.4024, allocations: 205.7 kB / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.641e-05/0.4025, allocations: 154.9 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-05/0.4025, allocations: 162.9 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.466e-05/0.4026, allocations: 105.1 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.72e-05/0.4027, allocations: 75.28 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.73e-05/0.4027, allocations: 154.5 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.035e-05/0.4028, allocations: 150.6 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.15e-05/0.4029, allocations: 154.6 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003532/0.4032, allocations: 421.5 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.4034, allocations: 165.1 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.504e-05/0.4034, allocations: 92.08 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.987e-05/0.4035, allocations: 75.28 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.127e-05/0.4035, allocations: 113.8 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.4035, allocations: 0 / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001034/0.4036, allocations: 37.64 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.179e-05/0.4037, allocations: 126.7 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.4039, allocations: 148.1 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.4039, allocations: 29.7 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.644e-05/0.404, allocations: 96.08 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.846e-06/0.404, allocations: 0 / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.784e-05/0.4041, allocations: 45.69 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.4042, allocations: 318.8 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.4044, allocations: 105.6 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.4045, allocations: 101.6 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.4047, allocations: 94.52 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4047, allocations: 0 / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005157/0.4052, allocations: 265 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.496e-05/0.4052, allocations: 51.03 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.4052, allocations: 3.938 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.4053, allocations: 0 / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.4053, allocations: 0 / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.4053, allocations: 64 / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003179/0.4056, allocations: 31.92 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.632e-05/0.4056, allocations: 8 kB / 1.334 GB, free: 10.11 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.0001711/0.4058, allocations: 208.2 kB / 1.334 GB, free: 9.898 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.64e-05/0.4059, allocations: 112.9 kB / 1.334 GB, free: 9.781 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.079e-05/0.4059, allocations: 112.5 kB / 1.334 GB, free: 9.652 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.068e-05/0.406, allocations: 188.2 kB / 1.334 GB, free: 9.461 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.131e-05/0.4061, allocations: 180.3 kB / 1.334 GB, free: 9.277 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.909e-05/0.4062, allocations: 176.3 kB / 1.335 GB, free: 9.098 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/0.4064, allocations: 364.8 kB / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.207e-05/0.4065, allocations: 113 kB / 1.335 GB, free: 8.586 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.577e-05/0.4065, allocations: 104.9 kB / 1.335 GB, free: 8.477 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.988e-05/0.4066, allocations: 176.3 kB / 1.335 GB, free: 8.297 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.843e-05/0.4067, allocations: 192.1 kB / 1.335 GB, free: 8.102 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.878e-05/0.4068, allocations: 176.3 kB / 1.336 GB, free: 7.922 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.17e-05/0.4069, allocations: 176.3 kB / 1.336 GB, free: 7.742 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.4071, allocations: 315.7 kB / 1.336 GB, free: 7.41 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.236e-05/0.4071, allocations: 108.9 kB / 1.336 GB, free: 7.297 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.4072, allocations: 184.3 kB / 1.336 GB, free: 7.109 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.521e-05/0.4073, allocations: 105 kB / 1.337 GB, free: 7 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.854e-05/0.4074, allocations: 184.2 kB / 1.337 GB, free: 6.812 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.024e-05/0.4075, allocations: 109 kB / 1.337 GB, free: 6.699 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.353e-05/0.4076, allocations: 112.9 kB / 1.337 GB, free: 6.59 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4076, allocations: 3.938 kB / 1.337 GB, free: 6.586 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003957/0.408, allocations: 75.69 kB / 1.337 GB, free: 6.512 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.001635/0.4096, allocations: 411.2 kB / 1.337 GB, free: 6.184 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003019/0.4099, allocations: 193 kB / 1.338 GB, free: 5.977 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4099, allocations: 3.938 kB / 1.338 GB, free: 5.973 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.4099, allocations: 0 / 1.338 GB, free: 5.973 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004236/0.4103, allocations: 457.4 kB / 1.338 GB, free: 5.523 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000405/0.4107, allocations: 249.9 kB / 1.338 GB, free: 5.246 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.799e-05/0.4108, allocations: 71.41 kB / 1.338 GB, free: 5.156 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.975e-05/0.4108, allocations: 11.44 kB / 1.338 GB, free: 5.145 MB / 1.029 GB Notification: Performance of SimCode: time 3.51e-07/0.4108, allocations: 0 / 1.338 GB, free: 5.145 MB / 1.029 GB Notification: Performance of Templates: time 0.004521/0.4153, allocations: 2.376 MB / 1.341 GB, free: 2.781 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 -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 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.503207095898688] Failed to read output from testmodel.py, exit status != 0: 0.42390266992151737 0.43838314300000003 0.033630225 Calling exit ...