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.001903/0.001903, allocations: 78.34 kB / 19.01 MB, free: 2.859 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.002251/0.002251, allocations: 156.7 kB / 22.25 MB, free: 5.109 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.608/1.608, allocations: 177.2 MB / 202.6 MB, free: 9.277 MB / 190.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.087/3.087, allocations: 394.6 MB / 0.6383 GB, free: 11.7 MB / 0.6075 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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002337/0.002337, allocations: 67.91 kB / 1.008 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.114/1.116, allocations: 181.9 MB / 1.186 GB, free: 15.71 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject): time 0.002191/1.118, allocations: 0.541 MB / 1.187 GB, free: 15.39 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001867/1.12, allocations: 1.207 MB / 1.188 GB, free: 14.57 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.627e-05/1.12, allocations: 0 / 1.188 GB, free: 14.57 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001026/1.12, allocations: 2.125 kB / 1.188 GB, free: 14.57 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.176e-05/1.12, allocations: 4.453 kB / 1.188 GB, free: 14.56 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007183/1.121, allocations: 184.8 kB / 1.188 GB, free: 14.47 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 8.176e-05/1.121, allocations: 19.55 kB / 1.188 GB, free: 14.46 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.268e-05/1.121, allocations: 2.688 kB / 1.188 GB, free: 14.46 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 4.595e-05/1.121, allocations: 8.422 kB / 1.188 GB, free: 14.46 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.215e-05/1.121, allocations: 22.86 kB / 1.188 GB, free: 14.45 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/1.121, allocations: 0 / 1.188 GB, free: 14.45 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004893/1.122, allocations: 207.8 kB / 1.188 GB, free: 14.39 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.317e-05/1.122, allocations: 4.047 kB / 1.188 GB, free: 14.39 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.751e-05/1.122, allocations: 11.09 kB / 1.188 GB, free: 14.38 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004031/1.122, allocations: 192.4 kB / 1.188 GB, free: 14.32 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/1.122, allocations: 0.8438 kB / 1.188 GB, free: 14.32 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.503e-06/1.122, allocations: 0 / 1.188 GB, free: 14.32 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.27e-06/1.122, allocations: 0 / 1.188 GB, free: 14.32 MB / 1.076 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.0003642/1.122, allocations: 291.8 kB / 1.189 GB, free: 14.03 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/1.123, allocations: 14.28 kB / 1.189 GB, free: 14.03 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.823e-05/1.123, allocations: 106 kB / 1.189 GB, free: 13.91 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.048e-05/1.123, allocations: 78.66 kB / 1.189 GB, free: 13.84 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.398e-05/1.123, allocations: 182 kB / 1.189 GB, free: 13.64 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.429e-05/1.123, allocations: 152.1 kB / 1.189 GB, free: 13.49 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.549e-05/1.123, allocations: 157.3 kB / 1.189 GB, free: 13.34 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.474e-05/1.123, allocations: 122.7 kB / 1.189 GB, free: 13.21 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/1.123, allocations: 75.28 kB / 1.19 GB, free: 13.14 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/1.123, allocations: 152.2 kB / 1.19 GB, free: 12.99 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-05/1.123, allocations: 151.7 kB / 1.19 GB, free: 12.84 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.697e-05/1.123, allocations: 151.7 kB / 1.19 GB, free: 12.7 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002032/1.123, allocations: 431.4 kB / 1.19 GB, free: 12.24 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.607e-05/1.123, allocations: 173.3 kB / 1.191 GB, free: 12.06 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.757e-05/1.123, allocations: 80.14 kB / 1.191 GB, free: 11.98 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/1.123, allocations: 80.34 kB / 1.191 GB, free: 11.9 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/1.123, allocations: 108.1 kB / 1.191 GB, free: 11.79 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/1.123, allocations: 0 / 1.191 GB, free: 11.79 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 8.268e-05/1.123, allocations: 32.92 kB / 1.191 GB, free: 11.75 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/1.123, allocations: 135.1 kB / 1.191 GB, free: 11.61 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.47e-05/1.123, allocations: 103.5 kB / 1.191 GB, free: 11.51 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/1.123, allocations: 29.7 kB / 1.191 GB, free: 11.47 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.547e-05/1.123, allocations: 86.05 kB / 1.191 GB, free: 11.39 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.315e-06/1.123, allocations: 1.125 kB / 1.191 GB, free: 11.39 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/1.124, allocations: 16.62 kB / 1.191 GB, free: 11.37 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.647e-05/1.124, allocations: 314 kB / 1.191 GB, free: 11.06 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.138e-05/1.124, allocations: 10.14 kB / 1.191 GB, free: 11.05 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.272e-05/1.124, allocations: 61.86 kB / 1.192 GB, free: 10.99 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.156e-05/1.124, allocations: 19.59 kB / 1.192 GB, free: 10.98 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.124, allocations: 0 / 1.192 GB, free: 10.98 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001455/1.124, allocations: 60.06 kB / 1.192 GB, free: 10.94 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/1.124, allocations: 5 kB / 1.192 GB, free: 10.94 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/1.124, allocations: 5.875 kB / 1.192 GB, free: 10.94 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/1.124, allocations: 0 / 1.192 GB, free: 10.94 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.213e-06/1.124, allocations: 0.6562 kB / 1.192 GB, free: 10.94 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/1.124, allocations: 1.406 kB / 1.192 GB, free: 10.94 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.443e-05/1.124, allocations: 2 kB / 1.192 GB, free: 10.94 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/1.124, allocations: 3.219 kB / 1.192 GB, free: 10.94 MB / 1.076 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 6.119e-05/1.124, allocations: 188.2 kB / 1.192 GB, free: 10.75 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.293e-05/1.124, allocations: 112.3 kB / 1.192 GB, free: 10.63 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.74e-05/1.124, allocations: 114.7 kB / 1.192 GB, free: 10.51 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.363e-05/1.124, allocations: 182.3 kB / 1.192 GB, free: 10.33 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-05/1.124, allocations: 178.2 kB / 1.192 GB, free: 10.15 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-05/1.124, allocations: 182.2 kB / 1.193 GB, free: 9.965 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/1.124, allocations: 374.8 kB / 1.193 GB, free: 9.555 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.752e-05/1.124, allocations: 110.9 kB / 1.193 GB, free: 9.441 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.676e-05/1.124, allocations: 107 kB / 1.193 GB, free: 9.332 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.587e-05/1.124, allocations: 178.2 kB / 1.193 GB, free: 9.152 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.294e-05/1.124, allocations: 186.3 kB / 1.193 GB, free: 8.965 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.797e-05/1.124, allocations: 182.2 kB / 1.194 GB, free: 8.781 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.011e-05/1.124, allocations: 186.4 kB / 1.194 GB, free: 8.594 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.041e-05/1.125, allocations: 302.2 kB / 1.194 GB, free: 8.281 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.738e-05/1.125, allocations: 120.6 kB / 1.194 GB, free: 8.16 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.764e-05/1.125, allocations: 178.7 kB / 1.194 GB, free: 7.98 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.666e-05/1.125, allocations: 106.6 kB / 1.195 GB, free: 7.871 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/1.125, allocations: 183.1 kB / 1.195 GB, free: 7.688 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/1.125, allocations: 106.7 kB / 1.195 GB, free: 7.578 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.987e-05/1.125, allocations: 84.67 kB / 1.195 GB, free: 7.5 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.125, allocations: 0 / 1.195 GB, free: 7.5 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003654/1.125, allocations: 51.22 kB / 1.195 GB, free: 7.488 MB / 1.076 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.00101/1.126, allocations: 1.019 MB / 1.196 GB, free: 6.602 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 9.397e-05/1.126, allocations: 13.91 kB / 1.196 GB, free: 6.598 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.126, allocations: 3.938 kB / 1.196 GB, free: 6.594 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.305e-06/1.126, allocations: 1.094 kB / 1.196 GB, free: 6.594 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/1.127, allocations: 458.6 kB / 1.196 GB, free: 6.145 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008366/1.127, allocations: 1.321 MB / 1.198 GB, free: 4.836 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.131e-05/1.127, allocations: 66.02 kB / 1.198 GB, free: 4.758 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001299/1.128, allocations: 16.11 kB / 1.198 GB, free: 4.75 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.667e-05/1.128, allocations: 23.38 kB / 1.198 GB, free: 4.734 MB / 1.076 GB Notification: Performance of SimCode: time 5.61e-07/1.128, allocations: 0 / 1.198 GB, free: 4.734 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03569/1.163, allocations: 3.222 MB / 1.201 GB, free: 3.52 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 298] [Calling sys.exit(0), Time elapsed: 7.993781391065568] Failed to read output from testmodel.py, exit status != 0: 1.6285592410713434 1.650564573 0.524954134 Calling exit ...