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.001644/0.001644, allocations: 78.5 kB / 19 MB, free: 2.867 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.002063/0.002063, allocations: 157.8 kB / 22.25 MB, free: 5.133 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.571/1.571, allocations: 177.2 MB / 202.6 MB, free: 9.262 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.953/2.953, allocations: 394.6 MB / 0.6383 GB, free: 11.73 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.002226/0.002226, allocations: 68.08 kB / 1.008 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.017/1.019, allocations: 181.9 MB / 1.186 GB, free: 15.76 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange): time 0.001892/1.021, allocations: 0.5613 MB / 1.187 GB, free: 15.42 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001714/1.022, allocations: 1.263 MB / 1.188 GB, free: 14.57 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.554e-05/1.022, allocations: 0 / 1.188 GB, free: 14.57 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001099/1.023, allocations: 19.86 kB / 1.188 GB, free: 14.55 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.866e-05/1.023, allocations: 0 / 1.188 GB, free: 14.55 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007736/1.023, allocations: 286.7 kB / 1.188 GB, free: 14.42 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001569/1.024, allocations: 76.36 kB / 1.188 GB, free: 14.4 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.61e-05/1.024, allocations: 3.984 kB / 1.188 GB, free: 14.4 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 8.635e-05/1.024, allocations: 50.25 kB / 1.188 GB, free: 14.39 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 9.479e-05/1.024, allocations: 43.33 kB / 1.188 GB, free: 14.38 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/1.024, allocations: 3.281 kB / 1.188 GB, free: 14.38 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004178/1.024, allocations: 227.3 kB / 1.189 GB, free: 14.3 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.683e-05/1.024, allocations: 8.516 kB / 1.189 GB, free: 14.29 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.983e-05/1.024, allocations: 31.59 kB / 1.189 GB, free: 14.28 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003989/1.025, allocations: 255 kB / 1.189 GB, free: 14.2 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/1.025, allocations: 0.7969 kB / 1.189 GB, free: 14.2 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.232e-06/1.025, allocations: 0 / 1.189 GB, free: 14.2 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.181e-06/1.025, allocations: 1.094 kB / 1.189 GB, free: 14.2 MB / 1.076 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.0003964/1.025, allocations: 371.3 kB / 1.189 GB, free: 13.86 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/1.025, allocations: 13.78 kB / 1.189 GB, free: 13.86 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.056e-05/1.025, allocations: 110.6 kB / 1.189 GB, free: 13.74 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.7e-05/1.025, allocations: 83.25 kB / 1.189 GB, free: 13.67 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/1.025, allocations: 199.4 kB / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.152e-05/1.025, allocations: 154.4 kB / 1.19 GB, free: 13.31 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.706e-05/1.025, allocations: 156.4 kB / 1.19 GB, free: 13.16 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.931e-05/1.025, allocations: 119.9 kB / 1.19 GB, free: 13.04 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/1.025, allocations: 79.27 kB / 1.19 GB, free: 12.96 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/1.025, allocations: 151.9 kB / 1.19 GB, free: 12.81 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.396e-05/1.026, allocations: 152.5 kB / 1.19 GB, free: 12.66 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.218e-05/1.026, allocations: 154.6 kB / 1.19 GB, free: 12.51 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000201/1.026, allocations: 437 kB / 1.191 GB, free: 12.06 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 4.907e-05/1.026, allocations: 171.8 kB / 1.191 GB, free: 11.89 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.564e-05/1.026, allocations: 80.14 kB / 1.191 GB, free: 11.8 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/1.026, allocations: 80.59 kB / 1.191 GB, free: 11.73 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/1.026, allocations: 108 kB / 1.191 GB, free: 11.61 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/1.026, allocations: 0 / 1.191 GB, free: 11.61 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 8.726e-05/1.026, allocations: 37.62 kB / 1.191 GB, free: 11.58 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/1.026, allocations: 135.2 kB / 1.191 GB, free: 11.43 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/1.026, allocations: 144.5 kB / 1.192 GB, free: 11.32 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/1.026, allocations: 27.55 kB / 1.192 GB, free: 11.29 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.732e-05/1.026, allocations: 95.73 kB / 1.192 GB, free: 11.2 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-06/1.026, allocations: 0 / 1.192 GB, free: 11.2 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.991e-05/1.026, allocations: 46.05 kB / 1.192 GB, free: 11.18 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.559e-05/1.026, allocations: 315.2 kB / 1.192 GB, free: 10.86 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/1.026, allocations: 103.6 kB / 1.192 GB, free: 10.82 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/1.027, allocations: 98.89 kB / 1.192 GB, free: 10.77 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/1.027, allocations: 95.19 kB / 1.192 GB, free: 10.72 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/1.027, allocations: 0.6094 kB / 1.192 GB, free: 10.72 MB / 1.076 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004127/1.027, allocations: 273 kB / 1.193 GB, free: 10.59 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.955e-05/1.027, allocations: 41.38 kB / 1.193 GB, free: 10.56 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/1.027, allocations: 8 kB / 1.193 GB, free: 10.55 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/1.027, allocations: 0.7031 kB / 1.193 GB, free: 10.55 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/1.027, allocations: 0 / 1.193 GB, free: 10.55 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/1.027, allocations: 1.062 kB / 1.193 GB, free: 10.55 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003244/1.028, allocations: 31.7 kB / 1.193 GB, free: 10.54 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.045e-05/1.028, allocations: 17.42 kB / 1.193 GB, free: 10.54 MB / 1.076 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 9.494e-05/1.028, allocations: 195.3 kB / 1.193 GB, free: 10.35 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.089e-05/1.028, allocations: 117.1 kB / 1.193 GB, free: 10.23 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.898e-05/1.028, allocations: 111 kB / 1.193 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.407e-05/1.028, allocations: 183 kB / 1.193 GB, free: 9.934 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.363e-05/1.028, allocations: 178.2 kB / 1.193 GB, free: 9.754 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.823e-05/1.028, allocations: 182.5 kB / 1.194 GB, free: 9.57 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/1.028, allocations: 388.5 kB / 1.194 GB, free: 9.152 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.426e-05/1.028, allocations: 110.8 kB / 1.194 GB, free: 9.039 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.4e-05/1.028, allocations: 107.4 kB / 1.194 GB, free: 8.93 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-05/1.028, allocations: 178.1 kB / 1.194 GB, free: 8.75 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.628e-05/1.028, allocations: 182 kB / 1.195 GB, free: 8.566 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.246e-05/1.028, allocations: 178.4 kB / 1.195 GB, free: 8.387 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.633e-05/1.028, allocations: 186.9 kB / 1.195 GB, free: 8.199 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.293e-05/1.028, allocations: 304.8 kB / 1.195 GB, free: 7.887 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.291e-05/1.028, allocations: 124.9 kB / 1.195 GB, free: 7.762 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.178e-05/1.028, allocations: 178.4 kB / 1.195 GB, free: 7.582 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.457e-05/1.028, allocations: 106.8 kB / 1.196 GB, free: 7.473 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.819e-05/1.028, allocations: 178.2 kB / 1.196 GB, free: 7.293 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/1.028, allocations: 102.7 kB / 1.196 GB, free: 7.188 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.738e-05/1.028, allocations: 106.5 kB / 1.196 GB, free: 7.105 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.028, allocations: 3.938 kB / 1.196 GB, free: 7.102 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003685/1.029, allocations: 76.08 kB / 1.196 GB, free: 7.078 MB / 1.076 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.002661/1.031, allocations: 1.044 MB / 1.197 GB, free: 6.184 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002835/1.032, allocations: 184.7 kB / 1.197 GB, free: 6.074 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/1.032, allocations: 0 / 1.197 GB, free: 6.074 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 3.166e-06/1.032, allocations: 8 kB / 1.197 GB, free: 6.066 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/1.032, allocations: 466.4 kB / 1.198 GB, free: 5.613 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/1.034, allocations: 2.023 MB / 1.2 GB, free: 4.016 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.934e-05/1.034, allocations: 67.14 kB / 1.2 GB, free: 3.941 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001061/1.034, allocations: 50.11 kB / 1.2 GB, free: 3.938 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.794e-05/1.034, allocations: 10.67 kB / 1.2 GB, free: 3.93 MB / 1.076 GB Notification: Performance of SimCode: time 3.9e-07/1.034, allocations: 0 / 1.2 GB, free: 3.93 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03359/1.068, allocations: 4.531 MB / 1.204 GB, free: 2.531 MB / 1.076 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.542867401149124] Failed to read output from testmodel.py, exit status != 0: 1.4763883189298213 1.501709354 0.472786578 Calling exit ...