Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange.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.0008049/0.0008049, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008895/0.0008895, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8744/0.8744, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.755/1.755, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.Exchange,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Python_3_12_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Python_3_12_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.378e-05/1.558e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange): time 0.001094/0.00111, allocations: 0.5403 MB / 1 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001229/0.002339, allocations: 1.282 MB / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.141e-05/0.002361, allocations: 0 / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 8.311e-05/0.002444, allocations: 7.938 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.221e-05/0.002486, allocations: 0 / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004946/0.002981, allocations: 299 kB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.003092, allocations: 79.86 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.079e-05/0.003122, allocations: 0 / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.709e-05/0.003179, allocations: 55.88 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.582e-05/0.003245, allocations: 31.97 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.003259, allocations: 7.938 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002503/0.003509, allocations: 215.6 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.548e-05/0.003535, allocations: 7.938 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.735e-05/0.003572, allocations: 31.84 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002656/0.003838, allocations: 287.3 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.00384, allocations: 0 / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.042e-06/0.003841, allocations: 4 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.003845, allocations: 0 / 1.002 GB, free: 10.66 MB / 0.9636 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.0003168/0.004162, allocations: 367.4 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.004202, allocations: 12.75 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.685e-05/0.004239, allocations: 110 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.314e-05/0.004302, allocations: 92.16 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.004403, allocations: 193 kB / 1.003 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.879e-05/0.004442, allocations: 154.9 kB / 1.003 GB, free: 9.68 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.908e-05/0.004491, allocations: 162.9 kB / 1.003 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.885e-05/0.004539, allocations: 101.5 kB / 1.004 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.004557, allocations: 83.41 kB / 1.004 GB, free: 9.332 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.004592, allocations: 154.5 kB / 1.004 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-05/0.004628, allocations: 154.6 kB / 1.004 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.672e-05/0.004664, allocations: 154.6 kB / 1.004 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002098/0.004874, allocations: 440.9 kB / 1.005 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.086e-05/0.004935, allocations: 173.1 kB / 1.005 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.39e-05/0.004959, allocations: 84.14 kB / 1.005 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.004979, allocations: 75.33 kB / 1.005 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.00501, allocations: 109.8 kB / 1.005 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 6.21e-07/0.00501, allocations: 0 / 1.005 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 6.839e-05/0.005079, allocations: 41.58 kB / 1.005 GB, free: 7.898 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.005117, allocations: 130.7 kB / 1.005 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.005236, allocations: 147.9 kB / 1.005 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.00525, allocations: 25.7 kB / 1.005 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.151e-05/0.005292, allocations: 92.14 kB / 1.005 GB, free: 7.48 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.005294, allocations: 0 / 1.005 GB, free: 7.48 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.856e-05/0.005342, allocations: 41.69 kB / 1.005 GB, free: 7.434 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.832e-05/0.005421, allocations: 322.8 kB / 1.006 GB, free: 7.109 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.774e-05/0.005518, allocations: 97.64 kB / 1.006 GB, free: 7.008 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.641e-05/0.005595, allocations: 97.58 kB / 1.006 GB, free: 6.906 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.346e-05/0.005678, allocations: 94.52 kB / 1.006 GB, free: 6.805 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.00568, allocations: 4.031 kB / 1.006 GB, free: 6.801 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002737/0.005954, allocations: 272.8 kB / 1.006 GB, free: 6.516 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/0.005983, allocations: 41.69 kB / 1.006 GB, free: 6.469 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.005988, allocations: 3.938 kB / 1.006 GB, free: 6.465 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.005998, allocations: 0 / 1.006 GB, free: 6.465 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.005999, allocations: 0 / 1.006 GB, free: 6.465 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.006004, allocations: 3.984 kB / 1.006 GB, free: 6.461 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.006181, allocations: 39.78 kB / 1.006 GB, free: 6.422 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.942e-05/0.00621, allocations: 19.98 kB / 1.006 GB, free: 6.402 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (yI2[2],yI2[1],yI1[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 7.387e-05/0.006284, allocations: 189.1 kB / 1.007 GB, free: 6.207 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.112e-05/0.006325, allocations: 117 kB / 1.007 GB, free: 6.086 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.414e-05/0.006359, allocations: 116.3 kB / 1.007 GB, free: 5.961 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.665e-05/0.006396, allocations: 180.3 kB / 1.007 GB, free: 5.777 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-05/0.006434, allocations: 180.3 kB / 1.007 GB, free: 5.594 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-05/0.006474, allocations: 188.2 kB / 1.007 GB, free: 5.402 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.006621, allocations: 384.3 kB / 1.008 GB, free: 4.977 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.342e-05/0.006644, allocations: 104.9 kB / 1.008 GB, free: 4.867 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.177e-05/0.006666, allocations: 101 kB / 1.008 GB, free: 4.762 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.923e-05/0.006705, allocations: 176.3 kB / 1.008 GB, free: 4.582 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001866/0.006892, allocations: 188.1 kB / 1.008 GB, free: 4.391 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.863e-05/0.006931, allocations: 184.2 kB / 1.008 GB, free: 4.203 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.926e-05/0.00697, allocations: 180.2 kB / 1.009 GB, free: 4.02 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.777e-05/0.007068, allocations: 315.7 kB / 1.009 GB, free: 3.688 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.007e-05/0.007098, allocations: 109 kB / 1.009 GB, free: 3.574 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.648e-05/0.007144, allocations: 180.2 kB / 1.009 GB, free: 3.391 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.652e-05/0.007191, allocations: 104.9 kB / 1.009 GB, free: 3.281 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.007235, allocations: 184.3 kB / 1.009 GB, free: 3.094 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.007259, allocations: 104.9 kB / 1.009 GB, free: 2.984 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.834e-05/0.007308, allocations: 105.8 kB / 1.01 GB, free: 2.883 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007308, allocations: 0 / 1.01 GB, free: 2.883 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002343/0.007542, allocations: 79.62 kB / 1.01 GB, free: 2.805 MB / 0.9636 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.0006953/0.008237, allocations: 1.05 MB / 1.011 GB, free: 1.801 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001791/0.008416, allocations: 193 kB / 1.011 GB, free: 1.594 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.008418, allocations: 3.938 kB / 1.011 GB, free: 1.59 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.765e-06/0.00842, allocations: 4 kB / 1.011 GB, free: 1.586 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.008653, allocations: 456 kB / 1.011 GB, free: 1.141 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.009882, allocations: 2.021 MB / 1.013 GB, free: 15 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.984e-05/0.009921, allocations: 63.34 kB / 1.013 GB, free: 14.92 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 6.146e-05/0.009983, allocations: 51.86 kB / 1.013 GB, free: 14.87 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.777e-05/0.01001, allocations: 16.5 kB / 1.013 GB, free: 14.85 MB / 0.9792 GB Notification: Performance of SimCode: time 7.62e-07/0.01001, allocations: 0 / 1.013 GB, free: 14.85 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01586/0.02587, allocations: 4.586 MB / 1.018 GB, free: 10.35 MB / 0.9792 GB Error: Error building simulator. Build log: cmd: cd '257.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 18.1.3 -- 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange/257.fmutmp/sources/fmi -- 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange/257.fmutmp/sources/../binaries/linux64 -- Linking /var/lib/jenkins/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/jenkins/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 (0.2s) 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 \"257\" in directory /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange/257.fmutmp/sources -- Generating done (0.0s) CMake Generate step failed. Build files cannot be regenerated correctly. " [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 4.0756254103034735] Failed to read output from testmodel.py, exit status != 0: 0.25655177887529135 0.26574372999999996 0.26018180499999993 Calling exit ...