Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.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.001533/0.001533, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.002294/0.002294, allocations: 220.3 kB / 23.05 MB, free: 4.844 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.512/1.512, allocations: 230.6 MB / 256.8 MB, free: 7.77 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.186/3.186, allocations: 0.49 GB / 0.7959 GB, free: 35.52 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.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|yR1.1.|yR2.1.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject") translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|yR1.1.|yR2.1.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject") [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.002001/0.002001, allocations: 67 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3773, allocations: 176.1 MB / 1.327 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001893/0.3792, allocations: 0.5412 MB / 1.328 GB, free: 412 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001916/0.3811, allocations: 1.208 MB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.641e-05/0.3811, allocations: 8 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.3812, allocations: 4 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.019e-05/0.3813, allocations: 3.938 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006004/0.3819, allocations: 183.4 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.797e-05/0.3819, allocations: 15.92 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.832e-05/0.382, allocations: 0 / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.928e-05/0.382, allocations: 12 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.776e-05/0.3821, allocations: 15.91 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.3821, allocations: 0 / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003842/0.3825, allocations: 207.7 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.316e-05/0.3825, allocations: 11.98 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.688e-05/0.3825, allocations: 3.984 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003184/0.3828, allocations: 191.5 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3828, allocations: 0 / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.704e-06/0.3828, allocations: 0 / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.33e-05/0.3829, allocations: 4 kB / 1.329 GB, free: 14.54 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.0004096/0.3833, allocations: 297.8 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.3833, allocations: 8.031 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.248e-05/0.3834, allocations: 80.22 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.3835, allocations: 181.8 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.467e-05/0.3836, allocations: 158.9 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.966e-05/0.3837, allocations: 154.9 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.3838, allocations: 109 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.946e-05/0.3838, allocations: 79.28 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.14e-05/0.3839, allocations: 150.6 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.459e-05/0.384, allocations: 150.6 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.898e-05/0.3841, allocations: 150.6 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000357/0.3844, allocations: 405.6 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.3845, allocations: 177.1 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.891e-05/0.3846, allocations: 80.14 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.368e-05/0.3846, allocations: 79.28 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.346e-05/0.3847, allocations: 109.8 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.3847, allocations: 0 / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.358e-05/0.3848, allocations: 33.64 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/0.3848, allocations: 126.7 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.385, allocations: 105.8 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.385, allocations: 29.7 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.072e-05/0.3851, allocations: 80.14 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-06/0.3851, allocations: 3.938 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.541e-05/0.3851, allocations: 25.64 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.3853, allocations: 310.8 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.032e-05/0.3853, allocations: 16 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.697e-05/0.3853, allocations: 59.39 kB / 1.333 GB, free: 11.26 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.982e-05/0.3854, allocations: 20.84 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3854, allocations: 4 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001393/0.3855, allocations: 53.64 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.3856, allocations: 7.938 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3856, allocations: 0 / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.3856, allocations: 3.938 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-06/0.3856, allocations: 128 / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3856, allocations: 8 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.129e-05/0.3857, allocations: 4 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/0.3857, allocations: 7.984 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 2 * 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 prepare postOptimizeDAE: time 0.0001156/0.3858, allocations: 185.6 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.428e-05/0.3859, allocations: 108.9 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.573e-05/0.386, allocations: 112.1 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.419e-05/0.386, allocations: 180.3 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.644e-05/0.3861, allocations: 184.3 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.713e-05/0.3862, allocations: 180.2 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.3865, allocations: 356.9 kB / 1.334 GB, free: 9.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.858e-05/0.3865, allocations: 112.9 kB / 1.334 GB, free: 9.652 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.676e-05/0.3866, allocations: 105 kB / 1.334 GB, free: 9.543 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.481e-05/0.3867, allocations: 176.3 kB / 1.334 GB, free: 9.363 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.232e-05/0.3867, allocations: 184.1 kB / 1.334 GB, free: 9.176 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.701e-05/0.3868, allocations: 180.3 kB / 1.335 GB, free: 8.992 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.217e-05/0.3869, allocations: 184.2 kB / 1.335 GB, free: 8.805 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/0.3871, allocations: 299.8 kB / 1.335 GB, free: 8.488 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.841e-05/0.3872, allocations: 108.9 kB / 1.335 GB, free: 8.375 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.35e-05/0.3873, allocations: 184.2 kB / 1.335 GB, free: 8.188 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.338e-05/0.3873, allocations: 112.9 kB / 1.335 GB, free: 8.07 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.3874, allocations: 180.3 kB / 1.336 GB, free: 7.887 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.48e-05/0.3875, allocations: 101 kB / 1.336 GB, free: 7.781 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.629e-05/0.3876, allocations: 79.28 kB / 1.336 GB, free: 7.703 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3876, allocations: 3.938 kB / 1.336 GB, free: 7.699 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003678/0.3879, allocations: 63.67 kB / 1.336 GB, free: 7.637 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.0009071/0.3888, allocations: 399.5 kB / 1.336 GB, free: 7.312 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001021/0.3889, allocations: 19.91 kB / 1.336 GB, free: 7.293 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3889, allocations: 0 / 1.336 GB, free: 7.293 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.694e-06/0.3889, allocations: 0 / 1.336 GB, free: 7.293 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.3893, allocations: 455.7 kB / 1.337 GB, free: 6.844 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003201/0.3897, allocations: 198 kB / 1.337 GB, free: 6.617 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.812e-05/0.3897, allocations: 59.3 kB / 1.337 GB, free: 6.539 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.3898, allocations: 23.48 kB / 1.337 GB, free: 6.516 MB / 1.029 GB Notification: Performance of SimCode: time 3.81e-07/0.3898, allocations: 0 / 1.337 GB, free: 6.516 MB / 1.029 GB Notification: Performance of Templates: time 0.003415/0.3932, allocations: 1.549 MB / 1.338 GB, free: 4.969 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile [Timeout 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.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.ExchangeWithPassPythonObjectCalcHelperMain.o OMCppBuildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObjectCalcHelperMain.cpp In file included from OMCppBuildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObjectCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObjectFunctions.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.ExchangeWithPassPythonObjectCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 8.422909216023982] Failed to read output from testmodel.py, exit status != 0: 0.40176642104052007 0.41721869500000003 0.031022635000000003 Calling exit ...