Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|yR1.1.|yR2.1.",fileNamePrefix="Buildings_latest_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_latest_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.001422/0.001422, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001593/0.001593, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.677/2.677, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 67.91 kB / 1.055 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8707/0.8723, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.00176/0.8741, allocations: 0.5378 MB / 1.209 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001528/0.8756, allocations: 1.128 MB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.292e-05/0.8757, allocations: 0 / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 9.692e-05/0.8758, allocations: 11.94 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.525e-05/0.8758, allocations: 0 / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004853/0.8763, allocations: 175.4 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.569e-05/0.8764, allocations: 11.98 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.819e-05/0.8765, allocations: 8 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.621e-05/0.8765, allocations: 4 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.49e-05/0.8766, allocations: 7.984 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.8766, allocations: 3.938 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003716/0.8769, allocations: 203.6 kB / 1.21 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.608e-05/0.877, allocations: 4 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.713e-05/0.877, allocations: 7.984 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002775/0.8773, allocations: 191.6 kB / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.8773, allocations: 4 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8773, allocations: 0 / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.8773, allocations: 0 / 1.211 GB, free: 11.32 MB / 0.9356 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.0004002/0.8777, allocations: 367.5 kB / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.8778, allocations: 12.03 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.428e-05/0.8779, allocations: 76.22 kB / 1.211 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.878, allocations: 243.5 kB / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.411e-05/0.8781, allocations: 154.9 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.242e-05/0.8782, allocations: 154.9 kB / 1.212 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.068e-05/0.8782, allocations: 109.1 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.238e-05/0.8783, allocations: 75.28 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.11e-05/0.8783, allocations: 158.5 kB / 1.212 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.837e-05/0.8784, allocations: 154.6 kB / 1.212 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.863e-05/0.8784, allocations: 150.6 kB / 1.212 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003069/0.8788, allocations: 457.8 kB / 1.213 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.635e-05/0.8788, allocations: 165.1 kB / 1.213 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.066e-05/0.8789, allocations: 80.14 kB / 1.213 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.8789, allocations: 79.22 kB / 1.213 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.413e-05/0.879, allocations: 113.8 kB / 1.213 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.879, allocations: 0 / 1.213 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 8.355e-05/0.8791, allocations: 33.75 kB / 1.213 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/0.8791, allocations: 126.7 kB / 1.213 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.8792, allocations: 109.8 kB / 1.213 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.8793, allocations: 29.64 kB / 1.213 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.828e-05/0.8793, allocations: 80.14 kB / 1.213 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.704e-06/0.8793, allocations: 0 / 1.213 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.8794, allocations: 33.69 kB / 1.213 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.8795, allocations: 310.8 kB / 1.214 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.574e-05/0.8795, allocations: 4 kB / 1.214 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.029e-05/0.8796, allocations: 19.92 kB / 1.214 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.967e-05/0.8796, allocations: 20.84 kB / 1.214 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.8796, allocations: 0 / 1.214 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001298/0.8798, allocations: 53.62 kB / 1.214 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.8798, allocations: 8 kB / 1.214 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.8798, allocations: 4.125 kB / 1.214 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.8798, allocations: 0 / 1.214 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.8798, allocations: 0 / 1.214 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.8798, allocations: 0 / 1.214 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.759e-05/0.8799, allocations: 4 kB / 1.214 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.8799, allocations: 0 / 1.214 GB, free: 7.777 MB / 0.9356 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.0001056/0.88, allocations: 193 kB / 1.214 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.162e-05/0.8801, allocations: 104.9 kB / 1.214 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.967e-05/0.8802, allocations: 108.1 kB / 1.214 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.83e-05/0.8802, allocations: 184.2 kB / 1.214 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.137e-05/0.8803, allocations: 184.2 kB / 1.215 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.146e-05/0.8804, allocations: 180.2 kB / 1.215 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002231/0.8806, allocations: 397.3 kB / 1.215 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.906e-05/0.8806, allocations: 117 kB / 1.215 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.852e-05/0.8807, allocations: 108.9 kB / 1.215 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.523e-05/0.8808, allocations: 180.3 kB / 1.216 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.181e-05/0.8808, allocations: 184.1 kB / 1.216 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-05/0.8809, allocations: 180.3 kB / 1.216 GB, free: 5.562 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.864e-05/0.881, allocations: 176.3 kB / 1.216 GB, free: 5.383 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.8811, allocations: 315.7 kB / 1.216 GB, free: 5.051 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.023e-05/0.8812, allocations: 194 kB / 1.217 GB, free: 4.836 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.161e-05/0.8813, allocations: 180.2 kB / 1.217 GB, free: 4.652 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.158e-05/0.8814, allocations: 101 kB / 1.217 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.147e-05/0.8814, allocations: 188.2 kB / 1.217 GB, free: 4.355 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.435e-05/0.8815, allocations: 105 kB / 1.217 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.842e-05/0.8815, allocations: 83.22 kB / 1.217 GB, free: 4.164 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8815, allocations: 0 / 1.217 GB, free: 4.164 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003186/0.8819, allocations: 59.97 kB / 1.217 GB, free: 4.105 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.0006621/0.8825, allocations: 381.4 kB / 1.218 GB, free: 3.785 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.361e-05/0.8826, allocations: 19.92 kB / 1.218 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.8826, allocations: 0 / 1.218 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.8827, allocations: 0 / 1.218 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.883, allocations: 455.8 kB / 1.218 GB, free: 3.316 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002489/0.8833, allocations: 193.8 kB / 1.218 GB, free: 3.094 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.8836, allocations: 0.669 MB / 1.219 GB, free: 2.398 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.488e-05/0.8837, allocations: 19.42 kB / 1.219 GB, free: 2.383 MB / 0.9356 GB Notification: Performance of SimCode: time 2.9e-07/0.8837, allocations: 0 / 1.219 GB, free: 2.383 MB / 0.9356 GB Notification: Performance of Templates: time 0.00334/0.887, allocations: 1.556 MB / 1.22 GB, free: 0.832 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile make -j1 -f Buildings_latest_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/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 11.0.1-master/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 11.0.1-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObjectCalcHelperMain.o OMCppBuildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObjectCalcHelperMain.cpp In file included from OMCppBuildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObjectCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObjectFunctions.cpp:7: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.ExchangeWithPassPythonObjectCalcHelperMain.o] Error 1