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.001267/0.001267, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00153/0.00153, allocations: 214.6 kB / 22.24 MB, free: 5.262 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.545/1.545, allocations: 230.6 MB / 256 MB, free: 7.773 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.373/3.373, allocations: 0.5112 GB / 0.8163 GB, free: 17.3 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.002058/0.002058, allocations: 67.92 kB / 1.186 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.3819, allocations: 182 MB / 1.364 GB, free: 13.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject): time 0.001931/0.3839, allocations: 0.5402 MB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001843/0.3857, allocations: 1.197 MB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.292e-05/0.3857, allocations: 0 / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.078e-05/0.3858, allocations: 7.938 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.628e-05/0.3859, allocations: 0 / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005837/0.3864, allocations: 183.4 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.713e-05/0.3865, allocations: 19.98 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.233e-05/0.3866, allocations: 4 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.011e-05/0.3866, allocations: 11.92 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.701e-05/0.3866, allocations: 7.984 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.3867, allocations: 0 / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004152/0.3871, allocations: 215.6 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.427e-05/0.3871, allocations: 11.92 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.846e-05/0.3871, allocations: 7.938 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003205/0.3875, allocations: 187.8 kB / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.3875, allocations: 3.984 kB / 1.367 GB, free: 10.9 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3875, allocations: 0 / 1.367 GB, free: 10.9 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.158e-05/0.3875, allocations: 4 kB / 1.367 GB, free: 10.9 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.0003902/0.3879, allocations: 293.9 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.3879, allocations: 12.03 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.089e-05/0.388, allocations: 110 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.787e-05/0.3881, allocations: 76.22 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.3882, allocations: 185.8 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.772e-05/0.3883, allocations: 150.9 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.648e-05/0.3883, allocations: 158.9 kB / 1.367 GB, free: 9.867 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.165e-05/0.3884, allocations: 104.9 kB / 1.368 GB, free: 9.758 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.637e-05/0.3885, allocations: 75.28 kB / 1.368 GB, free: 9.684 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.049e-05/0.3885, allocations: 150.6 kB / 1.368 GB, free: 9.535 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-05/0.3886, allocations: 158.6 kB / 1.368 GB, free: 9.379 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.691e-05/0.3887, allocations: 162.5 kB / 1.368 GB, free: 9.219 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003135/0.389, allocations: 429 kB / 1.369 GB, free: 8.758 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.728e-05/0.3891, allocations: 165.1 kB / 1.369 GB, free: 8.586 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.074e-05/0.3891, allocations: 84.14 kB / 1.369 GB, free: 8.5 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.002e-05/0.3891, allocations: 79.22 kB / 1.369 GB, free: 8.422 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.968e-05/0.3892, allocations: 105.8 kB / 1.369 GB, free: 8.309 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.51e-07/0.3892, allocations: 3.938 kB / 1.369 GB, free: 8.305 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.789e-05/0.3893, allocations: 33.69 kB / 1.369 GB, free: 8.266 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.542e-05/0.3894, allocations: 126.7 kB / 1.369 GB, free: 8.129 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.3895, allocations: 101.9 kB / 1.369 GB, free: 8.02 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.3895, allocations: 29.7 kB / 1.369 GB, free: 7.984 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.915e-05/0.3895, allocations: 84.12 kB / 1.369 GB, free: 7.898 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-06/0.3895, allocations: 0 / 1.369 GB, free: 7.898 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.912e-05/0.3896, allocations: 21.72 kB / 1.369 GB, free: 7.871 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.3897, allocations: 310.8 kB / 1.37 GB, free: 7.559 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.794e-05/0.3897, allocations: 7.984 kB / 1.37 GB, free: 7.551 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.175e-05/0.3898, allocations: 63.41 kB / 1.37 GB, free: 7.477 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.179e-05/0.3899, allocations: 24.78 kB / 1.37 GB, free: 7.449 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3899, allocations: 96 / 1.37 GB, free: 7.449 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001368/0.39, allocations: 61.61 kB / 1.37 GB, free: 7.383 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.39, allocations: 8 kB / 1.37 GB, free: 7.375 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.39, allocations: 0 / 1.37 GB, free: 7.375 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.39, allocations: 0 / 1.37 GB, free: 7.375 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.39, allocations: 0 / 1.37 GB, free: 7.375 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.39, allocations: 7.922 kB / 1.37 GB, free: 7.367 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.791e-05/0.3901, allocations: 4 kB / 1.37 GB, free: 7.363 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.3901, allocations: 0 / 1.37 GB, free: 7.363 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.0001169/0.3902, allocations: 185.1 kB / 1.37 GB, free: 7.172 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.185e-05/0.3903, allocations: 116.8 kB / 1.37 GB, free: 7.051 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.159e-05/0.3904, allocations: 112.1 kB / 1.37 GB, free: 6.93 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.72e-05/0.3905, allocations: 176.3 kB / 1.37 GB, free: 6.75 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001061/0.3906, allocations: 192.2 kB / 1.371 GB, free: 6.555 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.433e-05/0.3906, allocations: 180.3 kB / 1.371 GB, free: 6.371 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002506/0.3909, allocations: 380.2 kB / 1.371 GB, free: 5.949 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.236e-05/0.3909, allocations: 108.9 kB / 1.371 GB, free: 5.836 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.131e-05/0.391, allocations: 101 kB / 1.371 GB, free: 5.73 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.099e-05/0.3911, allocations: 184.2 kB / 1.371 GB, free: 5.543 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.469e-05/0.3911, allocations: 176.3 kB / 1.372 GB, free: 5.363 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.88e-05/0.3912, allocations: 184.2 kB / 1.372 GB, free: 5.176 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.734e-05/0.3913, allocations: 184.3 kB / 1.372 GB, free: 4.988 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.3915, allocations: 303.8 kB / 1.372 GB, free: 4.668 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.553e-05/0.3915, allocations: 108.9 kB / 1.372 GB, free: 4.555 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.818e-05/0.3916, allocations: 184.2 kB / 1.373 GB, free: 4.367 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.711e-05/0.3917, allocations: 105 kB / 1.373 GB, free: 4.258 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.308e-05/0.3918, allocations: 180.2 kB / 1.373 GB, free: 4.074 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.695e-05/0.3918, allocations: 109 kB / 1.373 GB, free: 3.961 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.534e-05/0.3919, allocations: 83.27 kB / 1.373 GB, free: 3.879 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3919, allocations: 0 / 1.373 GB, free: 3.879 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000333/0.3922, allocations: 59.73 kB / 1.373 GB, free: 3.82 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.001203/0.3934, allocations: 1.029 MB / 1.374 GB, free: 2.828 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.216e-05/0.3935, allocations: 19.98 kB / 1.374 GB, free: 2.809 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3935, allocations: 0 / 1.374 GB, free: 2.809 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.823e-06/0.3935, allocations: 4.062 kB / 1.374 GB, free: 2.805 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/0.3939, allocations: 451.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.001212/0.3951, allocations: 1.325 MB / 1.376 GB, free: 0.9531 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.625e-05/0.3952, allocations: 59.3 kB / 1.376 GB, free: 0.875 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001082/0.3953, allocations: 7.984 kB / 1.376 GB, free: 0.8672 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.709e-05/0.3953, allocations: 15.42 kB / 1.376 GB, free: 0.8516 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.3953, allocations: 0 / 1.376 GB, free: 0.8516 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0311/0.4264, allocations: 3.108 MB / 1.379 GB, free: 13.83 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.564340100972913] Failed to read output from testmodel.py, exit status != 0: 0.8167388160945848 0.833485314 0.44273659699999995 Calling exit ...