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.0014/0.0014, allocations: 104.6 kB / 16.41 MB, free: 6.488 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.00203/0.00203, allocations: 183 kB / 17.34 MB, free: 5.734 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.413/1.413, 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.609/2.609, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 67.89 kB / 1.055 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9935/0.9951, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.002007/0.9971, allocations: 0.5438 MB / 1.209 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001903/0.9991, allocations: 1.198 MB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.261e-05/0.9991, allocations: 4 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.9992, allocations: 8 kB / 1.21 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.442e-05/0.9993, allocations: 7.922 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008016/1, allocations: 275.3 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001734/1, allocations: 71.88 kB / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.835e-05/1, allocations: 4 kB / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.151e-05/1, allocations: 43.89 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/1.001, allocations: 43.89 kB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.217e-05/1.001, allocations: 4 kB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004604/1.001, allocations: 207.6 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.451e-05/1.001, allocations: 11.94 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.707e-05/1.001, allocations: 31.84 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004171/1.002, allocations: 255.5 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/1.002, allocations: 0 / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.503e-06/1.002, allocations: 0 / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.611e-06/1.002, allocations: 0 / 1.211 GB, free: 10.91 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.0005068/1.002, allocations: 444.9 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/1.002, allocations: 8.031 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/1.002, allocations: 88.22 kB / 1.212 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/1.002, allocations: 255.5 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.511e-05/1.003, allocations: 154.9 kB / 1.212 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-05/1.003, allocations: 158.9 kB / 1.212 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.7e-05/1.003, allocations: 113 kB / 1.212 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/1.003, allocations: 79.27 kB / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-05/1.003, allocations: 154.6 kB / 1.212 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.596e-05/1.003, allocations: 150.6 kB / 1.213 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.404e-05/1.003, allocations: 150.6 kB / 1.213 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003385/1.003, allocations: 469.9 kB / 1.213 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.376e-05/1.003, allocations: 177.1 kB / 1.213 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.455e-05/1.003, allocations: 88.14 kB / 1.213 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.595e-05/1.003, allocations: 75.28 kB / 1.213 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.941e-05/1.004, allocations: 109.8 kB / 1.214 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/1.004, allocations: 0 / 1.214 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 0.0001071/1.004, allocations: 37.61 kB / 1.214 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.578e-05/1.004, allocations: 130.7 kB / 1.214 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/1.004, allocations: 143.5 kB / 1.214 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/1.004, allocations: 29.7 kB / 1.214 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.089e-05/1.004, allocations: 92.08 kB / 1.214 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.895e-06/1.004, allocations: 3.938 kB / 1.214 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.52e-05/1.004, allocations: 41.69 kB / 1.214 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001305/1.004, allocations: 318.8 kB / 1.214 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/1.004, allocations: 59.94 kB / 1.214 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/1.004, allocations: 63.94 kB / 1.214 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/1.005, allocations: 94.53 kB / 1.215 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.005, allocations: 0 / 1.215 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004334/1.005, allocations: 231.2 kB / 1.215 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.177e-05/1.005, allocations: 45.69 kB / 1.215 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/1.005, allocations: 0 / 1.215 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/1.005, allocations: 0 / 1.215 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.685e-06/1.005, allocations: 0 / 1.215 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/1.005, allocations: 3.938 kB / 1.215 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003514/1.006, allocations: 31.89 kB / 1.215 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.001e-05/1.006, allocations: 11.98 kB / 1.215 GB, free: 6.727 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.0001416/1.006, allocations: 201.1 kB / 1.215 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.806e-05/1.006, allocations: 112.8 kB / 1.215 GB, free: 6.402 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.679e-05/1.006, allocations: 108.5 kB / 1.215 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.938e-05/1.006, allocations: 180.3 kB / 1.215 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.328e-05/1.006, allocations: 188.3 kB / 1.216 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.284e-05/1.006, allocations: 184.3 kB / 1.216 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002564/1.006, allocations: 413.2 kB / 1.216 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.577e-05/1.006, allocations: 101 kB / 1.216 GB, free: 5.152 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.252e-05/1.006, allocations: 116.8 kB / 1.216 GB, free: 5.031 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-05/1.007, allocations: 176.3 kB / 1.217 GB, free: 4.852 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.181e-05/1.007, allocations: 188.2 kB / 1.217 GB, free: 4.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.038e-05/1.007, allocations: 180.3 kB / 1.217 GB, free: 4.477 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.899e-05/1.007, allocations: 180.2 kB / 1.217 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001871/1.007, allocations: 311.8 kB / 1.217 GB, free: 3.965 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.049e-05/1.007, allocations: 194 kB / 1.218 GB, free: 3.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.431e-05/1.007, allocations: 180.2 kB / 1.218 GB, free: 3.566 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.997e-05/1.007, allocations: 112.9 kB / 1.218 GB, free: 3.449 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.621e-05/1.007, allocations: 176.3 kB / 1.218 GB, free: 3.27 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-05/1.007, allocations: 101 kB / 1.218 GB, free: 3.164 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.683e-05/1.007, allocations: 109.8 kB / 1.218 GB, free: 3.059 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/1.007, allocations: 4 kB / 1.218 GB, free: 3.055 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003895/1.008, allocations: 71.89 kB / 1.218 GB, free: 2.984 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.02147/1.029, allocations: 399.2 kB / 1.219 GB, free: 2.656 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004072/1.03, allocations: 215.3 kB / 1.219 GB, free: 2.434 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.03, allocations: 0 / 1.219 GB, free: 2.434 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.9e-06/1.03, allocations: 0 / 1.219 GB, free: 2.434 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004581/1.03, allocations: 458.1 kB / 1.219 GB, free: 1.984 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003729/1.031, allocations: 257.8 kB / 1.22 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/1.031, allocations: 0.6768 MB / 1.22 GB, free: 0.9961 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.651e-05/1.031, allocations: 11.44 kB / 1.22 GB, free: 0.9883 MB / 0.9356 GB Notification: Performance of SimCode: time 5.91e-07/1.031, allocations: 0 / 1.22 GB, free: 0.9883 MB / 0.9356 GB Notification: Performance of Templates: time 0.00485/1.036, allocations: 2.379 MB / 1.223 GB, free: 14.62 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