Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Python_3_12.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.001728/0.001728, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00187/0.00187, allocations: 220.4 kB / 22.26 MB, free: 5.125 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.5/1.5, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.352/3.352, allocations: 0.5112 GB / 0.8163 GB, free: 15.78 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Python_3_12_Functions_Examples_ExchangeWithPassPythonObject",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Python_3_12_Functions_Examples_ExchangeWithPassPythonObject",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002356/0.002356, allocations: 67.41 kB / 1.187 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3669, allocations: 182 MB / 1.364 GB, free: 13.86 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject): time 0.002183/0.3691, allocations: 0.5506 MB / 1.365 GB, free: 13.31 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001989/0.371, allocations: 1.228 MB / 1.366 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.181e-05/0.3711, allocations: 0 / 1.366 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 8.351e-05/0.3712, allocations: 4 kB / 1.366 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.381e-05/0.3712, allocations: 0 / 1.366 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006234/0.3718, allocations: 187.4 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.915e-05/0.3719, allocations: 8 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.884e-05/0.3719, allocations: 7.984 kB / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.788e-05/0.372, allocations: 11.94 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.289e-05/0.372, allocations: 19.91 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.372, allocations: 0 / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000474/0.3725, allocations: 227.6 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.59e-05/0.3725, allocations: 7.984 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.789e-05/0.3726, allocations: 11.92 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003477/0.3729, allocations: 195.8 kB / 1.367 GB, free: 11.41 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3729, allocations: 0 / 1.367 GB, free: 11.41 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3729, allocations: 0 / 1.367 GB, free: 11.41 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.3729, allocations: 0 / 1.367 GB, free: 11.41 MB / 1.061 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.0003729/0.3733, allocations: 301.8 kB / 1.367 GB, free: 11.08 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.3733, allocations: 12.03 kB / 1.367 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.118e-05/0.3734, allocations: 110 kB / 1.367 GB, free: 10.95 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.533e-05/0.3735, allocations: 80.2 kB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.3736, allocations: 181.8 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.268e-05/0.3737, allocations: 150.9 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.504e-05/0.3738, allocations: 158.9 kB / 1.368 GB, free: 10.37 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.441e-05/0.3739, allocations: 104.9 kB / 1.368 GB, free: 10.26 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.406e-05/0.3739, allocations: 79.28 kB / 1.368 GB, free: 10.18 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.352e-05/0.374, allocations: 154.6 kB / 1.368 GB, free: 10.03 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.177e-05/0.374, allocations: 150.6 kB / 1.368 GB, free: 9.879 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.392e-05/0.3741, allocations: 150.6 kB / 1.368 GB, free: 9.73 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003256/0.3744, allocations: 425 kB / 1.369 GB, free: 9.273 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.194e-05/0.3745, allocations: 169.1 kB / 1.369 GB, free: 9.098 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.726e-05/0.3746, allocations: 80.14 kB / 1.369 GB, free: 9.016 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.504e-05/0.3746, allocations: 79.22 kB / 1.369 GB, free: 8.938 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.337e-05/0.3747, allocations: 117.8 kB / 1.369 GB, free: 8.812 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 7.72e-07/0.3747, allocations: 0 / 1.369 GB, free: 8.812 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 8.38e-05/0.3748, allocations: 33.59 kB / 1.369 GB, free: 8.773 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.753e-05/0.3748, allocations: 134.6 kB / 1.369 GB, free: 8.629 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.375, allocations: 97.86 kB / 1.369 GB, free: 8.523 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.375, allocations: 29.69 kB / 1.369 GB, free: 8.488 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.417e-05/0.375, allocations: 84.14 kB / 1.369 GB, free: 8.402 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-06/0.375, allocations: 4 kB / 1.369 GB, free: 8.398 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.3751, allocations: 21.7 kB / 1.369 GB, free: 8.371 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3752, allocations: 310.8 kB / 1.37 GB, free: 8.059 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.883e-05/0.3753, allocations: 7.984 kB / 1.37 GB, free: 8.051 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.005e-05/0.3753, allocations: 12 kB / 1.37 GB, free: 8.039 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.063e-05/0.3753, allocations: 20.84 kB / 1.37 GB, free: 8.016 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3753, allocations: 0 / 1.37 GB, free: 8.016 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001336/0.3755, allocations: 61.66 kB / 1.37 GB, free: 7.949 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.3755, allocations: 8 kB / 1.37 GB, free: 7.941 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.3755, allocations: 3.984 kB / 1.37 GB, free: 7.938 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.3755, allocations: 0 / 1.37 GB, free: 7.938 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.3755, allocations: 0 / 1.37 GB, free: 7.938 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.3755, allocations: 3.984 kB / 1.37 GB, free: 7.934 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.87e-05/0.3756, allocations: 11.94 kB / 1.37 GB, free: 7.922 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.3756, allocations: 0 / 1.37 GB, free: 7.922 MB / 1.061 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.000119/0.3757, allocations: 185.1 kB / 1.37 GB, free: 7.73 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.132e-05/0.3758, allocations: 109.1 kB / 1.37 GB, free: 7.617 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.537e-05/0.3759, allocations: 120 kB / 1.37 GB, free: 7.488 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.181e-05/0.376, allocations: 180.3 kB / 1.37 GB, free: 7.305 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-05/0.376, allocations: 184.2 kB / 1.371 GB, free: 7.117 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.928e-05/0.3761, allocations: 180.3 kB / 1.371 GB, free: 6.934 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002688/0.3764, allocations: 380.3 kB / 1.371 GB, free: 6.512 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.649e-05/0.3764, allocations: 108.9 kB / 1.371 GB, free: 6.398 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.596e-05/0.3765, allocations: 105 kB / 1.371 GB, free: 6.289 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.543e-05/0.3766, allocations: 180.2 kB / 1.371 GB, free: 6.105 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.228e-05/0.3767, allocations: 176.3 kB / 1.372 GB, free: 5.926 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.803e-05/0.3767, allocations: 180.2 kB / 1.372 GB, free: 5.742 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.697e-05/0.3768, allocations: 188.2 kB / 1.372 GB, free: 5.551 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.377, allocations: 307.7 kB / 1.372 GB, free: 5.227 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.26e-05/0.377, allocations: 108.9 kB / 1.372 GB, free: 5.113 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.551e-05/0.3771, allocations: 180.3 kB / 1.373 GB, free: 4.93 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.873e-05/0.3772, allocations: 112.9 kB / 1.373 GB, free: 4.812 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.881e-05/0.3773, allocations: 176.3 kB / 1.373 GB, free: 4.633 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.512e-05/0.3774, allocations: 104.9 kB / 1.373 GB, free: 4.523 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.549e-05/0.3774, allocations: 83.27 kB / 1.373 GB, free: 4.441 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.3774, allocations: 0 / 1.373 GB, free: 4.441 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003264/0.3778, allocations: 59.73 kB / 1.373 GB, free: 4.383 MB / 1.061 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.001155/0.3789, allocations: 1.017 MB / 1.374 GB, free: 3.395 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.662e-05/0.379, allocations: 27.92 kB / 1.374 GB, free: 3.367 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.379, allocations: 0 / 1.374 GB, free: 3.367 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.379, allocations: 0 / 1.374 GB, free: 3.367 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/0.3794, allocations: 453.5 kB / 1.375 GB, free: 2.922 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.3806, allocations: 1.321 MB / 1.376 GB, free: 1.52 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.3809, allocations: 0.6768 MB / 1.376 GB, free: 0.8164 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.699e-05/0.381, allocations: 11.98 kB / 1.376 GB, free: 0.8047 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.434e-05/0.3811, allocations: 15.42 kB / 1.377 GB, free: 0.7891 MB / 1.061 GB Notification: Performance of SimCode: time 3.5e-07/0.3811, allocations: 0 / 1.377 GB, free: 0.7891 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03173/0.4128, allocations: 2.654 MB / 1.379 GB, free: 14.21 MB / 1.076 GB Error: Error building simulator. Build log: cmd: cd '905.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/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject/905.fmutmp/sources/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/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject/905.fmutmp/sources/../binaries/linux64 -- Linking /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/Resources/Library/linux64/libModelicaBuildingsPython_3_12.so -- Linking python3.12-NOTFOUND -- CVODE: Not linked -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/Resources/Library/linux64/libModelicaBuildingsPython_3_12.so;python3.12-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.12 linked by target \"905\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject/905.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.482623044052161] Failed to read output from testmodel.py, exit status != 0: 0.8408820130862296 0.857364213 0.481052378 Calling exit ...