Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001302/0.001302, allocations: 108 kB / 16.27 MB, free: 6.406 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.001317/0.001317, allocations: 190.8 kB / 17.2 MB, free: 5.973 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.423/1.423, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.593/2.593, allocations: 437.1 MB / 0.7111 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 63.95 kB / 0.8699 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.327, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001888/0.3289, allocations: 0.5496 MB / 1.019 GB, free: 10.1 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00181/0.3308, allocations: 1.184 MB / 1.02 GB, free: 8.906 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.368e-05/0.3308, allocations: 4 kB / 1.02 GB, free: 8.902 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 8.937e-05/0.3309, allocations: 11.94 kB / 1.02 GB, free: 8.891 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.242e-05/0.331, allocations: 0 / 1.02 GB, free: 8.891 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007113/0.3317, allocations: 284.4 kB / 1.02 GB, free: 8.613 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.3318, allocations: 71.83 kB / 1.02 GB, free: 8.543 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.614e-05/0.3319, allocations: 11.98 kB / 1.02 GB, free: 8.531 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.159e-05/0.3319, allocations: 39.91 kB / 1.02 GB, free: 8.492 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.305e-05/0.332, allocations: 35.84 kB / 1.02 GB, free: 8.457 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.332, allocations: 4 kB / 1.02 GB, free: 8.453 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004096/0.3325, allocations: 187.7 kB / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.664e-05/0.3325, allocations: 11.98 kB / 1.02 GB, free: 8.258 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.911e-05/0.3326, allocations: 31.8 kB / 1.02 GB, free: 8.227 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003629/0.3329, allocations: 247.6 kB / 1.021 GB, free: 7.984 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3329, allocations: 3.938 kB / 1.021 GB, free: 7.98 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3329, allocations: 4 kB / 1.021 GB, free: 7.977 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.333, allocations: 0 / 1.021 GB, free: 7.977 MB / 0.795 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.0004772/0.3334, allocations: 445.3 kB / 1.021 GB, free: 7.488 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.3335, allocations: 8.031 kB / 1.021 GB, free: 7.48 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.37e-05/0.3336, allocations: 88.12 kB / 1.021 GB, free: 7.395 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.3338, allocations: 255.6 kB / 1.021 GB, free: 7.105 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.64e-05/0.3339, allocations: 154.9 kB / 1.021 GB, free: 6.953 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.873e-05/0.334, allocations: 162.9 kB / 1.022 GB, free: 6.793 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.813e-05/0.334, allocations: 105.1 kB / 1.022 GB, free: 6.684 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.333e-05/0.3341, allocations: 75.28 kB / 1.022 GB, free: 6.609 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.869e-05/0.3341, allocations: 150.6 kB / 1.022 GB, free: 6.461 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.754e-05/0.3342, allocations: 150.6 kB / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.11e-05/0.3343, allocations: 154.5 kB / 1.022 GB, free: 6.16 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003876/0.3347, allocations: 477.8 kB / 1.023 GB, free: 5.645 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 9.97e-05/0.3348, allocations: 165.1 kB / 1.023 GB, free: 5.473 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.176e-05/0.3348, allocations: 92.08 kB / 1.023 GB, free: 5.379 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.776e-05/0.3349, allocations: 75.28 kB / 1.023 GB, free: 5.305 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.264e-05/0.3349, allocations: 117.8 kB / 1.023 GB, free: 5.18 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.3349, allocations: 0 / 1.023 GB, free: 5.18 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 9.9e-05/0.335, allocations: 37.64 kB / 1.023 GB, free: 5.137 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.225e-05/0.3351, allocations: 126.7 kB / 1.023 GB, free: 5 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.3353, allocations: 145.7 kB / 1.023 GB, free: 4.848 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.3353, allocations: 29.7 kB / 1.023 GB, free: 4.812 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.645e-05/0.3354, allocations: 92.12 kB / 1.024 GB, free: 4.719 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.3354, allocations: 4 kB / 1.024 GB, free: 4.715 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.438e-05/0.3355, allocations: 41.69 kB / 1.024 GB, free: 4.668 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3356, allocations: 318.8 kB / 1.024 GB, free: 4.348 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.3358, allocations: 59.94 kB / 1.024 GB, free: 4.289 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.3359, allocations: 55.95 kB / 1.024 GB, free: 4.234 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.336, allocations: 98.52 kB / 1.024 GB, free: 4.129 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.336, allocations: 0 / 1.024 GB, free: 4.129 MB / 0.795 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003957/0.3364, allocations: 235 kB / 1.024 GB, free: 3.887 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.866e-05/0.3365, allocations: 45.75 kB / 1.024 GB, free: 3.836 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.3365, allocations: 4 kB / 1.024 GB, free: 3.832 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.3365, allocations: 0 / 1.024 GB, free: 3.832 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.3365, allocations: 0 / 1.024 GB, free: 3.832 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3365, allocations: 3.984 kB / 1.024 GB, free: 3.828 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003117/0.3368, allocations: 23.89 kB / 1.024 GB, free: 3.805 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.368e-05/0.3369, allocations: 11.98 kB / 1.024 GB, free: 3.793 MB / 0.795 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.0001435/0.337, allocations: 201.1 kB / 1.025 GB, free: 3.586 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.682e-05/0.3371, allocations: 120.8 kB / 1.025 GB, free: 3.461 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.771e-05/0.3372, allocations: 112.5 kB / 1.025 GB, free: 3.344 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.954e-05/0.3373, allocations: 184.2 kB / 1.025 GB, free: 3.156 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.445e-05/0.3374, allocations: 188.2 kB / 1.025 GB, free: 2.965 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.115e-05/0.3374, allocations: 180.3 kB / 1.025 GB, free: 2.781 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002664/0.3377, allocations: 417.2 kB / 1.026 GB, free: 2.316 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-05/0.3378, allocations: 105 kB / 1.026 GB, free: 2.207 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.33e-05/0.3378, allocations: 104.9 kB / 1.026 GB, free: 2.098 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.888e-05/0.3379, allocations: 180.2 kB / 1.026 GB, free: 1.914 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-05/0.338, allocations: 184.2 kB / 1.026 GB, free: 1.727 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.285e-05/0.3381, allocations: 184.2 kB / 1.026 GB, free: 1.539 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.207e-05/0.3382, allocations: 180.3 kB / 1.027 GB, free: 1.355 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.3383, allocations: 307.7 kB / 1.027 GB, free: 1.031 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.751e-05/0.3384, allocations: 190 kB / 1.027 GB, free: 0.8203 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.746e-05/0.3385, allocations: 180.2 kB / 1.027 GB, free: 0.6367 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.3386, allocations: 105 kB / 1.027 GB, free: 0.5273 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.059e-05/0.3387, allocations: 184.2 kB / 1.028 GB, free: 348 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.395e-05/0.3388, allocations: 108.9 kB / 1.028 GB, free: 232 kB / 0.795 GB Notification: Performance of sorting global known variables: time 8.041e-05/0.3389, allocations: 105 kB / 1.028 GB, free: 128 kB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3389, allocations: 0 / 1.028 GB, free: 128 kB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003714/0.3393, allocations: 71.98 kB / 1.028 GB, free: 56 kB / 0.795 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.000882/0.3401, allocations: 404.9 kB / 1.028 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003099/0.3405, allocations: 215.3 kB / 1.028 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3405, allocations: 4.062 kB / 1.028 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.964e-06/0.3405, allocations: 0 / 1.028 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.3409, allocations: 459.6 kB / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003504/0.3412, allocations: 258.1 kB / 1.029 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.3416, allocations: 0.6846 MB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.436e-05/0.3416, allocations: 7.438 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.3416, allocations: 0 / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of Templates: time 0.004412/0.346, allocations: 2.374 MB / 1.032 GB, free: 11.68 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile make -j1 -f Buildings_10_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 10.1.1-maint.10.0.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 10.1.1-maint.10.0.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeCalcHelperMain.o OMCppBuildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeCalcHelperMain.cpp In file included from OMCppBuildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeFunctions.cpp:7: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/pythonWrapper.c:35:3: error: use of undeclared identifier 'pythonExchangeValuesNoModelica' pythonExchangeValuesNoModelica( ^ 1 error generated. make: *** [: OMCppBuildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeCalcHelperMain.o] Error 1