Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|yR1.1.|yR2.1.",fileNamePrefix="Buildings_9_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=5000,variableFilter="time|yR1.1.|yR2.1.",fileNamePrefix="Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 107.2 kB / 15.99 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001862/0.001862, allocations: 189.2 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.267/2.267, allocations: 390.2 MB / 0.665 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 63.73 kB / 0.8127 GB, free: 32.55 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2926, allocations: 140.4 MB / 0.9498 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.002112/0.2948, allocations: 0.5905 MB / 0.9504 GB, free: 8.672 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001688/0.2965, allocations: 1.126 MB / 0.9515 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.121e-05/0.2966, allocations: 0 / 0.9515 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.361e-05/0.2967, allocations: 4 kB / 0.9515 GB, free: 7.535 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.129e-05/0.2967, allocations: 0 / 0.9515 GB, free: 7.535 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005832/0.2973, allocations: 147.7 kB / 0.9516 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.532e-05/0.2974, allocations: 15.98 kB / 0.9516 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.641e-05/0.2975, allocations: 0 / 0.9516 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.998e-05/0.2975, allocations: 15.97 kB / 0.9516 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.278e-05/0.2976, allocations: 4 kB / 0.9516 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.2976, allocations: 3.938 kB / 0.9516 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003972/0.298, allocations: 179.7 kB / 0.9518 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.441e-05/0.298, allocations: 15.98 kB / 0.9518 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.722e-05/0.2981, allocations: 4 kB / 0.9518 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002732/0.2983, allocations: 135.8 kB / 0.952 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2984, allocations: 0 / 0.952 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2984, allocations: 4 kB / 0.952 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.2984, allocations: 0 / 0.952 GB, free: 7.02 MB / 0.7325 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.0004143/0.2988, allocations: 371.4 kB / 0.9523 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.2988, allocations: 8.031 kB / 0.9523 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.768e-05/0.2989, allocations: 80.22 kB / 0.9524 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.2991, allocations: 247.9 kB / 0.9526 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.584e-05/0.2992, allocations: 154.9 kB / 0.9528 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.55e-05/0.2992, allocations: 154.9 kB / 0.9529 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.395e-05/0.2993, allocations: 109 kB / 0.953 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.2993, allocations: 75.28 kB / 0.9531 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.269e-05/0.2994, allocations: 154.6 kB / 0.9533 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.905e-05/0.2994, allocations: 150.6 kB / 0.9534 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.301e-05/0.2995, allocations: 150.6 kB / 0.9535 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002844/0.2998, allocations: 453.9 kB / 0.954 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.283e-05/0.2999, allocations: 173.1 kB / 0.9541 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.3e-05/0.2999, allocations: 80.14 kB / 0.9542 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.432e-05/0.2999, allocations: 79.28 kB / 0.9543 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/0.3, allocations: 113.8 kB / 0.9544 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.352e-06/0.3, allocations: 0 / 0.9544 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 8.321e-05/0.3001, allocations: 33.67 kB / 0.9544 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.637e-05/0.3002, allocations: 134.6 kB / 0.9546 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.3003, allocations: 101.9 kB / 0.9547 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.835e-05/0.3003, allocations: 25.7 kB / 0.9547 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.549e-05/0.3004, allocations: 84.12 kB / 0.9548 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.348e-06/0.3004, allocations: 0 / 0.9548 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.627e-05/0.3005, allocations: 21.66 kB / 0.9548 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.3007, allocations: 314.8 kB / 0.9551 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.36e-05/0.3007, allocations: 7.984 kB / 0.9551 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.936e-05/0.3008, allocations: 12 kB / 0.9551 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.377e-05/0.3009, allocations: 24.84 kB / 0.9551 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3009, allocations: 0 / 0.9551 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001727/0.301, allocations: 61.47 kB / 0.9552 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.3011, allocations: 4 kB / 0.9552 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.3011, allocations: 0 / 0.9552 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.3011, allocations: 3.938 kB / 0.9552 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.083e-06/0.3011, allocations: 0 / 0.9552 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.3011, allocations: 0 / 0.9552 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.3012, allocations: 12.11 kB / 0.9552 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.3013, allocations: 0 / 0.9552 GB, free: 3.461 MB / 0.7325 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.0001349/0.3014, allocations: 187.1 kB / 0.9554 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.182e-05/0.3015, allocations: 108.9 kB / 0.9555 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.25e-05/0.3016, allocations: 119.8 kB / 0.9556 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.245e-05/0.3016, allocations: 176.3 kB / 0.9558 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.863e-05/0.3017, allocations: 180.3 kB / 0.9559 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.97e-05/0.3018, allocations: 184.2 kB / 0.9561 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002454/0.302, allocations: 405.2 kB / 0.9565 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-05/0.3021, allocations: 104.9 kB / 0.9566 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.26e-05/0.3022, allocations: 112.9 kB / 0.9567 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.77e-05/0.3022, allocations: 176.3 kB / 0.9569 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.687e-05/0.3023, allocations: 184.2 kB / 0.9571 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.205e-05/0.3024, allocations: 184.2 kB / 0.9572 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.522e-05/0.3025, allocations: 184.2 kB / 0.9574 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.3027, allocations: 299.8 kB / 0.9577 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.3028, allocations: 194 kB / 0.9579 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.391e-05/0.3029, allocations: 176.3 kB / 0.958 GB, free: 356 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.067e-05/0.303, allocations: 104.9 kB / 0.9581 GB, free: 244 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.149e-05/0.303, allocations: 180.3 kB / 0.9583 GB, free: 56 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-05/0.3031, allocations: 104.9 kB / 0.9584 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 5.206e-05/0.3032, allocations: 87.27 kB / 0.9585 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3032, allocations: 4 kB / 0.9585 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003438/0.3035, allocations: 55.92 kB / 0.9586 GB, free: 15.8 MB / 0.7481 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.0007219/0.3043, allocations: 390.9 kB / 0.9589 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 9.826e-05/0.3044, allocations: 8 kB / 0.9589 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3044, allocations: 0 / 0.9589 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.765e-06/0.3044, allocations: 0 / 0.9589 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.3047, allocations: 459.7 kB / 0.9594 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002693/0.305, allocations: 205.9 kB / 0.9596 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.3053, allocations: 0.6805 MB / 0.9602 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.3054, allocations: 15.38 kB / 0.9603 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of SimCode: time 6.11e-07/0.3054, allocations: 0 / 0.9603 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of Templates: time 0.003824/0.3092, allocations: 1.557 MB / 0.9618 GB, free: 12.51 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile make -j1 -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile clang++ -std=c++14 -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.0.0+maint.om/Resources/C-Sources""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObjectCalcHelperMain.o OMCppBuildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObjectCalcHelperMain.cpp In file included from OMCppBuildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObjectCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObjectFunctions.cpp:7: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Resources/C-Sources/pythonWrapper.c:35:3: error: use of undeclared identifier 'pythonExchangeValuesNoModelica' pythonExchangeValuesNoModelica( ^ 1 error generated. make: *** [: OMCppBuildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObjectCalcHelperMain.o] Error 1