Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002162/0.002162, allocations: 103 kB / 16.45 MB, free: 6.445 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.002403/0.002403, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.545/1.545, allocations: 225.6 MB / 247.8 MB, free: 3.762 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.88/2.88, allocations: 476.7 MB / 0.7611 GB, free: 15.72 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 67.89 kB / 1.104 GB, free: 6.594 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9674/0.9693, allocations: 168.7 MB / 1.269 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001741/0.9711, allocations: 0.5423 MB / 1.269 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00136/0.9724, allocations: 1.152 MB / 1.27 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.249e-05/0.9725, allocations: 2.469 kB / 1.27 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 8.973e-05/0.9726, allocations: 1.859 kB / 1.27 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.287e-05/0.9726, allocations: 0.8438 kB / 1.27 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004969/0.9731, allocations: 169.2 kB / 1.271 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.023e-05/0.9732, allocations: 12.91 kB / 1.271 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.735e-05/0.9732, allocations: 1.562 kB / 1.271 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.861e-05/0.9732, allocations: 15.75 kB / 1.271 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.292e-05/0.9733, allocations: 15.72 kB / 1.271 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.9733, allocations: 4.531 kB / 1.271 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003986/0.9737, allocations: 206.8 kB / 1.271 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.126e-05/0.9737, allocations: 7.562 kB / 1.271 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.604e-05/0.9738, allocations: 3.125 kB / 1.271 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003409/0.9741, allocations: 196.7 kB / 1.271 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.9741, allocations: 0.75 kB / 1.271 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9741, allocations: 0 / 1.271 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.9741, allocations: 0.6562 kB / 1.271 GB, free: 6.379 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.0003113/0.9744, allocations: 371.7 kB / 1.271 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.9745, allocations: 9.75 kB / 1.271 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.159e-05/0.9745, allocations: 107.8 kB / 1.271 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.31e-05/0.9746, allocations: 76.72 kB / 1.272 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.707e-05/0.9747, allocations: 243.6 kB / 1.272 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.9747, allocations: 151.7 kB / 1.272 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.9747, allocations: 160.8 kB / 1.272 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.3e-05/0.9747, allocations: 110.2 kB / 1.272 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.9748, allocations: 76.16 kB / 1.272 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.9748, allocations: 150.6 kB / 1.272 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.132e-05/0.9748, allocations: 151.9 kB / 1.273 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.173e-05/0.9748, allocations: 150.6 kB / 1.273 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001898/0.975, allocations: 457.2 kB / 1.273 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.226e-05/0.9751, allocations: 170.6 kB / 1.273 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.595e-05/0.9751, allocations: 84.86 kB / 1.273 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.9751, allocations: 83.16 kB / 1.273 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.9751, allocations: 111.5 kB / 1.274 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.9751, allocations: 0.7188 kB / 1.274 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 6.982e-05/0.9752, allocations: 40.22 kB / 1.274 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/0.9752, allocations: 126.7 kB / 1.274 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.421e-05/0.9753, allocations: 103 kB / 1.274 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.9753, allocations: 26.45 kB / 1.274 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.205e-05/0.9753, allocations: 82.66 kB / 1.274 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-06/0.9753, allocations: 0 / 1.274 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/0.9754, allocations: 21.17 kB / 1.274 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.06e-05/0.9754, allocations: 316.4 kB / 1.274 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.766e-05/0.9754, allocations: 6.734 kB / 1.274 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.509e-05/0.9755, allocations: 9.797 kB / 1.274 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.675e-05/0.9755, allocations: 23.41 kB / 1.274 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.9755, allocations: 0.75 kB / 1.274 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001244/0.9756, allocations: 56.25 kB / 1.274 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.9756, allocations: 5.125 kB / 1.274 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.9756, allocations: 5.031 kB / 1.274 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.9757, allocations: 0 / 1.274 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.413e-06/0.9757, allocations: 1.094 kB / 1.274 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.9757, allocations: 4.828 kB / 1.274 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.655e-05/0.9757, allocations: 1.531 kB / 1.274 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.9758, allocations: 3.859 kB / 1.274 GB, free: 2.855 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: 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.0001483/0.9759, allocations: 194.8 kB / 1.275 GB, free: 18.66 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.07e-05/0.976, allocations: 107.4 kB / 1.275 GB, free: 18.55 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.279e-05/0.976, allocations: 118.6 kB / 1.275 GB, free: 18.43 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.328e-05/0.9761, allocations: 177.9 kB / 1.275 GB, free: 18.25 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.018e-05/0.9762, allocations: 185 kB / 1.275 GB, free: 18.06 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.912e-05/0.9763, allocations: 178.7 kB / 1.275 GB, free: 17.88 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002529/0.9765, allocations: 402.1 kB / 1.276 GB, free: 17.44 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.002e-05/0.9766, allocations: 114.6 kB / 1.276 GB, free: 17.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.244e-05/0.9767, allocations: 106.5 kB / 1.276 GB, free: 17.21 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.857e-05/0.9767, allocations: 182.6 kB / 1.276 GB, free: 17.03 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-05/0.9768, allocations: 181.9 kB / 1.276 GB, free: 16.84 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.766e-05/0.9769, allocations: 178.2 kB / 1.276 GB, free: 16.66 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.983e-05/0.977, allocations: 182.1 kB / 1.277 GB, free: 16.48 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/0.9771, allocations: 317.7 kB / 1.277 GB, free: 16.15 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.23e-05/0.9772, allocations: 187.8 kB / 1.277 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.751e-05/0.9773, allocations: 178.4 kB / 1.277 GB, free: 15.77 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.512e-05/0.9774, allocations: 106.5 kB / 1.277 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.796e-05/0.9775, allocations: 181.9 kB / 1.277 GB, free: 15.47 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.972e-05/0.9775, allocations: 106.4 kB / 1.278 GB, free: 15.36 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.115e-05/0.9776, allocations: 84.86 kB / 1.278 GB, free: 15.29 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.9776, allocations: 0 / 1.278 GB, free: 15.29 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003713/0.978, allocations: 60.17 kB / 1.278 GB, free: 15.27 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.001133/0.9791, allocations: 1.01 MB / 1.279 GB, free: 14.39 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 8.365e-05/0.9792, allocations: 17.58 kB / 1.279 GB, free: 14.38 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.9792, allocations: 0.7812 kB / 1.279 GB, free: 14.38 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.9792, allocations: 0 / 1.279 GB, free: 14.38 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004042/0.9796, allocations: 459.3 kB / 1.279 GB, free: 13.93 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.9807, allocations: 1.325 MB / 1.28 GB, free: 12.61 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.981, allocations: 0.6737 MB / 1.281 GB, free: 11.92 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001031/0.9811, allocations: 13.66 kB / 1.281 GB, free: 11.91 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.132e-05/0.9812, allocations: 13.88 kB / 1.281 GB, free: 11.91 MB / 1.014 GB Notification: Performance of SimCode: time 2.8e-07/0.9812, allocations: 0 / 1.281 GB, free: 11.91 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02906/1.01, allocations: 2.59 MB / 1.284 GB, free: 11.2 MB / 1.014 GB Error: Error building simulator. Build log: cmd: cd 'Buildings_11_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.fmutmp/sources/' && mkdir build_cmake_static && cd build_cmake_static && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER='clang' .. && cmake --build . --parallel -j1 --target install && cd .. && rm -rf build_cmake_static -- The C compiler identification is Clang 14.0.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- FMI2 include directory: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Building for FMI platform linux64 -- Install directory: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject/Buildings_11_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.fmutmp/sources/../binaries/linux64 -- Linking /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/Resources/Library/linux64/libModelicaBuildingsPython_3_8.so -- Linking python3.8-NOTFOUND -- CVODE: Not linked -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/Resources/Library/linux64/libModelicaBuildingsPython_3_8.so;python3.8-NOTFOUND -- Configuring done CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: python3.8 linked by target \"Buildings_11_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject/Buildings_11_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.fmutmp/sources -- Generating done CMake Generate step failed. Build files cannot be regenerated correctly. " [Timeout remaining time 299] [Calling sys.exit(0), Time elapsed: 7.476418001111597] Failed to read output from testmodel.py, exit status != 0: 1.3829537080600858 1.398070404 0.421028054 Calling exit ...