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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001652/0.001659, allocations: 105.3 kB / 15.98 MB, free: 6.352 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.00167/0.00167, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.462/1.462, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.918/2.918, allocations: 482.4 MB / 0.755 GB, free: 7.137 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 63.55 kB / 0.924 GB, free: 340 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.039/1.041, allocations: 162.2 MB / 1.082 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.002105/1.043, allocations: 0.6006 MB / 1.083 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001678/1.045, allocations: 1.18 MB / 1.084 GB, free: 464 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.704e-05/1.045, allocations: 1.469 kB / 1.084 GB, free: 464 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001066/1.045, allocations: 1.406 kB / 1.084 GB, free: 464 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.172e-05/1.045, allocations: 9.375 kB / 1.084 GB, free: 456 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007208/1.045, allocations: 250.2 kB / 1.084 GB, free: 340 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001635/1.046, allocations: 84.64 kB / 1.084 GB, free: 316 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.304e-05/1.046, allocations: 8.438 kB / 1.085 GB, free: 312 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.705e-05/1.046, allocations: 39.8 kB / 1.085 GB, free: 300 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.552e-05/1.046, allocations: 37.88 kB / 1.085 GB, free: 292 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/1.046, allocations: 3.344 kB / 1.085 GB, free: 292 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004307/1.046, allocations: 188 kB / 1.085 GB, free: 224 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.825e-05/1.046, allocations: 5.359 kB / 1.085 GB, free: 224 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.367e-05/1.046, allocations: 37.36 kB / 1.085 GB, free: 204 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003427/1.047, allocations: 187 kB / 1.085 GB, free: 156 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/1.047, allocations: 1.406 kB / 1.085 GB, free: 156 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.753e-06/1.047, allocations: 0 / 1.085 GB, free: 156 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.719e-06/1.047, allocations: 4 kB / 1.085 GB, free: 152 kB / 0.8262 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.0005422/1.047, allocations: 442 kB / 1.085 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/1.047, allocations: 10.34 kB / 1.085 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/1.048, allocations: 81.81 kB / 1.085 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/1.048, allocations: 257.4 kB / 1.086 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-05/1.048, allocations: 153.2 kB / 1.086 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.964e-05/1.048, allocations: 164.9 kB / 1.086 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.006e-05/1.048, allocations: 106.2 kB / 1.086 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.096e-05/1.048, allocations: 76.17 kB / 1.086 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.233e-05/1.048, allocations: 154.6 kB / 1.086 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.07e-05/1.048, allocations: 155.6 kB / 1.087 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.545e-05/1.048, allocations: 150.6 kB / 1.087 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004018/1.049, allocations: 477.6 kB / 1.087 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/1.049, allocations: 174.4 kB / 1.087 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.965e-05/1.049, allocations: 81.3 kB / 1.087 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.288e-05/1.049, allocations: 75.28 kB / 1.087 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.933e-05/1.049, allocations: 115.3 kB / 1.088 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/1.049, allocations: 0 / 1.088 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 0.0001075/1.049, allocations: 40.89 kB / 1.088 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.224e-05/1.049, allocations: 128.4 kB / 1.088 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/1.049, allocations: 150.8 kB / 1.088 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.247e-05/1.049, allocations: 29.27 kB / 1.088 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.361e-05/1.05, allocations: 90.25 kB / 1.088 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-06/1.05, allocations: 0 / 1.088 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.721e-05/1.05, allocations: 45.75 kB / 1.088 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001795/1.05, allocations: 318.8 kB / 1.088 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/1.05, allocations: 63.88 kB / 1.088 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/1.05, allocations: 64.31 kB / 1.088 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/1.05, allocations: 91.58 kB / 1.089 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.05, allocations: 0 / 1.089 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004807/1.051, allocations: 231.5 kB / 1.089 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.838e-05/1.051, allocations: 47.2 kB / 1.089 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/1.051, allocations: 4.062 kB / 1.089 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/1.051, allocations: 0 / 1.089 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.613e-06/1.051, allocations: 0.8125 kB / 1.089 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/1.051, allocations: 0 / 1.089 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003365/1.051, allocations: 28.8 kB / 1.089 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.894e-05/1.051, allocations: 13.03 kB / 1.089 GB, free: 12.51 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.0001795/1.052, allocations: 199.1 kB / 1.089 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.562e-05/1.052, allocations: 112.7 kB / 1.089 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.705e-05/1.052, allocations: 116 kB / 1.089 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001034/1.052, allocations: 178.3 kB / 1.089 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.636e-05/1.052, allocations: 177.4 kB / 1.09 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001121/1.052, allocations: 186.5 kB / 1.09 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003095/1.052, allocations: 409.9 kB / 1.09 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.072e-05/1.052, allocations: 110.1 kB / 1.09 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.179e-05/1.052, allocations: 106 kB / 1.09 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.179e-05/1.053, allocations: 179 kB / 1.091 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.69e-05/1.053, allocations: 180.2 kB / 1.091 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.745e-05/1.053, allocations: 186.2 kB / 1.091 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001088/1.053, allocations: 186.1 kB / 1.091 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/1.053, allocations: 320.4 kB / 1.091 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/1.053, allocations: 188.7 kB / 1.092 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/1.053, allocations: 178.1 kB / 1.092 GB, free: 9.422 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.63e-05/1.053, allocations: 107.2 kB / 1.092 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/1.054, allocations: 180.3 kB / 1.092 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.248e-05/1.054, allocations: 106.6 kB / 1.092 GB, free: 9.02 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001126/1.054, allocations: 107 kB / 1.092 GB, free: 8.938 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/1.054, allocations: 0 / 1.092 GB, free: 8.938 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004847/1.054, allocations: 72.72 kB / 1.092 GB, free: 8.918 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.001095/1.055, allocations: 397.2 kB / 1.093 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003738/1.056, allocations: 213.1 kB / 1.093 GB, free: 8.562 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.056, allocations: 0 / 1.093 GB, free: 8.562 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.866e-06/1.056, allocations: 5.469 kB / 1.093 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004531/1.056, allocations: 458.1 kB / 1.093 GB, free: 8.109 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004083/1.057, allocations: 272.4 kB / 1.094 GB, free: 7.859 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/1.057, allocations: 0.6835 MB / 1.094 GB, free: 7.16 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.797e-05/1.057, allocations: 9.812 kB / 1.094 GB, free: 7.152 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/1.057, allocations: 0 / 1.094 GB, free: 7.152 MB / 0.8419 GB Notification: Performance of Templates: time 0.005515/1.063, allocations: 2.365 MB / 1.097 GB, free: 6.898 MB / 0.8419 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++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 12.0.0-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 12.0.0-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 12.0.0-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