Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.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.00125/0.00125, allocations: 111.8 kB / 17.08 MB, free: 6.012 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.001273/0.001273, allocations: 191.7 kB / 20.03 MB, free: 3.082 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.419/1.419, allocations: 222.9 MB / 245.7 MB, free: 4.219 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.687/2.687, allocations: 437.1 MB / 0.7177 GB, free: 4.531 MB / 0.5606 GB " [Timeout remaining time 177] 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.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|yR1.1.|yR2.1.",fileNamePrefix="Buildings_10_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_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 67.89 kB / 1.028 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3189, allocations: 151.6 MB / 1.176 GB, free: 5.93 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001818/0.3208, allocations: 0.54 MB / 1.176 GB, free: 5.383 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001615/0.3224, allocations: 1.121 MB / 1.177 GB, free: 4.254 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.391e-05/0.3225, allocations: 3.938 kB / 1.177 GB, free: 4.25 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 9.38e-05/0.3226, allocations: 15.92 kB / 1.177 GB, free: 4.234 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.474e-05/0.3226, allocations: 0 / 1.177 GB, free: 4.234 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004947/0.3231, allocations: 171.4 kB / 1.178 GB, free: 4.066 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.999e-05/0.3232, allocations: 11.98 kB / 1.178 GB, free: 4.055 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.816e-05/0.3233, allocations: 4 kB / 1.178 GB, free: 4.051 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.271e-05/0.3233, allocations: 4 kB / 1.178 GB, free: 4.047 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.372e-05/0.3233, allocations: 15.97 kB / 1.178 GB, free: 4.031 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.3234, allocations: 0 / 1.178 GB, free: 4.031 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003897/0.3238, allocations: 199.6 kB / 1.178 GB, free: 3.836 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.787e-05/0.3238, allocations: 7.984 kB / 1.178 GB, free: 3.828 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.805e-05/0.3238, allocations: 7.984 kB / 1.178 GB, free: 3.82 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003159/0.3242, allocations: 195.5 kB / 1.178 GB, free: 3.629 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3242, allocations: 0 / 1.178 GB, free: 3.629 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3242, allocations: 4 kB / 1.178 GB, free: 3.625 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.3242, allocations: 0 / 1.178 GB, free: 3.625 MB / 0.92 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.0004332/0.3246, allocations: 374.9 kB / 1.178 GB, free: 3.211 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.3247, allocations: 12.03 kB / 1.178 GB, free: 3.199 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.861e-05/0.3248, allocations: 76.22 kB / 1.179 GB, free: 3.125 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.325, allocations: 239.7 kB / 1.179 GB, free: 2.852 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.034e-05/0.3251, allocations: 154.9 kB / 1.179 GB, free: 2.699 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.539e-05/0.3251, allocations: 154.9 kB / 1.179 GB, free: 2.547 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.525e-05/0.3252, allocations: 109.1 kB / 1.179 GB, free: 2.434 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.887e-05/0.3253, allocations: 75.28 kB / 1.179 GB, free: 2.359 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.432e-05/0.3254, allocations: 158.5 kB / 1.179 GB, free: 2.203 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.584e-05/0.3254, allocations: 150.6 kB / 1.18 GB, free: 2.055 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.725e-05/0.3255, allocations: 158.6 kB / 1.18 GB, free: 1.898 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003558/0.3259, allocations: 449.9 kB / 1.18 GB, free: 1.41 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.326, allocations: 169.2 kB / 1.18 GB, free: 1.234 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.306e-05/0.326, allocations: 84.08 kB / 1.18 GB, free: 1.148 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.622e-05/0.3261, allocations: 75.28 kB / 1.18 GB, free: 1.074 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.255e-05/0.3261, allocations: 113.8 kB / 1.181 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.3262, allocations: 0 / 1.181 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 9.144e-05/0.3263, allocations: 37.64 kB / 1.181 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.8e-05/0.3263, allocations: 126.7 kB / 1.181 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.3265, allocations: 105.8 kB / 1.181 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.3265, allocations: 33.69 kB / 1.181 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.442e-05/0.3266, allocations: 88.08 kB / 1.181 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-06/0.3266, allocations: 4 kB / 1.181 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.688e-05/0.3267, allocations: 17.7 kB / 1.181 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3268, allocations: 314.8 kB / 1.181 GB, free: 192 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.125e-05/0.3269, allocations: 11.94 kB / 1.181 GB, free: 180 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.905e-05/0.3269, allocations: 11.98 kB / 1.181 GB, free: 168 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.129e-05/0.3269, allocations: 20.84 kB / 1.181 GB, free: 144 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.327, allocations: 0 / 1.181 GB, free: 144 kB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001341/0.3271, allocations: 57.72 kB / 1.181 GB, free: 80 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.3271, allocations: 8 kB / 1.181 GB, free: 72 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.3271, allocations: 0 / 1.181 GB, free: 72 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.3272, allocations: 0 / 1.181 GB, free: 72 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.3272, allocations: 0 / 1.181 GB, free: 72 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.3272, allocations: 0 / 1.181 GB, free: 72 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.312e-05/0.3273, allocations: 0 / 1.181 GB, free: 72 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.3273, allocations: 4 kB / 1.181 GB, free: 68 kB / 0.92 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.0001444/0.3274, allocations: 197.1 kB / 1.181 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.938e-05/0.3275, allocations: 109 kB / 1.182 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.736e-05/0.3276, allocations: 108.1 kB / 1.182 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.825e-05/0.3277, allocations: 184.2 kB / 1.182 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.453e-05/0.3278, allocations: 180.2 kB / 1.182 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-05/0.3279, allocations: 180.2 kB / 1.182 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003008/0.3282, allocations: 405.2 kB / 1.183 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.365e-05/0.3282, allocations: 105 kB / 1.183 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.969e-05/0.3283, allocations: 108.9 kB / 1.183 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.623e-05/0.3284, allocations: 176.3 kB / 1.183 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.593e-05/0.3285, allocations: 184.2 kB / 1.183 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.706e-05/0.3286, allocations: 176.3 kB / 1.183 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.555e-05/0.3287, allocations: 184.3 kB / 1.184 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001929/0.3289, allocations: 311.7 kB / 1.184 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.329, allocations: 186 kB / 1.184 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.073e-05/0.3291, allocations: 188.2 kB / 1.184 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.655e-05/0.3292, allocations: 105 kB / 1.184 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.112e-05/0.3293, allocations: 180.2 kB / 1.184 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.204e-05/0.3293, allocations: 109 kB / 1.185 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.933e-05/0.3294, allocations: 75.28 kB / 1.185 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3294, allocations: 7.938 kB / 1.185 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003439/0.3297, allocations: 59.72 kB / 1.185 GB, free: 12.4 MB / 0.9356 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.0008487/0.3306, allocations: 390.7 kB / 1.185 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.017e-05/0.3307, allocations: 15.92 kB / 1.185 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3307, allocations: 0 / 1.185 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.626e-06/0.3307, allocations: 4.062 kB / 1.185 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003937/0.3311, allocations: 452.9 kB / 1.185 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002878/0.3314, allocations: 193.8 kB / 1.186 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.3318, allocations: 0.669 MB / 1.186 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.3319, allocations: 19.42 kB / 1.186 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of SimCode: time 2.61e-07/0.3319, allocations: 4 kB / 1.186 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of Templates: time 0.003531/0.3354, allocations: 1.549 MB / 1.188 GB, free: 9.121 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile [Timeout 300] make -j1 -f Buildings_10_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 -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.ExchangeWithPassPythonObjectCalcHelperMain.o OMCppBuildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObjectCalcHelperMain.cpp In file included from OMCppBuildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObjectCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObjectFunctions.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.ExchangeWithPassPythonObjectCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 7.285874449065886] Failed to read output from testmodel.py, exit status != 0: 0.34258591406978667 0.35583736800000004 0.029018782000000003 Calling exit ...