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.001379/0.001379, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001526/0.001526, allocations: 215.4 kB / 22.25 MB, free: 5.125 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: 230.6 MB / 256 MB, free: 7.965 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.494/3.494, allocations: 0.5112 GB / 0.8163 GB, free: 15.81 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.003015/0.003015, allocations: 72.7 kB / 1.187 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3808/0.3838, allocations: 182 MB / 1.364 GB, free: 13.84 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange): time 0.001957/0.3858, allocations: 0.5587 MB / 1.365 GB, free: 13.29 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002217/0.388, allocations: 1.287 MB / 1.366 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.888e-05/0.388, allocations: 4 kB / 1.366 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.3881, allocations: 11.92 kB / 1.366 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.133e-05/0.3882, allocations: 0 / 1.366 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007531/0.3889, allocations: 291.2 kB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.3891, allocations: 79.8 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.866e-05/0.3891, allocations: 4 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.981e-05/0.3892, allocations: 35.91 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.3893, allocations: 51.88 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.3893, allocations: 4 kB / 1.367 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004358/0.3898, allocations: 235.6 kB / 1.367 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.225e-05/0.3898, allocations: 15.92 kB / 1.367 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.546e-05/0.3898, allocations: 23.92 kB / 1.367 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003734/0.3902, allocations: 279.5 kB / 1.367 GB, free: 10.98 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3902, allocations: 0 / 1.367 GB, free: 10.98 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3902, allocations: 0 / 1.367 GB, free: 10.98 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.3902, allocations: 0 / 1.367 GB, free: 10.98 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.0004588/0.3907, allocations: 367.4 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.3907, allocations: 8.031 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.126e-05/0.3908, allocations: 106 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.979e-05/0.3909, allocations: 84.22 kB / 1.368 GB, free: 10.38 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.391, allocations: 201.8 kB / 1.368 GB, free: 10.16 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.458e-05/0.3911, allocations: 162.9 kB / 1.368 GB, free: 9.996 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.699e-05/0.3912, allocations: 162.9 kB / 1.368 GB, free: 9.836 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.103e-05/0.3913, allocations: 104.9 kB / 1.368 GB, free: 9.727 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.057e-05/0.3913, allocations: 75.28 kB / 1.368 GB, free: 9.652 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.517e-05/0.3914, allocations: 150.6 kB / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.718e-05/0.3914, allocations: 154.6 kB / 1.369 GB, free: 9.352 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.228e-05/0.3915, allocations: 150.6 kB / 1.369 GB, free: 9.203 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003802/0.3919, allocations: 444.9 kB / 1.369 GB, free: 8.727 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.392, allocations: 173.1 kB / 1.369 GB, free: 8.547 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.443e-05/0.392, allocations: 84.14 kB / 1.369 GB, free: 8.461 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.85e-05/0.3921, allocations: 79.22 kB / 1.369 GB, free: 8.383 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.215e-05/0.3921, allocations: 105.8 kB / 1.37 GB, free: 8.27 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.3921, allocations: 0 / 1.37 GB, free: 8.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.0001041/0.3922, allocations: 41.59 kB / 1.37 GB, free: 8.223 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.186e-05/0.3923, allocations: 126.7 kB / 1.37 GB, free: 8.086 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.3925, allocations: 149.7 kB / 1.37 GB, free: 7.93 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.3925, allocations: 29.7 kB / 1.37 GB, free: 7.895 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.142e-05/0.3926, allocations: 92.12 kB / 1.37 GB, free: 7.801 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-06/0.3926, allocations: 0 / 1.37 GB, free: 7.801 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.654e-05/0.3926, allocations: 45.69 kB / 1.37 GB, free: 7.75 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.3928, allocations: 322.8 kB / 1.37 GB, free: 7.426 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.3929, allocations: 55.95 kB / 1.37 GB, free: 7.371 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.393, allocations: 67.94 kB / 1.37 GB, free: 7.305 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.3932, allocations: 86.56 kB / 1.37 GB, free: 7.211 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3932, allocations: 4 kB / 1.371 GB, free: 7.207 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000408/0.3936, allocations: 243.1 kB / 1.371 GB, free: 6.957 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.525e-05/0.3936, allocations: 45.69 kB / 1.371 GB, free: 6.906 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.3937, allocations: 0 / 1.371 GB, free: 6.906 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.3937, allocations: 0 / 1.371 GB, free: 6.906 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.725e-06/0.3937, allocations: 4 kB / 1.371 GB, free: 6.902 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.3937, allocations: 0 / 1.371 GB, free: 6.902 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003256/0.394, allocations: 23.91 kB / 1.371 GB, free: 6.879 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.267e-05/0.394, allocations: 15.98 kB / 1.371 GB, free: 6.863 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.0001565/0.3942, allocations: 201.1 kB / 1.371 GB, free: 6.656 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.3943, allocations: 112.9 kB / 1.371 GB, free: 6.539 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.803e-05/0.3944, allocations: 112.4 kB / 1.371 GB, free: 6.414 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001015/0.3945, allocations: 188.3 kB / 1.371 GB, free: 6.223 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.848e-05/0.3946, allocations: 184.2 kB / 1.372 GB, free: 6.035 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.277e-05/0.3947, allocations: 180.3 kB / 1.372 GB, free: 5.852 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002784/0.3949, allocations: 380.3 kB / 1.372 GB, free: 5.43 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.604e-05/0.395, allocations: 112.8 kB / 1.372 GB, free: 5.312 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.331e-05/0.395, allocations: 105 kB / 1.372 GB, free: 5.203 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.952e-05/0.3951, allocations: 180.2 kB / 1.372 GB, free: 5.02 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.664e-05/0.3952, allocations: 180.3 kB / 1.373 GB, free: 4.836 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.745e-05/0.3953, allocations: 180.3 kB / 1.373 GB, free: 4.652 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001027/0.3954, allocations: 184.2 kB / 1.373 GB, free: 4.465 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.3956, allocations: 311.7 kB / 1.373 GB, free: 4.137 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.166e-05/0.3957, allocations: 108.9 kB / 1.373 GB, free: 4.023 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.849e-05/0.3958, allocations: 184.3 kB / 1.374 GB, free: 3.836 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.493e-05/0.3959, allocations: 108.9 kB / 1.374 GB, free: 3.723 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.915e-05/0.396, allocations: 180.3 kB / 1.374 GB, free: 3.539 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.746e-05/0.396, allocations: 108.9 kB / 1.374 GB, free: 3.426 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.789e-05/0.3961, allocations: 113.9 kB / 1.374 GB, free: 3.316 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3961, allocations: 0 / 1.374 GB, free: 3.316 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004034/0.3965, allocations: 71.73 kB / 1.374 GB, free: 3.246 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.00284/0.3994, allocations: 1.031 MB / 1.375 GB, free: 2.254 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002777/0.3996, allocations: 155.2 kB / 1.375 GB, free: 2.09 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3996, allocations: 0 / 1.375 GB, free: 2.09 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.455e-06/0.3997, allocations: 0 / 1.375 GB, free: 2.09 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004744/0.4001, allocations: 461.3 kB / 1.376 GB, free: 1.637 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002332/0.4025, allocations: 1.854 MB / 1.378 GB, free: 15.7 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.4028, allocations: 0.6768 MB / 1.378 GB, free: 14.99 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 9.131e-05/0.4029, allocations: 51.86 kB / 1.378 GB, free: 14.94 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.28e-05/0.403, allocations: 11.44 kB / 1.378 GB, free: 14.93 MB / 1.076 GB Notification: Performance of SimCode: time 1.192e-06/0.403, allocations: 0 / 1.378 GB, free: 14.93 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03271/0.4357, allocations: 3.849 MB / 1.382 GB, free: 11.15 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.595123994979076] Failed to read output from testmodel.py, exit status != 0: 0.822019353043288 0.842679655 0.44930844000000003 Calling exit ...