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.001386/0.001386, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001572/0.001572, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.478/1.478, allocations: 230.6 MB / 256 MB, free: 7.785 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.398/3.398, allocations: 0.5112 GB / 0.8163 GB, free: 17.28 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.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 0.002117/0.002117, allocations: 71.31 kB / 1.186 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.3934, allocations: 182 MB / 1.364 GB, free: 13.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange): time 0.002363/0.3958, allocations: 0.5597 MB / 1.365 GB, free: 12.73 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00267/0.3984, allocations: 1.263 MB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.053e-05/0.3985, allocations: 0 / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001262/0.3986, allocations: 7.938 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.524e-05/0.3987, allocations: 0 / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.3997, allocations: 295.2 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001928/0.3999, allocations: 79.8 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.073e-05/0.3999, allocations: 0 / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.754e-05/0.4, allocations: 47.89 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.4001, allocations: 39.89 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.208e-05/0.4001, allocations: 7.938 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005643/0.4007, allocations: 223.6 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.683e-05/0.4007, allocations: 7.938 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.364e-05/0.4008, allocations: 27.91 kB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005436/0.4014, allocations: 263.5 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.4014, allocations: 0 / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.124e-06/0.4014, allocations: 0 / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.4014, allocations: 0 / 1.367 GB, free: 10.48 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.0006791/0.4021, allocations: 367.4 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.025e-05/0.4021, allocations: 8.031 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.015e-05/0.4022, allocations: 106 kB / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001558/0.4024, allocations: 92.2 kB / 1.367 GB, free: 9.875 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.4026, allocations: 197.8 kB / 1.368 GB, free: 9.656 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.4027, allocations: 158.9 kB / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.4028, allocations: 154.9 kB / 1.368 GB, free: 9.348 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.868e-05/0.4029, allocations: 104.9 kB / 1.368 GB, free: 9.238 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.688e-05/0.403, allocations: 79.28 kB / 1.368 GB, free: 9.16 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.646e-05/0.4031, allocations: 150.6 kB / 1.368 GB, free: 9.012 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.2e-05/0.4031, allocations: 150.6 kB / 1.368 GB, free: 8.863 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.4033, allocations: 154.6 kB / 1.369 GB, free: 8.711 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005517/0.4038, allocations: 444.9 kB / 1.369 GB, free: 8.234 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.404, allocations: 169.1 kB / 1.369 GB, free: 8.059 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.804e-05/0.404, allocations: 80.14 kB / 1.369 GB, free: 7.977 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.136e-05/0.4041, allocations: 83.22 kB / 1.369 GB, free: 7.895 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.902e-05/0.4042, allocations: 109.8 kB / 1.369 GB, free: 7.777 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.734e-06/0.4042, allocations: 0 / 1.369 GB, free: 7.777 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.0001467/0.4043, allocations: 37.59 kB / 1.369 GB, free: 7.734 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.4044, allocations: 130.7 kB / 1.37 GB, free: 7.594 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/0.4047, allocations: 148.2 kB / 1.37 GB, free: 7.441 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/0.4047, allocations: 29.7 kB / 1.37 GB, free: 7.406 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.4048, allocations: 88.14 kB / 1.37 GB, free: 7.316 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.456e-06/0.4048, allocations: 0 / 1.37 GB, free: 7.316 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.4049, allocations: 41.69 kB / 1.37 GB, free: 7.27 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002173/0.4051, allocations: 326.8 kB / 1.37 GB, free: 6.941 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002577/0.4054, allocations: 97.64 kB / 1.37 GB, free: 6.84 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.4056, allocations: 97.64 kB / 1.37 GB, free: 6.738 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002334/0.4059, allocations: 102.6 kB / 1.37 GB, free: 6.629 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.4059, allocations: 0 / 1.37 GB, free: 6.629 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0007133/0.4066, allocations: 276.7 kB / 1.371 GB, free: 6.34 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.35e-05/0.4066, allocations: 44.03 kB / 1.371 GB, free: 6.293 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.4067, allocations: 0 / 1.371 GB, free: 6.293 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.4067, allocations: 0 / 1.371 GB, free: 6.293 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.744e-06/0.4067, allocations: 4 kB / 1.371 GB, free: 6.289 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.4067, allocations: 0 / 1.371 GB, free: 6.289 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004917/0.4072, allocations: 27.98 kB / 1.371 GB, free: 6.262 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.256e-05/0.4072, allocations: 23.92 kB / 1.371 GB, free: 6.238 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: 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.000216/0.4074, allocations: 190.2 kB / 1.371 GB, free: 6.043 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/0.4076, allocations: 116.9 kB / 1.371 GB, free: 5.922 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/0.4078, allocations: 120.5 kB / 1.371 GB, free: 5.789 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001833/0.4079, allocations: 180.3 kB / 1.371 GB, free: 5.605 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001324/0.4081, allocations: 180.2 kB / 1.372 GB, free: 5.422 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001184/0.4082, allocations: 184.2 kB / 1.372 GB, free: 5.234 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004202/0.4086, allocations: 384.3 kB / 1.372 GB, free: 4.809 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.148e-05/0.4087, allocations: 116.9 kB / 1.372 GB, free: 4.688 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.062e-05/0.4087, allocations: 101 kB / 1.372 GB, free: 4.582 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000121/0.4089, allocations: 184.2 kB / 1.373 GB, free: 4.395 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000117/0.409, allocations: 176.3 kB / 1.373 GB, free: 4.215 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001196/0.4091, allocations: 180.2 kB / 1.373 GB, free: 4.031 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001086/0.4092, allocations: 184.2 kB / 1.373 GB, free: 3.844 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002809/0.4095, allocations: 311.7 kB / 1.373 GB, free: 3.516 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.182e-05/0.4096, allocations: 108.9 kB / 1.373 GB, free: 3.402 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.4097, allocations: 180.3 kB / 1.374 GB, free: 3.219 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.4099, allocations: 104.9 kB / 1.374 GB, free: 3.109 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.41, allocations: 180.3 kB / 1.374 GB, free: 2.926 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.472e-05/0.4101, allocations: 112.9 kB / 1.374 GB, free: 2.809 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001371/0.4102, allocations: 111.2 kB / 1.374 GB, free: 2.699 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4102, allocations: 0 / 1.374 GB, free: 2.699 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000648/0.4109, allocations: 67.8 kB / 1.374 GB, free: 2.633 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.003946/0.4148, allocations: 1.059 MB / 1.375 GB, free: 1.621 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004921/0.4153, allocations: 185 kB / 1.375 GB, free: 1.422 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.4153, allocations: 0 / 1.375 GB, free: 1.422 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.009e-06/0.4153, allocations: 0 / 1.375 GB, free: 1.422 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006527/0.416, allocations: 465.5 kB / 1.376 GB, free: 0.9648 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003571/0.4195, allocations: 2.013 MB / 1.378 GB, free: 14.84 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.4196, allocations: 67.53 kB / 1.378 GB, free: 14.75 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001347/0.4198, allocations: 47.88 kB / 1.378 GB, free: 14.71 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.046e-05/0.4198, allocations: 11.44 kB / 1.378 GB, free: 14.7 MB / 1.076 GB Notification: Performance of SimCode: time 8.12e-07/0.4198, allocations: 0 / 1.378 GB, free: 14.7 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04492/0.4647, allocations: 4.411 MB / 1.382 GB, free: 10.37 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.590259890072048] Failed to read output from testmodel.py, exit status != 0: 0.8922780520515516 0.916071984 0.511291154 Calling exit ...