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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001005/0.001005, allocations: 91.92 kB / 16.02 MB, free: 80 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.001237/0.001238, allocations: 177.4 kB / 16.92 MB, free: 6.652 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.458/1.458, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.701/2.701, allocations: 462.6 MB / 0.7371 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003599/0.0003598, allocations: 11.72 kB / 0.9034 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3172, allocations: 159.6 MB / 1.059 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.000864/0.3181, allocations: 270.2 kB / 1.06 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001923/0.3201, allocations: 1.198 MB / 1.061 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.003e-05/0.3201, allocations: 8 kB / 1.061 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.449e-05/0.3202, allocations: 3.938 kB / 1.061 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.184e-05/0.3203, allocations: 0 / 1.061 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006574/0.3209, allocations: 239.6 kB / 1.061 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.3211, allocations: 75.86 kB / 1.061 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.271e-05/0.3211, allocations: 11.94 kB / 1.061 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.114e-05/0.3212, allocations: 31.97 kB / 1.061 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.915e-05/0.3213, allocations: 43.84 kB / 1.061 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.3213, allocations: 0 / 1.061 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004429/0.3217, allocations: 187.6 kB / 1.061 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.21e-05/0.3218, allocations: 4 kB / 1.061 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.5e-05/0.3219, allocations: 65.55 kB / 1.061 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003085/0.3222, allocations: 183.7 kB / 1.062 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.3222, allocations: 4 kB / 1.062 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3222, allocations: 4 kB / 1.062 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.3222, allocations: 0 / 1.062 GB, free: 2.625 MB / 0.8106 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.0004333/0.3226, allocations: 421.3 kB / 1.062 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.3227, allocations: 11.97 kB / 1.062 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.165e-05/0.3228, allocations: 88.12 kB / 1.062 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.323, allocations: 251.6 kB / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.237e-05/0.3231, allocations: 158.9 kB / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.768e-05/0.3231, allocations: 162.9 kB / 1.063 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.344e-05/0.3232, allocations: 105.1 kB / 1.063 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.99e-05/0.3232, allocations: 75.28 kB / 1.063 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.814e-05/0.3233, allocations: 150.6 kB / 1.063 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.006e-05/0.3234, allocations: 150.6 kB / 1.063 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.003e-05/0.3234, allocations: 158.5 kB / 1.063 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003159/0.3237, allocations: 477.8 kB / 1.064 GB, free: 316 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.376e-05/0.3238, allocations: 169.1 kB / 1.064 GB, free: 136 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.786e-05/0.3239, allocations: 80.14 kB / 1.064 GB, free: 52 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.606e-05/0.3239, allocations: 75.28 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/0.324, allocations: 121.8 kB / 1.064 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.324, allocations: 0 / 1.064 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 9.616e-05/0.3241, allocations: 37.64 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/0.3241, allocations: 126.7 kB / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.3243, allocations: 144.2 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.3243, allocations: 29.7 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.988e-05/0.3244, allocations: 92.12 kB / 1.065 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.3244, allocations: 7.938 kB / 1.065 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-05/0.3245, allocations: 17.72 kB / 1.065 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.3246, allocations: 318.8 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.3247, allocations: 55.95 kB / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.998e-05/0.3248, allocations: 63.94 kB / 1.065 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.3249, allocations: 94.52 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3249, allocations: 0 / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003752/0.3253, allocations: 235 kB / 1.065 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.151e-05/0.3254, allocations: 47.09 kB / 1.065 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.3254, allocations: 4.062 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.3254, allocations: 0 / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.3254, allocations: 0 / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.3254, allocations: 7.984 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003076/0.3257, allocations: 23.88 kB / 1.065 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.57e-05/0.3258, allocations: 12 kB / 1.065 GB, free: 14.48 MB / 0.8262 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.0001271/0.3259, allocations: 197.1 kB / 1.066 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.167e-05/0.326, allocations: 116.8 kB / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.069e-05/0.326, allocations: 116.4 kB / 1.066 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.997e-05/0.3261, allocations: 180.3 kB / 1.066 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.244e-05/0.3262, allocations: 180.2 kB / 1.066 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.654e-05/0.3262, allocations: 176.3 kB / 1.066 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.3265, allocations: 413.2 kB / 1.067 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-05/0.3265, allocations: 117 kB / 1.067 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.934e-05/0.3266, allocations: 108.9 kB / 1.067 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.53e-05/0.3266, allocations: 180.2 kB / 1.067 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.885e-05/0.3267, allocations: 176.3 kB / 1.067 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.728e-05/0.3268, allocations: 176.3 kB / 1.067 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.762e-05/0.3268, allocations: 196.2 kB / 1.068 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.327, allocations: 303.7 kB / 1.068 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.16e-05/0.3271, allocations: 190 kB / 1.068 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.126e-05/0.3272, allocations: 192.1 kB / 1.068 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.207e-05/0.3273, allocations: 108.9 kB / 1.068 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.264e-05/0.3273, allocations: 180.3 kB / 1.069 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.548e-05/0.3274, allocations: 104.9 kB / 1.069 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.148e-05/0.3274, allocations: 109.5 kB / 1.069 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3275, allocations: 4 kB / 1.069 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003727/0.3278, allocations: 71.89 kB / 1.069 GB, free: 10.74 MB / 0.8262 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.0007603/0.3286, allocations: 409.9 kB / 1.069 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002755/0.3289, allocations: 211.3 kB / 1.069 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.3289, allocations: 4.062 kB / 1.069 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.026e-06/0.3289, allocations: 0 / 1.069 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.3293, allocations: 0.532 MB / 1.07 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000338/0.3296, allocations: 267.8 kB / 1.07 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.3299, allocations: 0.677 MB / 1.071 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.616e-05/0.3299, allocations: 11.44 kB / 1.071 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of SimCode: time 3.71e-07/0.3299, allocations: 0 / 1.071 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of Templates: time 0.004596/0.3345, allocations: 2.343 MB / 1.073 GB, free: 6.293 MB / 0.8262 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 11.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 11.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 11.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