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.001219/0.001219, allocations: 108.1 kB / 16.41 MB, free: 5.973 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.001101/0.001101, allocations: 188.5 kB / 17.34 MB, free: 5.586 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.357/1.357, 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.312/2.312, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 63.89 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01/1.012, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001838/1.014, allocations: 0.5396 MB / 1.089 GB, free: 5.18 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001714/1.015, allocations: 1.204 MB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.704e-05/1.016, allocations: 1.031 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001076/1.016, allocations: 2.141 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.631e-05/1.016, allocations: 5.031 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000724/1.016, allocations: 274.7 kB / 1.091 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001915/1.017, allocations: 83.14 kB / 1.091 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.874e-05/1.017, allocations: 5.141 kB / 1.091 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.106e-05/1.017, allocations: 39.58 kB / 1.091 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/1.017, allocations: 42.78 kB / 1.091 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.426e-05/1.017, allocations: 3.031 kB / 1.091 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004469/1.017, allocations: 205.1 kB / 1.091 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.084e-05/1.017, allocations: 4.984 kB / 1.091 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.377e-05/1.017, allocations: 36.55 kB / 1.091 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004288/1.018, allocations: 252.3 kB / 1.091 GB, free: 4 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/1.018, allocations: 5.438 kB / 1.091 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.593e-06/1.018, allocations: 0 / 1.091 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.991e-06/1.018, allocations: 0.9688 kB / 1.091 GB, free: 3.996 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.0004611/1.018, allocations: 443.6 kB / 1.092 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/1.018, allocations: 10.48 kB / 1.092 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.597e-05/1.019, allocations: 82.28 kB / 1.092 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/1.019, allocations: 255.7 kB / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.446e-05/1.019, allocations: 161.9 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.857e-05/1.019, allocations: 161.4 kB / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.378e-05/1.019, allocations: 105.8 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/1.019, allocations: 80 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/1.019, allocations: 150.6 kB / 1.093 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.026e-05/1.019, allocations: 155.2 kB / 1.093 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.508e-05/1.019, allocations: 156.1 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000225/1.019, allocations: 468.9 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.589e-05/1.019, allocations: 169.9 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.327e-05/1.019, allocations: 93.41 kB / 1.094 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/1.019, allocations: 76.22 kB / 1.094 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/1.019, allocations: 115.6 kB / 1.094 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/1.019, allocations: 0 / 1.094 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.817e-05/1.019, allocations: 31.67 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/1.019, allocations: 128.1 kB / 1.094 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/1.02, allocations: 144.9 kB / 1.094 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/1.02, allocations: 32.61 kB / 1.094 GB, free: 1 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.244e-05/1.02, allocations: 99.23 kB / 1.094 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-06/1.02, allocations: 0 / 1.094 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.392e-05/1.02, allocations: 42.22 kB / 1.094 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001221/1.02, allocations: 318.8 kB / 1.095 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/1.02, allocations: 62.97 kB / 1.095 GB, free: 16.56 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/1.02, allocations: 59.81 kB / 1.095 GB, free: 16.55 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/1.02, allocations: 94.48 kB / 1.095 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.02, allocations: 5.25 kB / 1.095 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004425/1.021, allocations: 227.8 kB / 1.095 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.805e-05/1.021, allocations: 42.69 kB / 1.095 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/1.021, allocations: 0 / 1.095 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/1.021, allocations: 0.875 kB / 1.095 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.593e-06/1.021, allocations: 0.8125 kB / 1.095 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/1.021, allocations: 0.7031 kB / 1.095 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003092/1.021, allocations: 30.84 kB / 1.095 GB, free: 16.36 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.261e-05/1.021, allocations: 17.81 kB / 1.095 GB, free: 16.36 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.0001493/1.021, allocations: 201.6 kB / 1.095 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.794e-05/1.022, allocations: 117.7 kB / 1.095 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.613e-05/1.022, allocations: 107.6 kB / 1.095 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.557e-05/1.022, allocations: 182.7 kB / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.04e-05/1.022, allocations: 178 kB / 1.096 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.39e-05/1.022, allocations: 185.8 kB / 1.096 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000234/1.022, allocations: 417.1 kB / 1.096 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.044e-05/1.022, allocations: 102.8 kB / 1.096 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.005e-05/1.022, allocations: 114 kB / 1.097 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-05/1.022, allocations: 178.4 kB / 1.097 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.495e-05/1.022, allocations: 181.6 kB / 1.097 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.265e-05/1.022, allocations: 185.8 kB / 1.097 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.986e-05/1.022, allocations: 182.5 kB / 1.097 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/1.023, allocations: 311.3 kB / 1.098 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.514e-05/1.023, allocations: 188.4 kB / 1.098 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.75e-05/1.023, allocations: 186.5 kB / 1.098 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.662e-05/1.023, allocations: 102.4 kB / 1.098 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.495e-05/1.023, allocations: 182.2 kB / 1.098 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.42e-05/1.023, allocations: 102.3 kB / 1.098 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 8.615e-05/1.023, allocations: 109.3 kB / 1.098 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/1.023, allocations: 0 / 1.098 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004062/1.023, allocations: 72.45 kB / 1.098 GB, free: 12.76 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.007552/1.031, allocations: 399 kB / 1.099 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000444/1.031, allocations: 217 kB / 1.099 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/1.031, allocations: 0 / 1.099 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.857e-06/1.031, allocations: 0.9375 kB / 1.099 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000421/1.032, allocations: 462.5 kB / 1.1 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004064/1.032, allocations: 253.4 kB / 1.1 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/1.033, allocations: 0.679 MB / 1.1 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.001e-05/1.033, allocations: 9.531 kB / 1.1 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of SimCode: time 3.9e-07/1.033, allocations: 0 / 1.1 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of Templates: time 0.00597/1.039, allocations: 2.374 MB / 1.103 GB, free: 10.75 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