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.001321/0.001321, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001529/0.001529, allocations: 215.9 kB / 22.25 MB, free: 4.863 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.472/1.472, allocations: 230.6 MB / 256 MB, free: 7.797 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.329/3.329, allocations: 0.5112 GB / 0.8163 GB, free: 17.33 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.00217/0.00217, allocations: 68.12 kB / 1.186 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3787, allocations: 182 MB / 1.364 GB, free: 13.3 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange): time 0.001953/0.3807, allocations: 0.5634 MB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002102/0.3828, allocations: 1.259 MB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.067e-05/0.3828, allocations: 0 / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.3829, allocations: 11.92 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.015e-05/0.383, allocations: 0 / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008108/0.3838, allocations: 295.2 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.3839, allocations: 79.86 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.257e-05/0.384, allocations: 0 / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.816e-05/0.384, allocations: 39.91 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.3841, allocations: 47.81 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.636e-05/0.3842, allocations: 11.94 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000431/0.3846, allocations: 215.7 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.014e-05/0.3846, allocations: 7.938 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.172e-05/0.3847, allocations: 31.91 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003891/0.3851, allocations: 263.5 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3851, allocations: 0 / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3851, allocations: 0 / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.3851, allocations: 0 / 1.367 GB, free: 10.5 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.0005018/0.3856, allocations: 371.4 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.3856, allocations: 8.031 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.675e-05/0.3857, allocations: 110 kB / 1.367 GB, free: 9.973 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.864e-05/0.3858, allocations: 84.22 kB / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.386, allocations: 197.7 kB / 1.368 GB, free: 9.672 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001499/0.3861, allocations: 154.9 kB / 1.368 GB, free: 9.52 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.153e-05/0.3862, allocations: 154.9 kB / 1.368 GB, free: 9.367 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.896e-05/0.3863, allocations: 108.9 kB / 1.368 GB, free: 9.254 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.405e-05/0.3864, allocations: 75.28 kB / 1.368 GB, free: 9.18 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.195e-05/0.3865, allocations: 158.5 kB / 1.368 GB, free: 9.023 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.749e-05/0.3865, allocations: 150.6 kB / 1.368 GB, free: 8.875 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.775e-05/0.3866, allocations: 154.5 kB / 1.369 GB, free: 8.723 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003852/0.387, allocations: 437 kB / 1.369 GB, free: 8.254 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.3871, allocations: 173.1 kB / 1.369 GB, free: 8.074 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.27e-05/0.3872, allocations: 80.14 kB / 1.369 GB, free: 7.992 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.864e-05/0.3872, allocations: 79.22 kB / 1.369 GB, free: 7.914 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.647e-05/0.3873, allocations: 113.8 kB / 1.369 GB, free: 7.793 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 2.915e-06/0.3873, allocations: 3.984 kB / 1.369 GB, free: 7.789 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.0001067/0.3874, allocations: 37.59 kB / 1.369 GB, free: 7.746 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.199e-05/0.3875, allocations: 134.7 kB / 1.37 GB, free: 7.602 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.3877, allocations: 137.7 kB / 1.37 GB, free: 7.457 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.3877, allocations: 29.7 kB / 1.37 GB, free: 7.422 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.935e-05/0.3878, allocations: 92.12 kB / 1.37 GB, free: 7.328 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.846e-06/0.3878, allocations: 4 kB / 1.37 GB, free: 7.324 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.051e-05/0.3879, allocations: 45.69 kB / 1.37 GB, free: 7.273 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.388, allocations: 314.8 kB / 1.37 GB, free: 6.957 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.3882, allocations: 97.64 kB / 1.37 GB, free: 6.855 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.3883, allocations: 101.6 kB / 1.37 GB, free: 6.75 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.3885, allocations: 94.52 kB / 1.37 GB, free: 6.648 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.3885, allocations: 4 kB / 1.37 GB, free: 6.645 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004683/0.3889, allocations: 276.8 kB / 1.371 GB, free: 6.355 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.725e-05/0.389, allocations: 41.69 kB / 1.371 GB, free: 6.309 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.389, allocations: 0 / 1.371 GB, free: 6.309 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.389, allocations: 0 / 1.371 GB, free: 6.309 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.276e-06/0.389, allocations: 12 kB / 1.371 GB, free: 6.297 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.936e-06/0.389, allocations: 3.984 kB / 1.371 GB, free: 6.293 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003531/0.3894, allocations: 23.88 kB / 1.371 GB, free: 6.27 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.113e-05/0.3894, allocations: 19.98 kB / 1.371 GB, free: 6.25 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.00016/0.3896, allocations: 193.1 kB / 1.371 GB, free: 6.051 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.237e-05/0.3897, allocations: 116.9 kB / 1.371 GB, free: 5.93 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.443e-05/0.3898, allocations: 116.5 kB / 1.371 GB, free: 5.801 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.971e-05/0.3898, allocations: 184.3 kB / 1.371 GB, free: 5.613 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.553e-05/0.3899, allocations: 180.2 kB / 1.372 GB, free: 5.43 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.925e-05/0.39, allocations: 184.3 kB / 1.372 GB, free: 5.242 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002718/0.3903, allocations: 384.3 kB / 1.372 GB, free: 4.816 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.834e-05/0.3904, allocations: 108.9 kB / 1.372 GB, free: 4.703 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.792e-05/0.3904, allocations: 105 kB / 1.372 GB, free: 4.594 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.94e-05/0.3905, allocations: 184.2 kB / 1.373 GB, free: 4.406 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.414e-05/0.3906, allocations: 176.3 kB / 1.373 GB, free: 4.227 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.105e-05/0.3907, allocations: 176.3 kB / 1.373 GB, free: 4.047 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.707e-05/0.3907, allocations: 188.2 kB / 1.373 GB, free: 3.855 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001907/0.3909, allocations: 307.7 kB / 1.373 GB, free: 3.531 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-05/0.391, allocations: 108.9 kB / 1.373 GB, free: 3.418 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.712e-05/0.3911, allocations: 184.2 kB / 1.374 GB, free: 3.23 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.714e-05/0.3912, allocations: 109 kB / 1.374 GB, free: 3.117 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.814e-05/0.3913, allocations: 180.2 kB / 1.374 GB, free: 2.934 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.414e-05/0.3913, allocations: 108.9 kB / 1.374 GB, free: 2.82 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.911e-05/0.3914, allocations: 113.6 kB / 1.374 GB, free: 2.711 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3914, allocations: 0 / 1.374 GB, free: 2.711 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003868/0.3918, allocations: 71.73 kB / 1.374 GB, free: 2.641 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.003644/0.3954, allocations: 1.041 MB / 1.375 GB, free: 1.648 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004674/0.3959, allocations: 189 kB / 1.375 GB, free: 1.445 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3959, allocations: 0 / 1.375 GB, free: 1.445 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.927e-06/0.3959, allocations: 0 / 1.375 GB, free: 1.445 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006651/0.3966, allocations: 469.1 kB / 1.376 GB, free: 0.9844 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00376/0.4003, allocations: 2.017 MB / 1.378 GB, free: 14.86 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.4005, allocations: 63.34 kB / 1.378 GB, free: 14.77 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001558/0.4006, allocations: 47.86 kB / 1.378 GB, free: 14.73 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.487e-05/0.4007, allocations: 11.44 kB / 1.378 GB, free: 14.71 MB / 1.076 GB Notification: Performance of SimCode: time 1.102e-06/0.4007, allocations: 3.938 kB / 1.378 GB, free: 14.71 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04383/0.4445, allocations: 4.404 MB / 1.382 GB, free: 10.39 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.499001743970439] Failed to read output from testmodel.py, exit status != 0: 0.8477185840019956 0.871876828 0.482855149 Calling exit ...