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.00142/0.00142, 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.001543/0.001543, allocations: 215.1 kB / 22.25 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.475/1.475, allocations: 230.6 MB / 256 MB, free: 7.969 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.315/3.315, 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.002083/0.002083, allocations: 67.11 kB / 1.187 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3555, allocations: 182 MB / 1.364 GB, free: 13.83 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject): time 0.001786/0.3573, allocations: 0.5442 MB / 1.365 GB, free: 13.29 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001827/0.3591, allocations: 1.232 MB / 1.366 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.571e-05/0.3591, allocations: 0 / 1.366 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.3593, allocations: 8 kB / 1.366 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.734e-05/0.3593, allocations: 0 / 1.366 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005802/0.3599, allocations: 183.4 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.33e-05/0.3599, allocations: 15.97 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.436e-05/0.36, allocations: 8 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.747e-05/0.36, allocations: 11.92 kB / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.208e-05/0.3601, allocations: 4 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.3601, allocations: 4 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004461/0.3605, allocations: 239.5 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.388e-05/0.3605, allocations: 4 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.787e-05/0.3606, allocations: 7.938 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003211/0.3609, allocations: 203.7 kB / 1.367 GB, free: 11.38 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3609, allocations: 0 / 1.367 GB, free: 11.38 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3609, allocations: 4 kB / 1.367 GB, free: 11.37 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.3609, allocations: 0 / 1.367 GB, free: 11.37 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.0003678/0.3613, allocations: 297.8 kB / 1.367 GB, free: 11.05 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.3613, allocations: 8.031 kB / 1.367 GB, free: 11.04 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.172e-05/0.3614, allocations: 106 kB / 1.367 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.546e-05/0.3615, allocations: 76.22 kB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.3616, allocations: 185.8 kB / 1.367 GB, free: 10.65 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.638e-05/0.3617, allocations: 158.9 kB / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.448e-05/0.3618, allocations: 154.9 kB / 1.368 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.391e-05/0.3619, allocations: 108.9 kB / 1.368 GB, free: 10.23 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.656e-05/0.3619, allocations: 75.28 kB / 1.368 GB, free: 10.15 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.648e-05/0.362, allocations: 150.6 kB / 1.368 GB, free: 10 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.787e-05/0.362, allocations: 150.6 kB / 1.368 GB, free: 9.855 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.682e-05/0.3621, allocations: 154.6 kB / 1.368 GB, free: 9.703 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003396/0.3625, allocations: 425 kB / 1.369 GB, free: 9.246 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.926e-05/0.3626, allocations: 173.1 kB / 1.369 GB, free: 9.066 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.081e-05/0.3626, allocations: 84.14 kB / 1.369 GB, free: 8.98 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.918e-05/0.3626, allocations: 83.22 kB / 1.369 GB, free: 8.898 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.823e-05/0.3627, allocations: 109.8 kB / 1.369 GB, free: 8.781 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.3627, allocations: 0 / 1.369 GB, free: 8.781 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 8.146e-05/0.3628, allocations: 37.64 kB / 1.369 GB, free: 8.738 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.564e-05/0.3629, allocations: 126.7 kB / 1.369 GB, free: 8.602 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.363, allocations: 101.8 kB / 1.369 GB, free: 8.492 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.363, allocations: 33.58 kB / 1.369 GB, free: 8.453 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.696e-05/0.3631, allocations: 88.14 kB / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-06/0.3631, allocations: 0 / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.165e-05/0.3631, allocations: 17.7 kB / 1.369 GB, free: 8.34 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.3633, allocations: 314.8 kB / 1.37 GB, free: 8.023 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.432e-05/0.3633, allocations: 8 kB / 1.37 GB, free: 8.016 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.908e-05/0.3633, allocations: 11.98 kB / 1.37 GB, free: 8.004 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.522e-05/0.3634, allocations: 24.84 kB / 1.37 GB, free: 7.977 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3634, allocations: 4.094 kB / 1.37 GB, free: 7.973 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001349/0.3635, allocations: 49.62 kB / 1.37 GB, free: 7.918 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.3635, allocations: 4 kB / 1.37 GB, free: 7.914 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.3635, allocations: 0 / 1.37 GB, free: 7.914 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.3636, allocations: 0 / 1.37 GB, free: 7.914 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.715e-06/0.3636, allocations: 7.938 kB / 1.37 GB, free: 7.906 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.3636, allocations: 0 / 1.37 GB, free: 7.906 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.036e-05/0.3636, allocations: 3.938 kB / 1.37 GB, free: 7.902 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.3637, allocations: 7.984 kB / 1.37 GB, free: 7.895 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.0001284/0.3638, allocations: 189.2 kB / 1.37 GB, free: 7.699 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.209e-05/0.3639, allocations: 108.9 kB / 1.37 GB, free: 7.586 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.169e-05/0.3639, allocations: 104.1 kB / 1.37 GB, free: 7.473 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.692e-05/0.364, allocations: 180.3 kB / 1.37 GB, free: 7.289 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.567e-05/0.3641, allocations: 188.3 kB / 1.371 GB, free: 7.098 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.764e-05/0.3642, allocations: 188.2 kB / 1.371 GB, free: 6.906 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002838/0.3645, allocations: 376.3 kB / 1.371 GB, free: 6.488 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.725e-05/0.3646, allocations: 108.9 kB / 1.371 GB, free: 6.375 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.441e-05/0.3646, allocations: 101 kB / 1.371 GB, free: 6.27 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.474e-05/0.3647, allocations: 176.3 kB / 1.371 GB, free: 6.09 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/0.3648, allocations: 188.2 kB / 1.372 GB, free: 5.898 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.736e-05/0.3649, allocations: 180.3 kB / 1.372 GB, free: 5.715 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.609e-05/0.365, allocations: 184.2 kB / 1.372 GB, free: 5.527 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.3652, allocations: 303.8 kB / 1.372 GB, free: 5.207 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.696e-05/0.3652, allocations: 108.9 kB / 1.372 GB, free: 5.094 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001701/0.3654, allocations: 188.2 kB / 1.373 GB, free: 4.902 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.976e-05/0.3655, allocations: 104.9 kB / 1.373 GB, free: 4.793 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.358e-05/0.3656, allocations: 176.3 kB / 1.373 GB, free: 4.613 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.746e-05/0.3656, allocations: 101 kB / 1.373 GB, free: 4.508 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.783e-05/0.3657, allocations: 87.27 kB / 1.373 GB, free: 4.422 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3657, allocations: 0 / 1.373 GB, free: 4.422 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003394/0.3661, allocations: 63.72 kB / 1.373 GB, free: 4.359 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.001227/0.3673, allocations: 1.02 MB / 1.374 GB, free: 3.367 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.441e-05/0.3674, allocations: 15.98 kB / 1.374 GB, free: 3.352 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3674, allocations: 0 / 1.374 GB, free: 3.352 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.207e-06/0.3674, allocations: 7.938 kB / 1.374 GB, free: 3.344 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.3678, allocations: 455.7 kB / 1.375 GB, free: 2.895 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.369, allocations: 1.325 MB / 1.376 GB, free: 1.488 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.3694, allocations: 0.6767 MB / 1.376 GB, free: 0.7852 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001073/0.3695, allocations: 7.984 kB / 1.376 GB, free: 0.7773 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.235e-05/0.3695, allocations: 11.44 kB / 1.376 GB, free: 0.7656 MB / 1.061 GB Notification: Performance of SimCode: time 4.61e-07/0.3695, allocations: 0 / 1.376 GB, free: 0.7656 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03301/0.4025, allocations: 2.661 MB / 1.379 GB, free: 14.18 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.387744781910442] Failed to read output from testmodel.py, exit status != 0: 0.8088521080790088 0.8252581059999999 0.46116752899999996 Calling exit ...