Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001357/0.001357, allocations: 113.3 kB / 16.41 MB, free: 6.457 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.001375/0.001375, allocations: 185.5 kB / 17.34 MB, free: 5.723 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.188/2.188, allocations: 390.3 MB / 0.6655 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 67.89 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8846/0.8858, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001933/0.8878, allocations: 0.5545 MB / 1.089 GB, free: 5.203 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001721/0.8895, allocations: 1.191 MB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.045e-05/0.8896, allocations: 1.125 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.845e-05/0.8897, allocations: 6.156 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.64e-05/0.8898, allocations: 0.5625 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007672/0.8905, allocations: 287.2 kB / 1.091 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.8907, allocations: 74.59 kB / 1.091 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.145e-05/0.8908, allocations: 4.234 kB / 1.091 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.68e-05/0.8908, allocations: 40.64 kB / 1.091 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.8909, allocations: 46.72 kB / 1.091 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.891, allocations: 3.281 kB / 1.091 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004458/0.8914, allocations: 201.1 kB / 1.091 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.983e-05/0.8915, allocations: 9.266 kB / 1.091 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.489e-05/0.8915, allocations: 35.17 kB / 1.091 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004313/0.892, allocations: 253.7 kB / 1.091 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.892, allocations: 0.7812 kB / 1.091 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.044e-06/0.892, allocations: 0.7969 kB / 1.091 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.892, allocations: 0 / 1.091 GB, free: 4.027 MB / 0.8575 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.000413/0.8924, allocations: 447.6 kB / 1.092 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.8924, allocations: 10.2 kB / 1.092 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.83e-05/0.8925, allocations: 82.47 kB / 1.092 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.8926, allocations: 255.9 kB / 1.092 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/0.8927, allocations: 158.1 kB / 1.092 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.642e-05/0.8927, allocations: 161.6 kB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.925e-05/0.8928, allocations: 109 kB / 1.092 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.8928, allocations: 77.05 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/0.8928, allocations: 150.6 kB / 1.093 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.057e-05/0.8929, allocations: 155.3 kB / 1.093 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.158e-05/0.8929, allocations: 155 kB / 1.093 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002354/0.8931, allocations: 469.5 kB / 1.093 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.752e-05/0.8932, allocations: 171 kB / 1.094 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.869e-05/0.8932, allocations: 84.14 kB / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.8932, allocations: 79.28 kB / 1.094 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.8933, allocations: 111.5 kB / 1.094 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.8933, allocations: 4.812 kB / 1.094 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 9.761e-05/0.8934, allocations: 32.84 kB / 1.094 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.8934, allocations: 127.5 kB / 1.094 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.8936, allocations: 145.6 kB / 1.094 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.8936, allocations: 32.45 kB / 1.094 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.002e-05/0.8936, allocations: 94.42 kB / 1.094 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-06/0.8937, allocations: 0.875 kB / 1.094 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.119e-05/0.8937, allocations: 41.69 kB / 1.094 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.8939, allocations: 319.2 kB / 1.095 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.894, allocations: 59.11 kB / 1.095 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.8941, allocations: 59.55 kB / 1.095 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.8943, allocations: 98.94 kB / 1.095 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.8943, allocations: 8.094 kB / 1.095 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004383/0.8947, allocations: 228.7 kB / 1.095 GB, free: 16.44 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.555e-05/0.8948, allocations: 46.55 kB / 1.095 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.8948, allocations: 0.7188 kB / 1.095 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.8948, allocations: 0 / 1.095 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.8948, allocations: 0.7812 kB / 1.095 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.8948, allocations: 0.7969 kB / 1.095 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003241/0.8952, allocations: 31.25 kB / 1.095 GB, free: 16.39 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.132e-05/0.8952, allocations: 14.14 kB / 1.095 GB, free: 16.39 MB / 0.8731 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.0001434/0.8954, allocations: 201.2 kB / 1.095 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.706e-05/0.8955, allocations: 120.6 kB / 1.095 GB, free: 16.08 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.749e-05/0.8955, allocations: 108.8 kB / 1.095 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.568e-05/0.8956, allocations: 178.1 kB / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.796e-05/0.8957, allocations: 182 kB / 1.096 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.69e-05/0.8958, allocations: 185.9 kB / 1.096 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/0.896, allocations: 417.2 kB / 1.096 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.229e-05/0.8961, allocations: 102.6 kB / 1.096 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.555e-05/0.8961, allocations: 106.7 kB / 1.097 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.597e-05/0.8962, allocations: 181.1 kB / 1.097 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.264e-05/0.8962, allocations: 182.6 kB / 1.097 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.335e-05/0.8963, allocations: 189.7 kB / 1.097 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.745e-05/0.8964, allocations: 177.7 kB / 1.097 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.8965, allocations: 312 kB / 1.098 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.731e-05/0.8966, allocations: 188.1 kB / 1.098 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.082e-05/0.8967, allocations: 187.7 kB / 1.098 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.717e-05/0.8967, allocations: 102.6 kB / 1.098 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.612e-05/0.8968, allocations: 181.5 kB / 1.098 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.253e-05/0.8969, allocations: 101.7 kB / 1.098 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 7.928e-05/0.8969, allocations: 107 kB / 1.098 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8969, allocations: 0 / 1.098 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.00044/0.8974, allocations: 72.72 kB / 1.098 GB, free: 12.8 MB / 0.8731 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.0007576/0.8982, allocations: 409.9 kB / 1.099 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000329/0.8985, allocations: 212.8 kB / 1.099 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.8985, allocations: 0 / 1.099 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.447e-06/0.8985, allocations: 4.562 kB / 1.099 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.8989, allocations: 458.8 kB / 1.1 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003794/0.8993, allocations: 255.5 kB / 1.1 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.8996, allocations: 0.6792 MB / 1.1 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.603e-05/0.8996, allocations: 9.516 kB / 1.1 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.8996, allocations: 0.5938 kB / 1.1 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of Templates: time 0.005485/0.9051, allocations: 2.361 MB / 1.103 GB, free: 10.79 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile make -j1 -f Buildings_9_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 9.1.3-maint.9.1.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 9.1.3-maint.9.1.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeCalcHelperMain.o OMCppBuildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeCalcHelperMain.cpp In file included from OMCppBuildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeFunctions.cpp:7: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Resources/C-Sources/pythonWrapper.c:35:3: error: use of undeclared identifier 'pythonExchangeValuesNoModelica' pythonExchangeValuesNoModelica( ^ 1 error generated. make: *** [: OMCppBuildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeCalcHelperMain.o] Error 1