Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001381/0.001381, allocations: 102.2 kB / 16.4 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001556/0.001557, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.637/2.637, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 68.11 kB / 1.055 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008/1.009, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.00225/1.011, allocations: 0.544 MB / 1.209 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002037/1.013, allocations: 1.198 MB / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.323e-05/1.014, allocations: 0 / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001148/1.014, allocations: 15.98 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.122e-05/1.014, allocations: 0 / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008885/1.015, allocations: 272.7 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002161/1.015, allocations: 83.8 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.754e-05/1.015, allocations: 4 kB / 1.21 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.202e-05/1.015, allocations: 43.84 kB / 1.211 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/1.015, allocations: 39.91 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/1.015, allocations: 4 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005398/1.016, allocations: 203.7 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.88e-05/1.016, allocations: 11.94 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.169e-05/1.016, allocations: 27.84 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005003/1.016, allocations: 259.5 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/1.016, allocations: 0 / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of FrontEnd: time 5.661e-06/1.016, allocations: 3.984 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.851e-06/1.016, allocations: 0 / 1.211 GB, free: 10.95 MB / 0.9356 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.000576/1.017, allocations: 444.9 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/1.017, allocations: 8.031 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/1.017, allocations: 88.22 kB / 1.212 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/1.017, allocations: 247.6 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.87e-05/1.017, allocations: 158.9 kB / 1.212 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.85e-05/1.017, allocations: 158.9 kB / 1.212 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.864e-05/1.018, allocations: 105.1 kB / 1.212 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.009e-05/1.018, allocations: 75.28 kB / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.799e-05/1.018, allocations: 150.6 kB / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.859e-05/1.018, allocations: 162.5 kB / 1.213 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/1.018, allocations: 150.6 kB / 1.213 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000367/1.018, allocations: 469.9 kB / 1.213 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.186e-05/1.018, allocations: 173.2 kB / 1.213 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.734e-05/1.018, allocations: 88.12 kB / 1.213 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.88e-05/1.018, allocations: 79.28 kB / 1.213 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.904e-05/1.019, allocations: 113.7 kB / 1.214 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/1.019, allocations: 0 / 1.214 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 0.0001156/1.019, allocations: 37.61 kB / 1.214 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/1.019, allocations: 126.7 kB / 1.214 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/1.019, allocations: 147.5 kB / 1.214 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/1.019, allocations: 33.7 kB / 1.214 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.729e-05/1.019, allocations: 92.12 kB / 1.214 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.855e-06/1.019, allocations: 0 / 1.214 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.819e-05/1.019, allocations: 41.69 kB / 1.214 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001294/1.019, allocations: 318.8 kB / 1.214 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/1.019, allocations: 59.94 kB / 1.214 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/1.019, allocations: 59.95 kB / 1.214 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/1.02, allocations: 98.45 kB / 1.215 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/1.02, allocations: 4.031 kB / 1.215 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003975/1.02, allocations: 227.2 kB / 1.215 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.142e-05/1.02, allocations: 45.69 kB / 1.215 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/1.02, allocations: 3.984 kB / 1.215 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/1.02, allocations: 0 / 1.215 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.473e-06/1.02, allocations: 0 / 1.215 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/1.02, allocations: 3.984 kB / 1.215 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003504/1.021, allocations: 27.89 kB / 1.215 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.083e-05/1.021, allocations: 15.98 kB / 1.215 GB, free: 6.766 MB / 0.9356 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.000147/1.021, allocations: 209.1 kB / 1.215 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.859e-05/1.021, allocations: 116.8 kB / 1.215 GB, free: 6.43 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.33e-05/1.021, allocations: 104.5 kB / 1.215 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-05/1.021, allocations: 184.2 kB / 1.215 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.63e-05/1.021, allocations: 184.3 kB / 1.216 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.15e-05/1.021, allocations: 180.4 kB / 1.216 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002639/1.021, allocations: 417.2 kB / 1.216 GB, free: 5.289 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.116e-05/1.021, allocations: 101 kB / 1.216 GB, free: 5.184 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.977e-05/1.021, allocations: 108.9 kB / 1.216 GB, free: 5.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.448e-05/1.022, allocations: 180.2 kB / 1.217 GB, free: 4.887 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-05/1.022, allocations: 184.3 kB / 1.217 GB, free: 4.699 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.93e-05/1.022, allocations: 184.2 kB / 1.217 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.506e-05/1.022, allocations: 176.3 kB / 1.217 GB, free: 4.332 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/1.022, allocations: 323.7 kB / 1.217 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.752e-05/1.022, allocations: 182 kB / 1.218 GB, free: 3.789 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.588e-05/1.022, allocations: 184.2 kB / 1.218 GB, free: 3.602 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.463e-05/1.022, allocations: 101 kB / 1.218 GB, free: 3.496 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.176e-05/1.022, allocations: 188.2 kB / 1.218 GB, free: 3.305 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-05/1.022, allocations: 101 kB / 1.218 GB, free: 3.199 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.277e-05/1.022, allocations: 104.4 kB / 1.218 GB, free: 3.098 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.21e-07/1.022, allocations: 0 / 1.218 GB, free: 3.098 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003814/1.023, allocations: 75.88 kB / 1.218 GB, free: 3.023 MB / 0.9356 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.0007969/1.024, allocations: 403.1 kB / 1.219 GB, free: 2.695 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003037/1.024, allocations: 219.3 kB / 1.219 GB, free: 2.469 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.024, allocations: 0 / 1.219 GB, free: 2.469 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.326e-06/1.024, allocations: 0 / 1.219 GB, free: 2.469 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/1.024, allocations: 455.7 kB / 1.219 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004042/1.025, allocations: 253.9 kB / 1.22 GB, free: 1.738 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/1.025, allocations: 0.6807 MB / 1.22 GB, free: 1.031 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.749e-05/1.025, allocations: 11.44 kB / 1.22 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of SimCode: time 5.41e-07/1.025, allocations: 0 / 1.22 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of Templates: time 0.005483/1.031, allocations: 2.367 MB / 1.223 GB, free: 14.67 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile make -j1 -f Buildings_latest_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.0.0+maint.om/Resources/C-Sources""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 11.0.1-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeCalcHelperMain.o OMCppBuildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeCalcHelperMain.cpp In file included from OMCppBuildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeFunctions.cpp:7: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Resources/C-Sources/pythonWrapper.c:35:3: error: use of undeclared identifier 'pythonExchangeValuesNoModelica' pythonExchangeValuesNoModelica( ^ 1 error generated. make: *** [: OMCppBuildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeCalcHelperMain.o] Error 1