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.001615/0.001615, allocations: 80.14 kB / 19.01 MB, free: 2.859 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.001927/0.001927, allocations: 157.8 kB / 22.26 MB, free: 5.102 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.483/1.483, allocations: 177.2 MB / 202.6 MB, free: 9.281 MB / 190.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 2.898/2.898, allocations: 394.6 MB / 0.6383 GB, free: 11.74 MB / 0.6075 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.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00237/0.00237, allocations: 63.89 kB / 1.008 GB, free: 13.53 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9374/0.9398, allocations: 181.9 MB / 1.186 GB, free: 12.5 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange): time 0.002158/0.9419, allocations: 0.5662 MB / 1.187 GB, free: 12.07 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002417/0.9444, allocations: 1.265 MB / 1.188 GB, free: 11.11 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.96e-05/0.9444, allocations: 3.938 kB / 1.188 GB, free: 11.1 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001054/0.9445, allocations: 13.14 kB / 1.188 GB, free: 11.09 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.996e-05/0.9446, allocations: 0 / 1.188 GB, free: 11.09 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009227/0.9455, allocations: 287.9 kB / 1.188 GB, free: 10.91 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.9457, allocations: 72.56 kB / 1.188 GB, free: 10.88 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.91e-05/0.9457, allocations: 2.281 kB / 1.188 GB, free: 10.88 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.226e-05/0.9458, allocations: 54.2 kB / 1.188 GB, free: 10.85 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.9459, allocations: 44.53 kB / 1.188 GB, free: 10.83 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.9459, allocations: 3.094 kB / 1.188 GB, free: 10.83 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000466/0.9464, allocations: 217.5 kB / 1.189 GB, free: 10.72 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.525e-05/0.9464, allocations: 15.59 kB / 1.189 GB, free: 10.71 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.312e-05/0.9465, allocations: 26.91 kB / 1.189 GB, free: 10.69 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004946/0.947, allocations: 260.3 kB / 1.189 GB, free: 10.55 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.947, allocations: 1.031 kB / 1.189 GB, free: 10.55 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.944e-06/0.947, allocations: 0 / 1.189 GB, free: 10.55 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.947, allocations: 0 / 1.189 GB, free: 10.55 MB / 1.045 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.0005718/0.9476, allocations: 369.7 kB / 1.189 GB, free: 10.2 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.9476, allocations: 9.719 kB / 1.189 GB, free: 10.2 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.842e-05/0.9477, allocations: 115.2 kB / 1.189 GB, free: 10.08 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/0.9478, allocations: 82.06 kB / 1.189 GB, free: 10 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.948, allocations: 201.3 kB / 1.19 GB, free: 9.785 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.951e-05/0.9481, allocations: 158.8 kB / 1.19 GB, free: 9.633 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.9482, allocations: 164.8 kB / 1.19 GB, free: 9.477 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.077e-05/0.9483, allocations: 111 kB / 1.19 GB, free: 9.363 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.239e-05/0.9483, allocations: 80.45 kB / 1.19 GB, free: 9.285 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.342e-05/0.9484, allocations: 150.6 kB / 1.19 GB, free: 9.137 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.679e-05/0.9485, allocations: 151.7 kB / 1.19 GB, free: 8.988 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.13e-05/0.9485, allocations: 156.2 kB / 1.19 GB, free: 8.836 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003821/0.9489, allocations: 438 kB / 1.191 GB, free: 8.379 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.949, allocations: 166.3 kB / 1.191 GB, free: 8.207 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.815e-05/0.9491, allocations: 81.2 kB / 1.191 GB, free: 8.125 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.585e-05/0.9491, allocations: 79.22 kB / 1.191 GB, free: 8.047 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.793e-05/0.9492, allocations: 112.1 kB / 1.191 GB, free: 7.93 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.9492, allocations: 4 kB / 1.191 GB, free: 7.926 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 0.0001192/0.9493, allocations: 36.81 kB / 1.191 GB, free: 7.891 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.106e-05/0.9494, allocations: 130.7 kB / 1.191 GB, free: 7.75 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.9495, allocations: 142.2 kB / 1.192 GB, free: 7.629 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/0.9496, allocations: 27.86 kB / 1.192 GB, free: 7.598 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.301e-05/0.9497, allocations: 89.23 kB / 1.192 GB, free: 7.512 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.766e-06/0.9497, allocations: 0 / 1.192 GB, free: 7.512 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.164e-05/0.9497, allocations: 47.94 kB / 1.192 GB, free: 7.48 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.9499, allocations: 313 kB / 1.192 GB, free: 7.168 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.9501, allocations: 102.7 kB / 1.192 GB, free: 7.105 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.9502, allocations: 102.1 kB / 1.192 GB, free: 7.043 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.9504, allocations: 103.4 kB / 1.192 GB, free: 6.973 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.9504, allocations: 0 / 1.192 GB, free: 6.973 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000479/0.9509, allocations: 273.2 kB / 1.193 GB, free: 6.805 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.402e-05/0.9509, allocations: 40.09 kB / 1.193 GB, free: 6.77 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.9509, allocations: 1.406 kB / 1.193 GB, free: 6.77 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.9509, allocations: 0 / 1.193 GB, free: 6.77 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.515e-06/0.9509, allocations: 0 / 1.193 GB, free: 6.77 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.951, allocations: 1.469 kB / 1.193 GB, free: 6.77 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003907/0.9513, allocations: 36.73 kB / 1.193 GB, free: 6.746 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.848e-05/0.9514, allocations: 10.72 kB / 1.193 GB, free: 6.746 MB / 1.045 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 0.0001809/0.9516, allocations: 198.9 kB / 1.193 GB, free: 6.551 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.9517, allocations: 120.1 kB / 1.193 GB, free: 6.43 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.88e-05/0.9518, allocations: 111.7 kB / 1.193 GB, free: 6.312 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001061/0.9519, allocations: 177.5 kB / 1.193 GB, free: 6.133 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.374e-05/0.952, allocations: 181.4 kB / 1.193 GB, free: 5.949 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.889e-05/0.952, allocations: 177.3 kB / 1.194 GB, free: 5.77 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003329/0.9524, allocations: 397.2 kB / 1.194 GB, free: 5.34 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.749e-05/0.9524, allocations: 110.2 kB / 1.194 GB, free: 5.227 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.579e-05/0.9525, allocations: 109 kB / 1.194 GB, free: 5.113 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001014/0.9526, allocations: 185.7 kB / 1.194 GB, free: 4.926 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/0.9527, allocations: 177.7 kB / 1.195 GB, free: 4.746 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001012/0.9528, allocations: 181.3 kB / 1.195 GB, free: 4.562 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001/0.9529, allocations: 182.4 kB / 1.195 GB, free: 4.379 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.9531, allocations: 310.8 kB / 1.195 GB, free: 4.059 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.999e-05/0.9532, allocations: 110.4 kB / 1.195 GB, free: 3.945 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.9533, allocations: 181.8 kB / 1.195 GB, free: 3.762 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.9534, allocations: 110.5 kB / 1.196 GB, free: 3.648 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.9535, allocations: 181.8 kB / 1.196 GB, free: 3.465 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.912e-05/0.9536, allocations: 102.6 kB / 1.196 GB, free: 3.359 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000112/0.9537, allocations: 107 kB / 1.196 GB, free: 3.27 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.9537, allocations: 4 kB / 1.196 GB, free: 3.266 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004809/0.9542, allocations: 76.05 kB / 1.196 GB, free: 3.238 MB / 1.045 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.001575/0.9558, allocations: 1.037 MB / 1.197 GB, free: 2.336 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003245/0.9561, allocations: 186.8 kB / 1.197 GB, free: 2.199 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.9561, allocations: 0 / 1.197 GB, free: 2.199 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.497e-06/0.9561, allocations: 1.188 kB / 1.197 GB, free: 2.199 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000423/0.9565, allocations: 460.4 kB / 1.198 GB, free: 1.75 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002437/0.959, allocations: 2.027 MB / 1.2 GB, free: 4 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.641e-05/0.959, allocations: 66.52 kB / 1.2 GB, free: 15.93 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.394e-05/0.9591, allocations: 59.83 kB / 1.2 GB, free: 15.89 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.051e-05/0.9592, allocations: 9.781 kB / 1.2 GB, free: 15.89 MB / 1.061 GB Notification: Performance of SimCode: time 4.21e-07/0.9592, allocations: 0 / 1.2 GB, free: 15.89 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03531/0.9945, allocations: 4.534 MB / 1.204 GB, free: 13.13 MB / 1.061 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 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.Exchange/257.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.Exchange/257.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 \"257\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange/257.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.301150259096175] Failed to read output from testmodel.py, exit status != 0: 1.3778841709718108 1.404363497 0.452554288 Calling exit ...