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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009976/0.0009975, allocations: 98.88 kB / 16.02 MB, free: 76 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.001147/0.001147, allocations: 186.5 kB / 16.92 MB, free: 6.77 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: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.688/2.688, allocations: 437.8 MB / 0.7128 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003653/0.0003654, allocations: 8 kB / 0.8735 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7844/0.7847, allocations: 153.8 MB / 1.024 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.0009889/0.7858, allocations: 279.9 kB / 1.024 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0022/0.788, allocations: 1.191 MB / 1.025 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.591e-05/0.7881, allocations: 0 / 1.025 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.7882, allocations: 7.984 kB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.748e-05/0.7883, allocations: 4 kB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008328/0.7891, allocations: 243.5 kB / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.7893, allocations: 71.86 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.49e-05/0.7893, allocations: 8 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.247e-05/0.7894, allocations: 35.92 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.684e-05/0.7895, allocations: 43.83 kB / 1.026 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.196e-05/0.7896, allocations: 4 kB / 1.026 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005069/0.7901, allocations: 179.7 kB / 1.026 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.522e-05/0.7901, allocations: 11.92 kB / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.7902, allocations: 65.55 kB / 1.026 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003562/0.7906, allocations: 179.7 kB / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.7906, allocations: 0 / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.114e-06/0.7906, allocations: 0 / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.7906, allocations: 3.938 kB / 1.026 GB, free: 13.57 MB / 0.7794 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.0005376/0.7912, allocations: 423.1 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.7912, allocations: 8.031 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/0.7913, allocations: 88.12 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.7916, allocations: 259.6 kB / 1.027 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.91e-05/0.7916, allocations: 150.9 kB / 1.027 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.043e-05/0.7917, allocations: 162.9 kB / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.288e-05/0.7918, allocations: 113 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.402e-05/0.7919, allocations: 79.28 kB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.078e-05/0.792, allocations: 150.6 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.679e-05/0.792, allocations: 154.6 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.904e-05/0.7921, allocations: 150.6 kB / 1.028 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003866/0.7925, allocations: 473.9 kB / 1.028 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.7926, allocations: 173.1 kB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.683e-05/0.7926, allocations: 80.14 kB / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.453e-05/0.7927, allocations: 79.28 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.804e-05/0.7928, allocations: 113.8 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.643e-06/0.7928, allocations: 0 / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0001103/0.7929, allocations: 37.61 kB / 1.029 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.611e-05/0.793, allocations: 126.7 kB / 1.029 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.7932, allocations: 156 kB / 1.029 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.101e-05/0.7932, allocations: 29.7 kB / 1.029 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.155e-05/0.7933, allocations: 88.14 kB / 1.029 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.836e-06/0.7933, allocations: 0 / 1.029 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.806e-05/0.7934, allocations: 17.7 kB / 1.029 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.7936, allocations: 326.8 kB / 1.029 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.7937, allocations: 59.94 kB / 1.029 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.7938, allocations: 59.95 kB / 1.029 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.794, allocations: 94.52 kB / 1.029 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.794, allocations: 0 / 1.029 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004213/0.7944, allocations: 231.1 kB / 1.03 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.387e-05/0.7945, allocations: 45.69 kB / 1.03 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.7945, allocations: 0 / 1.03 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.7945, allocations: 4 kB / 1.03 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.142e-06/0.7945, allocations: 4 kB / 1.03 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.7946, allocations: 3.984 kB / 1.03 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003257/0.7949, allocations: 27.83 kB / 1.03 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-05/0.7949, allocations: 15.98 kB / 1.03 GB, free: 9.414 MB / 0.7794 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.0001779/0.7951, allocations: 197.6 kB / 1.03 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.069e-05/0.7952, allocations: 112.8 kB / 1.03 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.006e-05/0.7953, allocations: 112.5 kB / 1.03 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-05/0.7954, allocations: 180.3 kB / 1.03 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.573e-05/0.7955, allocations: 184.2 kB / 1.03 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.313e-05/0.7955, allocations: 184.2 kB / 1.031 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002774/0.7958, allocations: 409.2 kB / 1.031 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.114e-05/0.7959, allocations: 104.9 kB / 1.031 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.765e-05/0.7959, allocations: 108.9 kB / 1.031 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.172e-05/0.796, allocations: 180.3 kB / 1.031 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.692e-05/0.7961, allocations: 184.2 kB / 1.032 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.165e-05/0.7962, allocations: 184.3 kB / 1.032 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.613e-05/0.7963, allocations: 180.3 kB / 1.032 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001735/0.7965, allocations: 311.8 kB / 1.032 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.877e-05/0.7966, allocations: 201.8 kB / 1.032 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.784e-05/0.7967, allocations: 184.3 kB / 1.033 GB, free: 6.258 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.733e-05/0.7968, allocations: 104.9 kB / 1.033 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.885e-05/0.7969, allocations: 180.2 kB / 1.033 GB, free: 5.965 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-05/0.7969, allocations: 105 kB / 1.033 GB, free: 5.855 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.33e-05/0.797, allocations: 107.2 kB / 1.033 GB, free: 5.75 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.994e-06/0.797, allocations: 0 / 1.033 GB, free: 5.75 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003809/0.7974, allocations: 71.92 kB / 1.033 GB, free: 5.68 MB / 0.7794 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.01238/0.8098, allocations: 395.7 kB / 1.034 GB, free: 5.355 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003733/0.8102, allocations: 215.3 kB / 1.034 GB, free: 5.133 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.8102, allocations: 0 / 1.034 GB, free: 5.133 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.993e-06/0.8102, allocations: 4 kB / 1.034 GB, free: 5.129 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004758/0.8107, allocations: 0.5313 MB / 1.034 GB, free: 4.594 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004337/0.8111, allocations: 263.9 kB / 1.035 GB, free: 4.301 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.8115, allocations: 0.677 MB / 1.035 GB, free: 3.598 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.902e-05/0.8115, allocations: 19.38 kB / 1.035 GB, free: 3.578 MB / 0.7794 GB Notification: Performance of SimCode: time 4.51e-07/0.8115, allocations: 0 / 1.035 GB, free: 3.578 MB / 0.7794 GB Notification: Performance of Templates: time 0.004886/0.8164, allocations: 2.345 MB / 1.037 GB, free: 1.242 MB / 0.7794 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++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 10.1.0-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.0-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.0-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