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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 108.7 kB / 17.07 MB, free: 6.082 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.001698/0.001698, allocations: 189.2 kB / 20.02 MB, free: 3.168 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.429/1.429, allocations: 222.9 MB / 245.7 MB, free: 4.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.903/2.903, allocations: 489.3 MB / 0.7687 GB, free: 3.777 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002251/0.002252, allocations: 67.89 kB / 1.103 GB, free: 0.793 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.035/1.037, allocations: 163.8 MB / 1.263 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001966/1.039, allocations: 0.5508 MB / 1.263 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001682/1.041, allocations: 1.186 MB / 1.264 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.595e-05/1.041, allocations: 0.875 kB / 1.264 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001185/1.041, allocations: 16.38 kB / 1.264 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.878e-05/1.041, allocations: 0.9062 kB / 1.264 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007247/1.042, allocations: 278.9 kB / 1.265 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001834/1.042, allocations: 74.48 kB / 1.265 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.446e-05/1.042, allocations: 7.953 kB / 1.265 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.178e-05/1.042, allocations: 36.44 kB / 1.265 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/1.043, allocations: 43.23 kB / 1.265 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.926e-05/1.043, allocations: 2.812 kB / 1.265 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004724/1.043, allocations: 214.4 kB / 1.265 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.921e-05/1.043, allocations: 8.359 kB / 1.265 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.496e-05/1.043, allocations: 27.2 kB / 1.265 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000441/1.044, allocations: 260.2 kB / 1.265 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/1.044, allocations: 0.7812 kB / 1.265 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.583e-06/1.044, allocations: 0 / 1.265 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.52e-06/1.044, allocations: 3.938 kB / 1.265 GB, free: 6.5 MB / 0.9981 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.0004145/1.044, allocations: 444.5 kB / 1.266 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/1.044, allocations: 9.125 kB / 1.266 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.589e-05/1.044, allocations: 90.97 kB / 1.266 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/1.044, allocations: 252.1 kB / 1.266 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.169e-05/1.044, allocations: 161.7 kB / 1.266 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.407e-05/1.044, allocations: 157.7 kB / 1.266 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.329e-05/1.044, allocations: 105.1 kB / 1.266 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/1.044, allocations: 76.52 kB / 1.266 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/1.045, allocations: 163.2 kB / 1.267 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/1.045, allocations: 150.6 kB / 1.267 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.377e-05/1.045, allocations: 156.1 kB / 1.267 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002271/1.045, allocations: 468.6 kB / 1.267 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.606e-05/1.045, allocations: 179.5 kB / 1.267 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.631e-05/1.045, allocations: 80.14 kB / 1.268 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/1.045, allocations: 76.03 kB / 1.268 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/1.045, allocations: 111 kB / 1.268 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/1.045, allocations: 0 / 1.268 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 9.069e-05/1.045, allocations: 41.39 kB / 1.268 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/1.045, allocations: 131.5 kB / 1.268 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/1.045, allocations: 145.2 kB / 1.268 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/1.045, allocations: 28.61 kB / 1.268 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.347e-05/1.045, allocations: 94.3 kB / 1.268 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-06/1.045, allocations: 0 / 1.268 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.239e-05/1.045, allocations: 42.3 kB / 1.268 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.079e-05/1.045, allocations: 318.7 kB / 1.269 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/1.046, allocations: 59.56 kB / 1.269 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/1.046, allocations: 67.64 kB / 1.269 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/1.046, allocations: 91.08 kB / 1.269 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.046, allocations: 0 / 1.269 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004396/1.046, allocations: 236.4 kB / 1.269 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.963e-05/1.046, allocations: 46.05 kB / 1.269 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/1.046, allocations: 1.344 kB / 1.269 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/1.046, allocations: 0.6094 kB / 1.269 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.525e-06/1.046, allocations: 0 / 1.269 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/1.046, allocations: 4.781 kB / 1.269 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003324/1.047, allocations: 31.77 kB / 1.269 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.907e-05/1.047, allocations: 13.17 kB / 1.269 GB, free: 2.848 MB / 0.9981 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 8.499e-05/1.047, allocations: 201.4 kB / 1.269 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.691e-05/1.047, allocations: 113.7 kB / 1.269 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.358e-05/1.047, allocations: 111.6 kB / 1.269 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-05/1.047, allocations: 177.8 kB / 1.27 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001382/1.047, allocations: 194.1 kB / 1.27 GB, free: 18.05 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.461e-05/1.047, allocations: 177.8 kB / 1.27 GB, free: 17.87 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/1.048, allocations: 413.5 kB / 1.27 GB, free: 17.42 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.682e-05/1.048, allocations: 106.4 kB / 1.27 GB, free: 17.31 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.609e-05/1.048, allocations: 110.4 kB / 1.271 GB, free: 17.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.048e-05/1.048, allocations: 186.1 kB / 1.271 GB, free: 17.01 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.68e-05/1.048, allocations: 181.8 kB / 1.271 GB, free: 16.83 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.58e-05/1.048, allocations: 177.9 kB / 1.271 GB, free: 16.65 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.712e-05/1.048, allocations: 182.4 kB / 1.271 GB, free: 16.46 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/1.048, allocations: 319.6 kB / 1.272 GB, free: 16.14 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.103e-05/1.048, allocations: 183.6 kB / 1.272 GB, free: 15.93 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.471e-05/1.048, allocations: 179.5 kB / 1.272 GB, free: 15.75 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.936e-05/1.048, allocations: 106.3 kB / 1.272 GB, free: 15.64 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.572e-05/1.049, allocations: 178 kB / 1.272 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-05/1.049, allocations: 107 kB / 1.272 GB, free: 15.36 MB / 1.014 GB Notification: Performance of sorting global known variables: time 8.687e-05/1.049, allocations: 108.8 kB / 1.272 GB, free: 15.27 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.049, allocations: 4.844 kB / 1.272 GB, free: 15.27 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004379/1.049, allocations: 75.94 kB / 1.272 GB, free: 15.25 MB / 1.014 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.0009976/1.05, allocations: 402 kB / 1.273 GB, free: 15.01 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003372/1.051, allocations: 212.3 kB / 1.273 GB, free: 14.89 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/1.051, allocations: 0 / 1.273 GB, free: 14.89 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 3.546e-06/1.051, allocations: 5.406 kB / 1.273 GB, free: 14.89 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000443/1.051, allocations: 466.1 kB / 1.273 GB, free: 14.43 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003382/1.051, allocations: 249.4 kB / 1.274 GB, free: 14.2 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/1.052, allocations: 0.6794 MB / 1.274 GB, free: 13.5 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.565e-05/1.052, allocations: 9.531 kB / 1.274 GB, free: 13.5 MB / 1.014 GB Notification: Performance of SimCode: time 2.1e-07/1.052, allocations: 0 / 1.274 GB, free: 13.5 MB / 1.014 GB Notification: Performance of Templates: time 0.005142/1.057, allocations: 2.379 MB / 1.277 GB, free: 13.23 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile [Timeout 300] make -j1 -f Buildings_latest_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 12.0.0-master/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 12.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 12.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 [Calling os._exit(0), Time elapsed: 8.295048510888591] Failed to read output from testmodel.py, exit status != 0: 1.0644451619591564 1.077546259 0.03120490999999994 Calling exit ...