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.001335/0.001335, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001682/0.001682, allocations: 217.2 kB / 22.25 MB, free: 4.859 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.533/1.533, allocations: 230.6 MB / 256 MB, free: 7.781 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.474/3.474, allocations: 0.5112 GB / 0.8163 GB, free: 17.25 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.002871/0.002871, allocations: 70.3 kB / 1.186 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4297/0.4326, allocations: 182 MB / 1.364 GB, free: 13.3 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject): time 0.001869/0.4345, allocations: 0.548 MB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001813/0.4363, allocations: 1.205 MB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.285e-05/0.4363, allocations: 0 / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.458e-05/0.4364, allocations: 7.938 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.695e-05/0.4364, allocations: 0 / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006324/0.4371, allocations: 187.3 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.139e-05/0.4371, allocations: 19.92 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.061e-05/0.4372, allocations: 4 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.616e-05/0.4372, allocations: 8 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.171e-05/0.4373, allocations: 11.97 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.4373, allocations: 0 / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003834/0.4377, allocations: 211.6 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.946e-05/0.4377, allocations: 7.984 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.777e-05/0.4377, allocations: 7.938 kB / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003249/0.4381, allocations: 191.8 kB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.4381, allocations: 0 / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.124e-06/0.4381, allocations: 0 / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.4381, allocations: 0 / 1.367 GB, free: 10.89 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.0003803/0.4385, allocations: 293.8 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.4385, allocations: 16.03 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.583e-05/0.4386, allocations: 110 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.567e-05/0.4386, allocations: 80.2 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.4388, allocations: 185.8 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.425e-05/0.4389, allocations: 150.9 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.731e-05/0.4389, allocations: 154.9 kB / 1.367 GB, free: 9.859 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.089e-05/0.439, allocations: 104.9 kB / 1.368 GB, free: 9.75 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.551e-05/0.439, allocations: 75.28 kB / 1.368 GB, free: 9.676 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.919e-05/0.4391, allocations: 154.5 kB / 1.368 GB, free: 9.523 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.83e-05/0.4392, allocations: 154.6 kB / 1.368 GB, free: 9.371 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.907e-05/0.4393, allocations: 154.5 kB / 1.368 GB, free: 9.219 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003207/0.4396, allocations: 433 kB / 1.369 GB, free: 8.754 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.837e-05/0.4397, allocations: 169.1 kB / 1.369 GB, free: 8.578 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.372e-05/0.4397, allocations: 84.14 kB / 1.369 GB, free: 8.492 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.762e-05/0.4398, allocations: 79.22 kB / 1.369 GB, free: 8.414 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.381e-05/0.4398, allocations: 109.8 kB / 1.369 GB, free: 8.297 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.4398, allocations: 0 / 1.369 GB, free: 8.297 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.889e-05/0.4399, allocations: 29.7 kB / 1.369 GB, free: 8.262 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.256e-05/0.44, allocations: 130.7 kB / 1.369 GB, free: 8.121 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.4401, allocations: 97.86 kB / 1.369 GB, free: 8.016 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.4401, allocations: 29.7 kB / 1.369 GB, free: 7.98 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.513e-05/0.4402, allocations: 84.14 kB / 1.369 GB, free: 7.895 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-06/0.4402, allocations: 0 / 1.369 GB, free: 7.895 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/0.4402, allocations: 25.7 kB / 1.369 GB, free: 7.863 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.4403, allocations: 310.8 kB / 1.37 GB, free: 7.551 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.66e-05/0.4404, allocations: 4 kB / 1.37 GB, free: 7.547 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.166e-05/0.4404, allocations: 63.39 kB / 1.37 GB, free: 7.473 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.256e-05/0.4405, allocations: 28.78 kB / 1.37 GB, free: 7.441 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4405, allocations: 0 / 1.37 GB, free: 7.441 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001363/0.4406, allocations: 53.62 kB / 1.37 GB, free: 7.383 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.4406, allocations: 12.12 kB / 1.37 GB, free: 7.371 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.4407, allocations: 0 / 1.37 GB, free: 7.371 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.4407, allocations: 0 / 1.37 GB, free: 7.371 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.4407, allocations: 3.938 kB / 1.37 GB, free: 7.367 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.4407, allocations: 0 / 1.37 GB, free: 7.367 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.986e-05/0.4408, allocations: 7.984 kB / 1.37 GB, free: 7.359 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.4408, allocations: 0 / 1.37 GB, free: 7.359 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.0001186/0.4409, allocations: 189.1 kB / 1.37 GB, free: 7.164 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.784e-05/0.441, allocations: 112.8 kB / 1.37 GB, free: 7.047 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.369e-05/0.441, allocations: 108.1 kB / 1.37 GB, free: 6.93 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-05/0.4411, allocations: 188.2 kB / 1.37 GB, free: 6.738 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.758e-05/0.4412, allocations: 180.3 kB / 1.371 GB, free: 6.555 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-05/0.4413, allocations: 184.3 kB / 1.371 GB, free: 6.367 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002573/0.4415, allocations: 380.2 kB / 1.371 GB, free: 5.945 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-05/0.4416, allocations: 104.9 kB / 1.371 GB, free: 5.836 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.184e-05/0.4416, allocations: 104.9 kB / 1.371 GB, free: 5.727 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.002e-05/0.4417, allocations: 184.3 kB / 1.371 GB, free: 5.539 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.061e-05/0.4418, allocations: 176.3 kB / 1.372 GB, free: 5.359 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.177e-05/0.4419, allocations: 180.2 kB / 1.372 GB, free: 5.176 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.857e-05/0.442, allocations: 184.2 kB / 1.372 GB, free: 4.988 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.4421, allocations: 307.9 kB / 1.372 GB, free: 4.664 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.787e-05/0.4422, allocations: 112.9 kB / 1.372 GB, free: 4.547 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.901e-05/0.4423, allocations: 188.2 kB / 1.373 GB, free: 4.355 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.756e-05/0.4424, allocations: 101 kB / 1.373 GB, free: 4.25 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.055e-05/0.4425, allocations: 180.2 kB / 1.373 GB, free: 4.066 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.662e-05/0.4425, allocations: 109 kB / 1.373 GB, free: 3.953 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.01e-05/0.4426, allocations: 83.27 kB / 1.373 GB, free: 3.871 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4426, allocations: 0 / 1.373 GB, free: 3.871 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003345/0.4429, allocations: 67.66 kB / 1.373 GB, free: 3.805 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.001199/0.4441, allocations: 1.015 MB / 1.374 GB, free: 2.824 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.579e-05/0.4442, allocations: 15.98 kB / 1.374 GB, free: 2.809 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4442, allocations: 0 / 1.374 GB, free: 2.809 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.774e-06/0.4442, allocations: 0 / 1.374 GB, free: 2.809 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004066/0.4446, allocations: 455.7 kB / 1.374 GB, free: 2.359 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.4458, allocations: 1.329 MB / 1.376 GB, free: 0.9492 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.933e-05/0.4459, allocations: 59.3 kB / 1.376 GB, free: 0.8711 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001115/0.446, allocations: 12.02 kB / 1.376 GB, free: 0.8594 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.784e-05/0.446, allocations: 15.42 kB / 1.376 GB, free: 0.8438 MB / 1.061 GB Notification: Performance of SimCode: time 3.8e-07/0.446, allocations: 0 / 1.376 GB, free: 0.8438 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03315/0.4792, allocations: 3.114 MB / 1.379 GB, free: 13.82 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.776491619064473] Failed to read output from testmodel.py, exit status != 0: 0.9215133310062811 0.9447382 0.5024567870000001 Calling exit ...