Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|yR1.1.|yI1.1.|yR2.1.|yR2.2.|yI2.1.|yI2.2.",fileNamePrefix="Buildings_9_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=5000,variableFilter="time|yR1.1.|yI1.1.|yR2.1.|yR2.2.|yI2.1.|yI2.2.",fileNamePrefix="Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 100.1 kB / 15.88 MB, free: 8 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 199.6 kB / 16.79 MB, free: 6.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 240.5 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.418/2.418, allocations: 390.2 MB / 0.6649 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 63.84 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7368/0.7383, allocations: 140.4 MB / 0.9496 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001959/0.7403, allocations: 0.6151 MB / 0.9502 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001611/0.742, allocations: 1.2 MB / 0.9514 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.867e-05/0.742, allocations: 0 / 0.9514 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.808e-05/0.7421, allocations: 6.125 kB / 0.9514 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.947e-05/0.7422, allocations: 0 / 0.9514 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005316/0.7427, allocations: 248.8 kB / 0.9516 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.7428, allocations: 80.89 kB / 0.9517 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.071e-05/0.7429, allocations: 4.375 kB / 0.9517 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.633e-05/0.7429, allocations: 42.7 kB / 0.9517 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.368e-05/0.743, allocations: 32.67 kB / 0.9518 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.644e-05/0.743, allocations: 3.25 kB / 0.9518 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003899/0.7434, allocations: 188 kB / 0.9519 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.643e-05/0.7435, allocations: 7.094 kB / 0.9519 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.236e-05/0.7435, allocations: 34.59 kB / 0.952 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002506/0.7438, allocations: 185.2 kB / 0.9522 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.7438, allocations: 3.984 kB / 0.9522 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.102e-06/0.7438, allocations: 1.656 kB / 0.9522 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.7438, allocations: 0 / 0.9522 GB, free: 7.281 MB / 0.7169 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.0004128/0.7442, allocations: 441.5 kB / 0.9526 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.7443, allocations: 9.344 kB / 0.9526 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.584e-05/0.7444, allocations: 86.38 kB / 0.9527 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.7445, allocations: 255.5 kB / 0.9529 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.108e-05/0.7445, allocations: 157.4 kB / 0.9531 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.773e-05/0.7446, allocations: 160.9 kB / 0.9532 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.499e-05/0.7446, allocations: 113 kB / 0.9533 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.7446, allocations: 76.41 kB / 0.9534 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/0.7447, allocations: 150.6 kB / 0.9535 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.458e-05/0.7447, allocations: 158.5 kB / 0.9537 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.517e-05/0.7447, allocations: 155.8 kB / 0.9538 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002132/0.745, allocations: 465.1 kB / 0.9543 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.098e-05/0.745, allocations: 167.1 kB / 0.9544 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.895e-05/0.745, allocations: 88.12 kB / 0.9545 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.7451, allocations: 75.28 kB / 0.9546 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.7451, allocations: 114.9 kB / 0.9547 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 7.61e-07/0.7451, allocations: 0 / 0.9547 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 9.371e-05/0.7452, allocations: 40.08 kB / 0.9547 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.7452, allocations: 128 kB / 0.9549 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.7454, allocations: 152.5 kB / 0.955 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.7454, allocations: 27.64 kB / 0.955 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.108e-05/0.7455, allocations: 89.58 kB / 0.9551 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-06/0.7455, allocations: 0 / 0.9551 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.665e-05/0.7456, allocations: 42.91 kB / 0.9552 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.155e-05/0.7456, allocations: 317.2 kB / 0.9555 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.7457, allocations: 61.41 kB / 0.9555 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.7458, allocations: 57.17 kB / 0.9556 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.746, allocations: 103.7 kB / 0.9557 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.746, allocations: 0 / 0.9557 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004013/0.7464, allocations: 235.4 kB / 0.9559 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.874e-05/0.7464, allocations: 45.34 kB / 0.956 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.7465, allocations: 3.984 kB / 0.956 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.7465, allocations: 1.094 kB / 0.956 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-06/0.7465, allocations: 0 / 0.956 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.7465, allocations: 1.438 kB / 0.956 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003538/0.7469, allocations: 29.42 kB / 0.956 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.393e-05/0.7469, allocations: 17.64 kB / 0.956 GB, free: 3.492 MB / 0.7169 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.0001079/0.747, allocations: 199.7 kB / 0.9562 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.945e-05/0.7471, allocations: 111.5 kB / 0.9563 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.043e-05/0.7471, allocations: 115.1 kB / 0.9564 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.054e-05/0.7472, allocations: 180.2 kB / 0.9566 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-05/0.7472, allocations: 181.6 kB / 0.9568 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.791e-05/0.7472, allocations: 181.6 kB / 0.9569 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.7474, allocations: 416.1 kB / 0.9573 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.018e-05/0.7474, allocations: 102 kB / 0.9574 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.788e-05/0.7474, allocations: 106.1 kB / 0.9575 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.851e-05/0.7475, allocations: 184.2 kB / 0.9577 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.521e-05/0.7475, allocations: 181.4 kB / 0.9579 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.1e-05/0.7475, allocations: 185.7 kB / 0.958 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.262e-05/0.7476, allocations: 177.6 kB / 0.9582 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.263e-05/0.7477, allocations: 313.2 kB / 0.9585 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.912e-05/0.7477, allocations: 187.4 kB / 0.9587 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.308e-05/0.7478, allocations: 185.6 kB / 0.9589 GB, free: 392 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.953e-05/0.7478, allocations: 105 kB / 0.959 GB, free: 280 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.7479, allocations: 185.6 kB / 0.9591 GB, free: 88 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.012e-05/0.748, allocations: 106.3 kB / 0.9592 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.986e-05/0.7481, allocations: 102.4 kB / 0.9593 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7481, allocations: 1.25 kB / 0.9593 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004378/0.7485, allocations: 79.19 kB / 0.9594 GB, free: 15.86 MB / 0.7325 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.0008429/0.7494, allocations: 393.5 kB / 0.9598 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003/0.7497, allocations: 211.6 kB / 0.96 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.7497, allocations: 0 / 0.96 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.585e-06/0.7497, allocations: 0 / 0.96 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.7501, allocations: 0.5313 MB / 0.9605 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003389/0.7504, allocations: 273 kB / 0.9608 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.7507, allocations: 0.6785 MB / 0.9614 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.538e-05/0.7507, allocations: 8.688 kB / 0.9615 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of SimCode: time 4.4e-07/0.7507, allocations: 1.469 kB / 0.9615 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of Templates: time 0.004836/0.7555, allocations: 2.356 MB / 0.9638 GB, free: 12.79 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile make -j1 -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile clang++ -std=c++14 -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.0.0+maint.om/Resources/C-Sources""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeCalcHelperMain.o OMCppBuildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeCalcHelperMain.cpp In file included from OMCppBuildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeFunctions.cpp:7: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/Resources/C-Sources/pythonWrapper.c:35:3: error: use of undeclared identifier 'pythonExchangeValuesNoModelica' pythonExchangeValuesNoModelica( ^ 1 error generated. make: *** [: OMCppBuildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeCalcHelperMain.o] Error 1