Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 116.4 kB / 17.13 MB, free: 6.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 211.2 kB / 20.1 MB, free: 3.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.591/1.591, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.023/3.023, allocations: 0.49 GB / 0.7923 GB, free: 1.328 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 67.91 kB / 1.15 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.068/1.07, allocations: 176.1 MB / 1.322 GB, free: 25.01 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001818/1.072, allocations: 0.535 MB / 1.322 GB, free: 24.69 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001337/1.074, allocations: 1.201 MB / 1.324 GB, free: 23.86 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.409e-05/1.074, allocations: 2.781 kB / 1.324 GB, free: 23.86 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.299e-05/1.074, allocations: 3.281 kB / 1.324 GB, free: 23.86 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.713e-05/1.074, allocations: 0 / 1.324 GB, free: 23.86 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005839/1.074, allocations: 289.4 kB / 1.324 GB, free: 23.72 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001242/1.074, allocations: 77.53 kB / 1.324 GB, free: 23.7 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.342e-05/1.075, allocations: 2.781 kB / 1.324 GB, free: 23.7 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.784e-05/1.075, allocations: 47.62 kB / 1.324 GB, free: 23.68 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.861e-05/1.075, allocations: 47.97 kB / 1.324 GB, free: 23.67 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/1.075, allocations: 6.562 kB / 1.324 GB, free: 23.66 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003089/1.075, allocations: 202.2 kB / 1.324 GB, free: 23.6 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.492e-05/1.075, allocations: 13.73 kB / 1.324 GB, free: 23.59 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.387e-05/1.075, allocations: 26.72 kB / 1.324 GB, free: 23.58 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002725/1.075, allocations: 259.6 kB / 1.325 GB, free: 23.5 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/1.075, allocations: 0 / 1.325 GB, free: 23.5 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.613e-06/1.075, allocations: 3.938 kB / 1.325 GB, free: 23.5 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.679e-06/1.075, allocations: 0 / 1.325 GB, free: 23.5 MB / 1.061 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.0003506/1.076, allocations: 444.7 kB / 1.325 GB, free: 23.07 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/1.076, allocations: 11.98 kB / 1.325 GB, free: 23.07 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.359e-05/1.076, allocations: 96.89 kB / 1.325 GB, free: 22.98 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/1.076, allocations: 253 kB / 1.325 GB, free: 22.7 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.775e-05/1.076, allocations: 153.8 kB / 1.325 GB, free: 22.55 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.865e-05/1.076, allocations: 156.2 kB / 1.326 GB, free: 22.41 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.381e-05/1.076, allocations: 105.1 kB / 1.326 GB, free: 22.3 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/1.076, allocations: 75.28 kB / 1.326 GB, free: 22.22 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/1.076, allocations: 154.6 kB / 1.326 GB, free: 22.07 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/1.076, allocations: 157.1 kB / 1.326 GB, free: 21.92 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.251e-05/1.076, allocations: 154.5 kB / 1.326 GB, free: 21.77 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002041/1.076, allocations: 471.2 kB / 1.327 GB, free: 21.28 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.917e-05/1.076, allocations: 183.2 kB / 1.327 GB, free: 21.09 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.614e-05/1.076, allocations: 80.14 kB / 1.327 GB, free: 21.01 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/1.076, allocations: 75.28 kB / 1.327 GB, free: 20.94 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/1.076, allocations: 113.7 kB / 1.327 GB, free: 20.82 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/1.076, allocations: 2.562 kB / 1.327 GB, free: 20.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 8.194e-05/1.077, allocations: 30.95 kB / 1.327 GB, free: 20.79 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/1.077, allocations: 130.7 kB / 1.327 GB, free: 20.64 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/1.077, allocations: 151.1 kB / 1.327 GB, free: 20.52 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/1.077, allocations: 28.58 kB / 1.327 GB, free: 20.49 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.078e-05/1.077, allocations: 92.56 kB / 1.328 GB, free: 20.41 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-06/1.077, allocations: 0 / 1.328 GB, free: 20.41 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.724e-05/1.077, allocations: 42.38 kB / 1.328 GB, free: 20.39 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.496e-05/1.077, allocations: 317.7 kB / 1.328 GB, free: 20.07 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.822e-05/1.077, allocations: 62.22 kB / 1.328 GB, free: 20.06 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.895e-05/1.077, allocations: 71.72 kB / 1.328 GB, free: 20.04 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/1.077, allocations: 94.25 kB / 1.328 GB, free: 19.99 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/1.077, allocations: 0 / 1.328 GB, free: 19.99 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003344/1.077, allocations: 230.3 kB / 1.328 GB, free: 19.9 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.274e-05/1.077, allocations: 47.36 kB / 1.328 GB, free: 19.86 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/1.077, allocations: 0 / 1.328 GB, free: 19.86 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/1.077, allocations: 0 / 1.328 GB, free: 19.86 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/1.077, allocations: 0 / 1.328 GB, free: 19.86 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/1.078, allocations: 0 / 1.328 GB, free: 19.86 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003146/1.078, allocations: 36.05 kB / 1.328 GB, free: 19.85 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.137e-05/1.078, allocations: 14.45 kB / 1.328 GB, free: 19.85 MB / 1.061 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 7.695e-05/1.078, allocations: 200 kB / 1.329 GB, free: 19.66 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.72e-05/1.078, allocations: 115.7 kB / 1.329 GB, free: 19.54 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.618e-05/1.078, allocations: 107.8 kB / 1.329 GB, free: 19.42 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-05/1.078, allocations: 186.9 kB / 1.329 GB, free: 19.23 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-05/1.078, allocations: 184.3 kB / 1.329 GB, free: 19.05 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.672e-05/1.078, allocations: 182.3 kB / 1.329 GB, free: 18.87 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/1.078, allocations: 410.5 kB / 1.33 GB, free: 18.42 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.499e-05/1.078, allocations: 105 kB / 1.33 GB, free: 18.31 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.854e-05/1.078, allocations: 111.4 kB / 1.33 GB, free: 18.2 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.407e-05/1.078, allocations: 183.6 kB / 1.33 GB, free: 18.01 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/1.078, allocations: 180.3 kB / 1.33 GB, free: 17.83 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-05/1.078, allocations: 182.7 kB / 1.33 GB, free: 17.64 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.109e-05/1.078, allocations: 176.3 kB / 1.331 GB, free: 17.46 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.209e-05/1.078, allocations: 320.8 kB / 1.331 GB, free: 17.14 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.119e-05/1.078, allocations: 183.4 kB / 1.331 GB, free: 16.93 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.474e-05/1.078, allocations: 193 kB / 1.331 GB, free: 16.74 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.439e-05/1.079, allocations: 101.9 kB / 1.331 GB, free: 16.64 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.526e-05/1.079, allocations: 180.8 kB / 1.332 GB, free: 16.45 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/1.079, allocations: 102.6 kB / 1.332 GB, free: 16.35 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.997e-05/1.079, allocations: 110.4 kB / 1.332 GB, free: 16.26 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.079, allocations: 0 / 1.332 GB, free: 16.26 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003709/1.079, allocations: 81.61 kB / 1.332 GB, free: 16.23 MB / 1.061 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.0008461/1.08, allocations: 386.3 kB / 1.332 GB, free: 16.01 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002391/1.08, allocations: 155.5 kB / 1.332 GB, free: 15.93 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/1.08, allocations: 0 / 1.332 GB, free: 15.93 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.924e-06/1.08, allocations: 0.6562 kB / 1.332 GB, free: 15.93 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/1.08, allocations: 466.1 kB / 1.333 GB, free: 15.47 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002709/1.081, allocations: 243 kB / 1.333 GB, free: 15.25 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.706e-05/1.081, allocations: 0.6804 MB / 1.334 GB, free: 14.55 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.26e-05/1.081, allocations: 9.188 kB / 1.334 GB, free: 14.55 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/1.081, allocations: 0 / 1.334 GB, free: 14.55 MB / 1.061 GB Notification: Performance of Templates: time 0.004723/1.085, allocations: 2.371 MB / 1.336 GB, free: 14.29 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile [Timeout 300] make -j1 -f Buildings_12_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.1.0+maint.om/Resources/C-Sources""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.1.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeCalcHelperMain.o OMCppBuildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeCalcHelperMain.cpp In file included from OMCppBuildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeFunctions.cpp:7: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/Resources/C-Sources/pythonWrapper.c:35:3: error: use of undeclared identifier 'pythonExchangeValuesNoModelica' pythonExchangeValuesNoModelica( ^ 1 error generated. make: *** [: OMCppBuildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 9.043693075000192] Failed to read output from testmodel.py, exit status != 0: 1.093406625004718 1.103348041 0.025610596000000003 Calling exit ...