Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001697/0.001697, allocations: 107.8 kB / 15.99 MB, free: 5.914 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.001824/0.001825, allocations: 190.8 kB / 16.91 MB, free: 5.754 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.417/1.417, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.712/2.712, allocations: 469.8 MB / 0.7427 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 68.23 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3219, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001714/0.3237, allocations: 0.6127 MB / 1.065 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001701/0.3254, allocations: 1.179 MB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.545e-05/0.3254, allocations: 0 / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 7.892e-05/0.3255, allocations: 7.922 kB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.375e-05/0.3256, allocations: 0 / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005837/0.3262, allocations: 255.6 kB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.3263, allocations: 79.8 kB / 1.066 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.072e-05/0.3263, allocations: 4 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.603e-05/0.3264, allocations: 39.91 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.025e-05/0.3265, allocations: 43.91 kB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.3265, allocations: 0 / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003409/0.3268, allocations: 191.7 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.017e-05/0.3269, allocations: 7.984 kB / 1.066 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.089e-05/0.3269, allocations: 31.84 kB / 1.067 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.3272, allocations: 187.7 kB / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.3272, allocations: 0 / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.052e-06/0.3272, allocations: 0 / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.3272, allocations: 0 / 1.067 GB, free: 12.47 MB / 0.8419 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.0004389/0.3276, allocations: 449.3 kB / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.3277, allocations: 12.62 kB / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.722e-05/0.3278, allocations: 84.22 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.3279, allocations: 251.5 kB / 1.067 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.921e-05/0.328, allocations: 158.9 kB / 1.068 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.862e-05/0.3281, allocations: 158.9 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.904e-05/0.3282, allocations: 105.1 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.498e-05/0.3282, allocations: 83.28 kB / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.138e-05/0.3283, allocations: 150.6 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.464e-05/0.3284, allocations: 150.6 kB / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.871e-05/0.3284, allocations: 150.6 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003454/0.3288, allocations: 473.8 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.611e-05/0.3289, allocations: 169.1 kB / 1.069 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.692e-05/0.3289, allocations: 88.08 kB / 1.069 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.422e-05/0.329, allocations: 79.27 kB / 1.069 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.791e-05/0.329, allocations: 109.8 kB / 1.069 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.329, allocations: 0 / 1.069 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 8.735e-05/0.3291, allocations: 41.64 kB / 1.069 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.803e-05/0.3292, allocations: 134.7 kB / 1.069 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.3294, allocations: 141.6 kB / 1.07 GB, free: 9.34 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.011e-05/0.3294, allocations: 29.7 kB / 1.07 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.272e-05/0.3295, allocations: 96.03 kB / 1.07 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.333e-06/0.3295, allocations: 0 / 1.07 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.74e-05/0.3296, allocations: 41.7 kB / 1.07 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.3297, allocations: 318.8 kB / 1.07 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.3298, allocations: 63.95 kB / 1.07 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.3299, allocations: 63.94 kB / 1.07 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.3301, allocations: 94.52 kB / 1.07 GB, free: 8.613 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.3301, allocations: 0 / 1.07 GB, free: 8.613 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004368/0.3305, allocations: 231.1 kB / 1.07 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.591e-05/0.3306, allocations: 41.69 kB / 1.07 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-06/0.3306, allocations: 0 / 1.07 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.3306, allocations: 0 / 1.07 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.555e-06/0.3306, allocations: 4.062 kB / 1.07 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.3306, allocations: 64 / 1.07 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003035/0.3309, allocations: 31.88 kB / 1.071 GB, free: 8.293 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.803e-05/0.331, allocations: 15.98 kB / 1.071 GB, free: 8.277 MB / 0.8419 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.0001363/0.3311, allocations: 194.9 kB / 1.071 GB, free: 8.078 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.87e-05/0.3312, allocations: 116.8 kB / 1.071 GB, free: 7.957 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.503e-05/0.3313, allocations: 112.5 kB / 1.071 GB, free: 7.84 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-05/0.3314, allocations: 184.3 kB / 1.071 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.892e-05/0.3315, allocations: 184.2 kB / 1.071 GB, free: 7.465 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-05/0.3315, allocations: 176.3 kB / 1.071 GB, free: 7.285 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000256/0.3318, allocations: 413.2 kB / 1.072 GB, free: 6.824 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.261e-05/0.3318, allocations: 104.9 kB / 1.072 GB, free: 6.715 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.16e-05/0.3319, allocations: 108.9 kB / 1.072 GB, free: 6.602 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.064e-05/0.332, allocations: 188.1 kB / 1.072 GB, free: 6.41 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.525e-05/0.3321, allocations: 180.3 kB / 1.072 GB, free: 6.227 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-05/0.3321, allocations: 180.2 kB / 1.073 GB, free: 6.043 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.542e-05/0.3322, allocations: 180.2 kB / 1.073 GB, free: 5.859 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.3324, allocations: 315.7 kB / 1.073 GB, free: 5.527 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.953e-05/0.3325, allocations: 186 kB / 1.073 GB, free: 5.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.946e-05/0.3326, allocations: 176.3 kB / 1.073 GB, free: 5.141 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.519e-05/0.3327, allocations: 108.9 kB / 1.074 GB, free: 5.027 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.674e-05/0.3327, allocations: 180.3 kB / 1.074 GB, free: 4.844 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.445e-05/0.3328, allocations: 112.9 kB / 1.074 GB, free: 4.727 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.204e-05/0.3329, allocations: 108.7 kB / 1.074 GB, free: 4.621 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3329, allocations: 0 / 1.074 GB, free: 4.621 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003319/0.3332, allocations: 67.98 kB / 1.074 GB, free: 4.555 MB / 0.8419 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.0007849/0.334, allocations: 408.8 kB / 1.074 GB, free: 4.223 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002788/0.3343, allocations: 215.3 kB / 1.075 GB, free: 4 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.3343, allocations: 0 / 1.075 GB, free: 4 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.3343, allocations: 0 / 1.075 GB, free: 4 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.3347, allocations: 459.7 kB / 1.075 GB, free: 3.547 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003065/0.335, allocations: 273.8 kB / 1.075 GB, free: 3.246 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.3353, allocations: 0.6768 MB / 1.076 GB, free: 2.543 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.801e-05/0.3354, allocations: 15.44 kB / 1.076 GB, free: 2.527 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.3354, allocations: 0 / 1.076 GB, free: 2.527 MB / 0.8419 GB Notification: Performance of Templates: time 0.004251/0.3396, allocations: 2.363 MB / 1.078 GB, free: 176 kB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile make -j1 -f Buildings_11_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 11.1.0-maint.11.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 11.1.0-maint.11.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeCalcHelperMain.o OMCppBuildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeCalcHelperMain.cpp In file included from OMCppBuildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeFunctions.cpp:7: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/Resources/C-Sources/pythonWrapper.c:35:3: error: use of undeclared identifier 'pythonExchangeValuesNoModelica' pythonExchangeValuesNoModelica( ^ 1 error generated. make: *** [: OMCppBuildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeCalcHelperMain.o] Error 1