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.001711/0.001711, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001846/0.001846, allocations: 216.9 kB / 22.99 MB, free: 4.945 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.52/1.52, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.29/3.29, allocations: 0.4892 GB / 0.7951 GB, free: 35.66 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.002104/0.002104, allocations: 69.23 kB / 1.154 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3973/0.3995, allocations: 176.1 MB / 1.326 GB, free: 2.031 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.002615/0.4021, allocations: 0.5532 MB / 1.327 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002876/0.4049, allocations: 1.262 MB / 1.328 GB, free: 220 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.064e-05/0.405, allocations: 3.938 kB / 1.328 GB, free: 216 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000117/0.4051, allocations: 7.938 kB / 1.328 GB, free: 208 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.914e-05/0.4051, allocations: 4 kB / 1.328 GB, free: 204 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.4062, allocations: 293.9 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002268/0.4064, allocations: 75.8 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.664e-05/0.4065, allocations: 4 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.2e-05/0.4066, allocations: 47.89 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.4067, allocations: 47.83 kB / 1.329 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.199e-05/0.4067, allocations: 0 / 1.329 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006009/0.4073, allocations: 219.6 kB / 1.329 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.431e-05/0.4074, allocations: 4 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.136e-05/0.4075, allocations: 31.84 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005441/0.408, allocations: 263.2 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.408, allocations: 0 / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.903e-06/0.408, allocations: 0 / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.408, allocations: 0 / 1.329 GB, free: 15.23 MB / 1.029 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.0006083/0.4086, allocations: 367.4 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.4087, allocations: 12.03 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001354/0.4088, allocations: 92.17 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.409, allocations: 193.8 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.735e-05/0.4091, allocations: 158.9 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.4092, allocations: 154.9 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.4094, allocations: 109.1 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.317e-05/0.4094, allocations: 75.28 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.79e-05/0.4095, allocations: 150.6 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.93e-05/0.4096, allocations: 150.6 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.4097, allocations: 154.6 kB / 1.331 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004367/0.4101, allocations: 425.5 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.4103, allocations: 173.1 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.971e-05/0.4103, allocations: 80.14 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001254/0.4104, allocations: 75.28 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.648e-05/0.4105, allocations: 109.8 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.4105, allocations: 0 / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001356/0.4106, allocations: 41.58 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.296e-05/0.4107, allocations: 126.7 kB / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.411, allocations: 145.7 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.576e-05/0.411, allocations: 33.64 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.38e-05/0.4111, allocations: 92.09 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-06/0.4111, allocations: 4 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.4112, allocations: 45.69 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.4114, allocations: 314.8 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/0.4116, allocations: 101.6 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.4118, allocations: 105.6 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001957/0.412, allocations: 98.52 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.412, allocations: 0 / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005995/0.4126, allocations: 268.9 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.054e-05/0.4126, allocations: 41.62 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.4126, allocations: 4 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.4126, allocations: 4.062 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.203e-06/0.4126, allocations: 0 / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.4126, allocations: 0 / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004456/0.4131, allocations: 23.92 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.016e-05/0.4131, allocations: 16 kB / 1.333 GB, free: 11.14 MB / 1.029 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.0001733/0.4133, allocations: 193.6 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.4134, allocations: 112.9 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.4135, allocations: 124.4 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.403e-05/0.4136, allocations: 180.3 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001066/0.4137, allocations: 184.2 kB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001053/0.4138, allocations: 180.3 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004154/0.4143, allocations: 360.9 kB / 1.334 GB, free: 9.742 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.2e-05/0.4143, allocations: 108.9 kB / 1.334 GB, free: 9.629 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.126e-05/0.4144, allocations: 105 kB / 1.334 GB, free: 9.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000102/0.4145, allocations: 184.2 kB / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001619/0.4146, allocations: 180.2 kB / 1.335 GB, free: 9.148 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001268/0.4148, allocations: 180.3 kB / 1.335 GB, free: 8.965 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001011/0.4149, allocations: 180.2 kB / 1.335 GB, free: 8.781 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002644/0.4151, allocations: 323.6 kB / 1.335 GB, free: 8.441 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.845e-05/0.4152, allocations: 101 kB / 1.335 GB, free: 8.336 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.4153, allocations: 192.2 kB / 1.336 GB, free: 8.141 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.4155, allocations: 108.9 kB / 1.336 GB, free: 8.027 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.789e-05/0.4156, allocations: 176.3 kB / 1.336 GB, free: 7.848 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6e-05/0.4156, allocations: 116.9 kB / 1.336 GB, free: 7.727 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.108e-05/0.4157, allocations: 109.3 kB / 1.336 GB, free: 7.621 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4157, allocations: 0 / 1.336 GB, free: 7.621 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003777/0.4161, allocations: 71.75 kB / 1.336 GB, free: 7.551 MB / 1.029 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.001044/0.4171, allocations: 419.4 kB / 1.337 GB, free: 7.219 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000314/0.4174, allocations: 185 kB / 1.337 GB, free: 7.02 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.064e-06/0.4174, allocations: 0 / 1.337 GB, free: 7.02 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.164e-06/0.4174, allocations: 0 / 1.337 GB, free: 7.02 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004782/0.4179, allocations: 471.4 kB / 1.337 GB, free: 6.559 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004055/0.4183, allocations: 249.9 kB / 1.337 GB, free: 6.281 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.903e-05/0.4184, allocations: 63.34 kB / 1.337 GB, free: 6.199 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.828e-05/0.4184, allocations: 11.38 kB / 1.337 GB, free: 6.188 MB / 1.029 GB Notification: Performance of SimCode: time 4.51e-07/0.4184, allocations: 0 / 1.337 GB, free: 6.188 MB / 1.029 GB Notification: Performance of Templates: time 0.004792/0.4232, allocations: 2.375 MB / 1.34 GB, free: 3.82 MB / 1.029 GB " [Timeout remaining time 300] 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 -DOMC_BUILD -DUSE_THREAD -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: 8.580985193140805] Failed to read output from testmodel.py, exit status != 0: 0.4321831138804555 0.44671465699999996 0.035526721000000004 Calling exit ...