Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "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: 193.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "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: 225.6 MB / 248.5 MB, free: 3.594 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.705/2.705, allocations: 443.5 MB / 0.7293 GB, free: 14.47 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=2500,variableFilter="time|yR1.1.|yI1.1.|yR2.1.|yR2.2.|yI2.1.|yI2.2.",fileNamePrefix="Buildings_10_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=2500,variableFilter="time|yR1.1.|yI1.1.|yR2.1.|yR2.2.|yI2.1.|yI2.2.",fileNamePrefix="Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 71.88 kB / 1.057 GB, free: 1.926 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3429, allocations: 160.7 MB / 1.214 GB, free: 0.8945 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.002458/0.3453, allocations: 0.5438 MB / 1.215 GB, free: 352 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002364/0.3477, allocations: 1.211 MB / 1.216 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.139e-05/0.3477, allocations: 0 / 1.216 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001246/0.3479, allocations: 7.938 kB / 1.216 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.324e-05/0.3479, allocations: 0 / 1.216 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007779/0.3487, allocations: 287.2 kB / 1.216 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001895/0.3489, allocations: 79.86 kB / 1.216 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.705e-05/0.3489, allocations: 4 kB / 1.216 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.037e-05/0.349, allocations: 39.91 kB / 1.216 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.3491, allocations: 51.81 kB / 1.216 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.949e-05/0.3491, allocations: 4 kB / 1.216 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004234/0.3495, allocations: 199.7 kB / 1.216 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.454e-05/0.3496, allocations: 11.92 kB / 1.216 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.346e-05/0.3496, allocations: 31.86 kB / 1.216 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003727/0.35, allocations: 251.3 kB / 1.217 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.35, allocations: 4 kB / 1.217 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.533e-06/0.35, allocations: 3.938 kB / 1.217 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.35, allocations: 0 / 1.217 GB, free: 14.17 MB / 0.9669 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.0005285/0.3506, allocations: 444.5 kB / 1.217 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.3506, allocations: 8.031 kB / 1.217 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.108e-05/0.3507, allocations: 88.16 kB / 1.217 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.3509, allocations: 263.6 kB / 1.217 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.452e-05/0.351, allocations: 150.9 kB / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.545e-05/0.3511, allocations: 162.9 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.139e-05/0.3511, allocations: 109.1 kB / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.76e-05/0.3512, allocations: 79.22 kB / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.99e-05/0.3513, allocations: 150.6 kB / 1.218 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-05/0.3513, allocations: 150.6 kB / 1.218 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.082e-05/0.3514, allocations: 158.5 kB / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003548/0.3517, allocations: 469.9 kB / 1.219 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.3518, allocations: 169.1 kB / 1.219 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.722e-05/0.3519, allocations: 80.14 kB / 1.219 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.03e-05/0.3519, allocations: 83.28 kB / 1.219 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.646e-05/0.352, allocations: 109.8 kB / 1.219 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.352, allocations: 0 / 1.219 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.0001039/0.3521, allocations: 41.59 kB / 1.219 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.946e-05/0.3522, allocations: 130.7 kB / 1.219 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.3523, allocations: 144.5 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.3524, allocations: 29.7 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.13e-05/0.3524, allocations: 96.12 kB / 1.22 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.387e-06/0.3524, allocations: 0 / 1.22 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.755e-05/0.3525, allocations: 37.7 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.3527, allocations: 322.8 kB / 1.22 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.3528, allocations: 55.95 kB / 1.22 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.3529, allocations: 63.94 kB / 1.22 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.353, allocations: 102.4 kB / 1.22 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.353, allocations: 0 / 1.22 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004241/0.3535, allocations: 227.2 kB / 1.22 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.501e-05/0.3535, allocations: 49.75 kB / 1.22 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3535, allocations: 0 / 1.22 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.3535, allocations: 0 / 1.22 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.21e-07/0.3535, allocations: 0 / 1.22 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.3535, allocations: 0 / 1.22 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003475/0.3539, allocations: 27.92 kB / 1.221 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.014e-05/0.3539, allocations: 15.98 kB / 1.221 GB, free: 9.977 MB / 0.9669 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.0001407/0.3541, allocations: 193.1 kB / 1.221 GB, free: 9.777 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.335e-05/0.3541, allocations: 124.8 kB / 1.221 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.135e-05/0.3542, allocations: 104.5 kB / 1.221 GB, free: 9.535 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.533e-05/0.3543, allocations: 180.3 kB / 1.221 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.124e-05/0.3544, allocations: 184.3 kB / 1.221 GB, free: 9.164 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.288e-05/0.3544, allocations: 176.3 kB / 1.221 GB, free: 8.984 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002842/0.3547, allocations: 429.2 kB / 1.222 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.196e-05/0.3548, allocations: 101 kB / 1.222 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.991e-05/0.3548, allocations: 104.9 kB / 1.222 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.653e-05/0.3549, allocations: 188.2 kB / 1.222 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.136e-05/0.355, allocations: 176.3 kB / 1.222 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.518e-05/0.355, allocations: 184.2 kB / 1.223 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.57e-05/0.3551, allocations: 188.2 kB / 1.223 GB, free: 7.543 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.3553, allocations: 307.7 kB / 1.223 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.3554, allocations: 190 kB / 1.223 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.665e-05/0.3555, allocations: 184.2 kB / 1.223 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.78e-05/0.3556, allocations: 109 kB / 1.224 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.983e-05/0.3556, allocations: 176.3 kB / 1.224 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.612e-05/0.3557, allocations: 104.9 kB / 1.224 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.679e-05/0.3558, allocations: 111.2 kB / 1.224 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3558, allocations: 3.938 kB / 1.224 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003847/0.3562, allocations: 67.8 kB / 1.224 GB, free: 6.238 MB / 0.9669 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.001/0.3572, allocations: 407.1 kB / 1.224 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002851/0.3574, allocations: 155.3 kB / 1.224 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3574, allocations: 0 / 1.224 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.19e-06/0.3575, allocations: 3.938 kB / 1.224 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004181/0.3579, allocations: 462 kB / 1.225 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004057/0.3583, allocations: 257.7 kB / 1.225 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.3586, allocations: 0.6807 MB / 1.226 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.077e-05/0.3586, allocations: 11.5 kB / 1.226 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of SimCode: time 3.11e-07/0.3586, allocations: 0 / 1.226 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of Templates: time 0.005444/0.3641, allocations: 2.36 MB / 1.228 GB, free: 1.93 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile [Timeout 300] make -j1 -f Buildings_10_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_2/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 10.1.1-maint.10.0.x/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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 10.1.1-maint.10.0.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeCalcHelperMain.o OMCppBuildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeCalcHelperMain.cpp In file included from OMCppBuildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeFunctions.cpp:7: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/pythonWrapper.c:35:3: error: use of undeclared identifier 'pythonExchangeValuesNoModelica' pythonExchangeValuesNoModelica( ^ 1 error generated. make: *** [: OMCppBuildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 7.835921311983839] Failed to read output from testmodel.py, exit status != 0: 0.3728981390595436 0.38775589699999996 0.034560473 Calling exit ...