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.0007822/0.0007822, 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.000895/0.000895, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8878/0.8878, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.792/1.792, 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.843e-06/1.843e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.158e-05/2.342e-05, allocations: 10.22 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange): time 0.001285/0.001309, allocations: 0.5468 MB / 1 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001377/0.002686, allocations: 1.275 MB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.829e-05/0.002714, allocations: 0 / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.002823, allocations: 7.875 kB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.544e-05/0.002879, allocations: 7.922 kB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005861/0.003465, allocations: 293.6 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.003604, allocations: 79.8 kB / 1.002 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.889e-05/0.003643, allocations: 0 / 1.002 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.229e-05/0.003705, allocations: 55.88 kB / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.59e-05/0.003781, allocations: 39.95 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.003798, allocations: 4 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002943/0.004092, allocations: 223.5 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.023e-05/0.004123, allocations: 11.94 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.782e-05/0.00416, allocations: 19.98 kB / 1.002 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000282/0.004442, allocations: 295.2 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.004445, allocations: 0 / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.093e-06/0.004446, allocations: 0 / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.00445, allocations: 0 / 1.002 GB, free: 10.64 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.0003423/0.004792, allocations: 363.4 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.004837, allocations: 16.73 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.114e-05/0.004878, allocations: 106 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.645e-05/0.004945, allocations: 84.17 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.005061, allocations: 197.1 kB / 1.003 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.491e-05/0.005106, allocations: 158.9 kB / 1.003 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.163e-05/0.005158, allocations: 158.9 kB / 1.003 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.522e-05/0.005213, allocations: 101.5 kB / 1.004 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.005233, allocations: 75.47 kB / 1.004 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.848e-05/0.005272, allocations: 154.5 kB / 1.004 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-05/0.005312, allocations: 154.6 kB / 1.004 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.967e-05/0.005352, allocations: 150.6 kB / 1.004 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00024/0.005592, allocations: 440.9 kB / 1.004 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.104e-05/0.005663, allocations: 169.1 kB / 1.005 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.994e-05/0.005693, allocations: 80.14 kB / 1.005 GB, free: 8.145 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.005717, allocations: 83.27 kB / 1.005 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.929e-05/0.005757, allocations: 113.8 kB / 1.005 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.005758, allocations: 0 / 1.005 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 7.9e-05/0.005837, allocations: 45.53 kB / 1.005 GB, free: 7.891 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.005882, allocations: 130.7 kB / 1.005 GB, free: 7.75 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.006006, allocations: 145.7 kB / 1.005 GB, free: 7.598 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.006021, allocations: 25.7 kB / 1.005 GB, free: 7.566 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.359e-05/0.006065, allocations: 92.12 kB / 1.005 GB, free: 7.473 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.905e-06/0.006068, allocations: 4 kB / 1.005 GB, free: 7.469 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.845e-05/0.006116, allocations: 37.7 kB / 1.005 GB, free: 7.426 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.219e-05/0.006198, allocations: 326.8 kB / 1.006 GB, free: 7.098 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.006304, allocations: 97.64 kB / 1.006 GB, free: 6.996 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.989e-05/0.006384, allocations: 101.6 kB / 1.006 GB, free: 6.891 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.713e-05/0.006471, allocations: 94.52 kB / 1.006 GB, free: 6.789 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.006473, allocations: 0 / 1.006 GB, free: 6.789 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003054/0.006779, allocations: 272.8 kB / 1.006 GB, free: 6.504 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.913e-05/0.006818, allocations: 41.69 kB / 1.006 GB, free: 6.457 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.006825, allocations: 3.938 kB / 1.006 GB, free: 6.453 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.006837, allocations: 0 / 1.006 GB, free: 6.453 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.006837, allocations: 0 / 1.006 GB, free: 6.453 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.006843, allocations: 3.984 kB / 1.006 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.007063, allocations: 35.92 kB / 1.006 GB, free: 6.414 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.022e-05/0.007093, allocations: 15.98 kB / 1.006 GB, free: 6.398 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 8.765e-05/0.007181, allocations: 197.1 kB / 1.007 GB, free: 6.195 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.794e-05/0.007229, allocations: 108.9 kB / 1.007 GB, free: 6.082 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.906e-05/0.007268, allocations: 116.3 kB / 1.007 GB, free: 5.957 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.071e-05/0.007308, allocations: 184.2 kB / 1.007 GB, free: 5.77 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.3e-05/0.007351, allocations: 184.1 kB / 1.007 GB, free: 5.582 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.041e-05/0.007392, allocations: 180.2 kB / 1.007 GB, free: 5.398 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002859/0.007678, allocations: 380.3 kB / 1.008 GB, free: 4.977 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.483e-05/0.007703, allocations: 112.9 kB / 1.008 GB, free: 4.859 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.424e-05/0.007727, allocations: 105 kB / 1.008 GB, free: 4.75 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.116e-05/0.007768, allocations: 180.2 kB / 1.008 GB, free: 4.566 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.073e-05/0.007809, allocations: 188.2 kB / 1.008 GB, free: 4.375 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.786e-05/0.007847, allocations: 176.3 kB / 1.008 GB, free: 4.195 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.878e-05/0.007895, allocations: 180.3 kB / 1.009 GB, free: 4.012 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.678e-05/0.007992, allocations: 319.7 kB / 1.009 GB, free: 3.676 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.182e-05/0.008024, allocations: 109 kB / 1.009 GB, free: 3.562 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.825e-05/0.008072, allocations: 180.2 kB / 1.009 GB, free: 3.379 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.807e-05/0.00812, allocations: 104.9 kB / 1.009 GB, free: 3.27 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.008162, allocations: 180.3 kB / 1.009 GB, free: 3.086 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.008184, allocations: 108.9 kB / 1.009 GB, free: 2.973 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.501e-05/0.008239, allocations: 109.8 kB / 1.01 GB, free: 2.867 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.008239, allocations: 0 / 1.01 GB, free: 2.867 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002604/0.008499, allocations: 75.69 kB / 1.01 GB, free: 2.793 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.001051/0.00955, allocations: 1.056 MB / 1.011 GB, free: 1.785 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002199/0.00977, allocations: 192.9 kB / 1.011 GB, free: 1.578 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.009772, allocations: 0 / 1.011 GB, free: 1.578 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.009773, allocations: 0 / 1.011 GB, free: 1.578 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.01004, allocations: 461.8 kB / 1.011 GB, free: 1.125 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.01153, allocations: 2.021 MB / 1.013 GB, free: 14.99 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.533e-05/0.01158, allocations: 67.53 kB / 1.013 GB, free: 14.9 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 7.708e-05/0.01166, allocations: 51.86 kB / 1.013 GB, free: 14.85 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.16e-05/0.01169, allocations: 8.5 kB / 1.013 GB, free: 14.84 MB / 0.9792 GB Notification: Performance of SimCode: time 6.51e-07/0.01169, allocations: 0 / 1.013 GB, free: 14.84 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02025/0.03194, allocations: 4.573 MB / 1.018 GB, free: 10.36 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.246767453849316] Failed to read output from testmodel.py, exit status != 0: 0.2784399129450321 0.287699497 0.281529227 Calling exit ...