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.001823/0.001831, allocations: 109.1 kB / 16.27 MB, free: 6.41 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.002067/0.002068, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.465/1.465, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.844/2.844, allocations: 482.4 MB / 0.7553 GB, free: 7.035 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 67.97 kB / 0.9245 GB, free: 44 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9083/0.9103, allocations: 162.2 MB / 1.083 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.00186/0.9122, allocations: 0.5351 MB / 1.083 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001651/0.9139, allocations: 1.196 MB / 1.085 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.49e-05/0.9139, allocations: 0 / 1.085 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.783e-05/0.9141, allocations: 14.22 kB / 1.085 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.359e-05/0.9141, allocations: 4.734 kB / 1.085 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000864/0.915, allocations: 274.9 kB / 1.085 GB, free: 388 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001751/0.9152, allocations: 70.75 kB / 1.085 GB, free: 376 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.188e-05/0.9153, allocations: 4.875 kB / 1.085 GB, free: 376 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.813e-05/0.9153, allocations: 40.11 kB / 1.085 GB, free: 364 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.965e-05/0.9154, allocations: 34.64 kB / 1.085 GB, free: 352 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.577e-05/0.9155, allocations: 6.188 kB / 1.085 GB, free: 348 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005397/0.916, allocations: 188 kB / 1.085 GB, free: 280 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.345e-05/0.916, allocations: 12.83 kB / 1.085 GB, free: 272 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.939e-05/0.9161, allocations: 32.11 kB / 1.085 GB, free: 256 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000518/0.9167, allocations: 252.1 kB / 1.086 GB, free: 180 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.9167, allocations: 1.375 kB / 1.086 GB, free: 180 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.022e-06/0.9167, allocations: 0 / 1.086 GB, free: 180 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.9167, allocations: 0.75 kB / 1.086 GB, free: 180 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.0005927/0.9173, allocations: 442 kB / 1.086 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.9174, allocations: 9.688 kB / 1.086 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.9175, allocations: 82.59 kB / 1.086 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.9178, allocations: 263.5 kB / 1.086 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.445e-05/0.9179, allocations: 158.4 kB / 1.086 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.918, allocations: 157.1 kB / 1.087 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.51e-05/0.9181, allocations: 107.4 kB / 1.087 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.137e-05/0.9181, allocations: 75.28 kB / 1.087 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.37e-05/0.9182, allocations: 154.6 kB / 1.087 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.485e-05/0.9183, allocations: 151.1 kB / 1.087 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.07e-05/0.9184, allocations: 151.6 kB / 1.087 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000478/0.9189, allocations: 477.2 kB / 1.088 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.919, allocations: 170.3 kB / 1.088 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.955e-05/0.9191, allocations: 85.52 kB / 1.088 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.738e-05/0.9191, allocations: 76.22 kB / 1.088 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.005e-05/0.9192, allocations: 109.8 kB / 1.088 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 1.683e-06/0.9192, allocations: 5.531 kB / 1.088 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 0.0001418/0.9194, allocations: 43.73 kB / 1.088 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.793e-05/0.9195, allocations: 131.8 kB / 1.088 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.9197, allocations: 148.7 kB / 1.088 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.434e-05/0.9198, allocations: 28.92 kB / 1.088 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.394e-05/0.9199, allocations: 90.14 kB / 1.088 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.056e-06/0.9199, allocations: 0 / 1.088 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.92, allocations: 43.39 kB / 1.089 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.9202, allocations: 318.6 kB / 1.089 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.9203, allocations: 58.94 kB / 1.089 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.9205, allocations: 63.5 kB / 1.089 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002024/0.9207, allocations: 93.94 kB / 1.089 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.9207, allocations: 1.688 kB / 1.089 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006006/0.9214, allocations: 231.4 kB / 1.089 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.75e-05/0.9214, allocations: 46.8 kB / 1.089 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.9215, allocations: 0.7969 kB / 1.089 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.9215, allocations: 0 / 1.089 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.442e-06/0.9215, allocations: 1.406 kB / 1.089 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.9215, allocations: 0 / 1.089 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004109/0.9219, allocations: 28.09 kB / 1.089 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-05/0.922, allocations: 17.08 kB / 1.089 GB, free: 12.54 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.0001813/0.9222, allocations: 198.4 kB / 1.09 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.9223, allocations: 112.7 kB / 1.09 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.531e-05/0.9224, allocations: 111.5 kB / 1.09 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.232e-05/0.9225, allocations: 182 kB / 1.09 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.76e-05/0.9226, allocations: 186.6 kB / 1.09 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.342e-05/0.9227, allocations: 178.7 kB / 1.09 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003338/0.923, allocations: 412.8 kB / 1.091 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.086e-05/0.9231, allocations: 106.5 kB / 1.091 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.167e-05/0.9232, allocations: 105.8 kB / 1.091 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.518e-05/0.9233, allocations: 186.1 kB / 1.091 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.577e-05/0.9234, allocations: 190.6 kB / 1.091 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.794e-05/0.9235, allocations: 178.2 kB / 1.091 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-05/0.9236, allocations: 184.9 kB / 1.092 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/0.9238, allocations: 311.8 kB / 1.092 GB, free: 9.832 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.9239, allocations: 192.6 kB / 1.092 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.924, allocations: 178.5 kB / 1.092 GB, free: 9.441 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.9242, allocations: 106.5 kB / 1.092 GB, free: 9.332 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.982e-05/0.9243, allocations: 178.2 kB / 1.092 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.008e-05/0.9243, allocations: 106.5 kB / 1.093 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001086/0.9245, allocations: 109.8 kB / 1.093 GB, free: 8.961 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9245, allocations: 4 kB / 1.093 GB, free: 8.957 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005798/0.9251, allocations: 75.94 kB / 1.093 GB, free: 8.93 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.001306/0.9264, allocations: 399.4 kB / 1.093 GB, free: 8.695 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000441/0.9268, allocations: 212.5 kB / 1.093 GB, free: 8.574 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.9268, allocations: 0 / 1.093 GB, free: 8.574 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.336e-06/0.9269, allocations: 1.312 kB / 1.093 GB, free: 8.574 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005361/0.9274, allocations: 462 kB / 1.094 GB, free: 8.121 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004574/0.9279, allocations: 252 kB / 1.094 GB, free: 7.891 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.9283, allocations: 0.6792 MB / 1.095 GB, free: 7.195 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.067e-05/0.9283, allocations: 9.062 kB / 1.095 GB, free: 7.188 MB / 0.8419 GB Notification: Performance of SimCode: time 3e-07/0.9283, allocations: 0 / 1.095 GB, free: 7.188 MB / 0.8419 GB Notification: Performance of Templates: time 0.006905/0.9352, allocations: 2.363 MB / 1.097 GB, free: 6.938 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++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 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