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.001337/0.001337, allocations: 113 kB / 18.94 MB, free: 2.934 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.002352/0.002352, allocations: 211.3 kB / 22.25 MB, free: 5.086 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.488/1.488, allocations: 230.6 MB / 256 MB, free: 8.027 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.322/3.322, allocations: 0.5112 GB / 0.8163 GB, free: 15.88 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.002069/0.002069, allocations: 67.11 kB / 1.187 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.3597, allocations: 182 MB / 1.364 GB, free: 13.86 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange): time 0.001873/0.3615, allocations: 0.5559 MB / 1.365 GB, free: 13.3 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001928/0.3635, allocations: 1.29 MB / 1.366 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.243e-05/0.3635, allocations: 0 / 1.366 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.349e-05/0.3636, allocations: 11.92 kB / 1.366 GB, free: 12 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.528e-05/0.3636, allocations: 0 / 1.366 GB, free: 12 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007487/0.3644, allocations: 291.2 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.3645, allocations: 79.8 kB / 1.366 GB, free: 11.63 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.968e-05/0.3646, allocations: 4 kB / 1.366 GB, free: 11.63 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.935e-05/0.3646, allocations: 39.91 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.3647, allocations: 47.88 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.3648, allocations: 8 kB / 1.367 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004642/0.3652, allocations: 243.6 kB / 1.367 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.742e-05/0.3652, allocations: 8 kB / 1.367 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.681e-05/0.3653, allocations: 31.84 kB / 1.367 GB, free: 11.26 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003844/0.3657, allocations: 267.5 kB / 1.367 GB, free: 11 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3657, allocations: 0 / 1.367 GB, free: 11 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3657, allocations: 0 / 1.367 GB, free: 11 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.3657, allocations: 0 / 1.367 GB, free: 11 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.0004402/0.3661, allocations: 367.4 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.3662, allocations: 8.031 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.909e-05/0.3662, allocations: 110 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.51e-05/0.3663, allocations: 84.22 kB / 1.368 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.3665, allocations: 209.7 kB / 1.368 GB, free: 10.16 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.053e-05/0.3666, allocations: 154.9 kB / 1.368 GB, free: 10.01 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.204e-05/0.3667, allocations: 154.9 kB / 1.368 GB, free: 9.859 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.077e-05/0.3668, allocations: 108.9 kB / 1.368 GB, free: 9.746 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.567e-05/0.3668, allocations: 75.28 kB / 1.368 GB, free: 9.672 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.632e-05/0.3669, allocations: 154.5 kB / 1.368 GB, free: 9.52 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.278e-05/0.3669, allocations: 154.6 kB / 1.369 GB, free: 9.367 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.322e-05/0.367, allocations: 154.5 kB / 1.369 GB, free: 9.215 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003559/0.3674, allocations: 445 kB / 1.369 GB, free: 8.738 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.3675, allocations: 169.1 kB / 1.369 GB, free: 8.562 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.005e-05/0.3675, allocations: 80.14 kB / 1.369 GB, free: 8.48 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.82e-05/0.3675, allocations: 79.22 kB / 1.369 GB, free: 8.402 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.345e-05/0.3676, allocations: 109.8 kB / 1.37 GB, free: 8.285 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.001e-06/0.3676, allocations: 4 kB / 1.37 GB, free: 8.281 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.0001062/0.3677, allocations: 37.59 kB / 1.37 GB, free: 8.238 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.102e-05/0.3678, allocations: 126.7 kB / 1.37 GB, free: 8.102 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.3679, allocations: 152.9 kB / 1.37 GB, free: 7.945 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.368, allocations: 25.7 kB / 1.37 GB, free: 7.914 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.403e-05/0.368, allocations: 92.14 kB / 1.37 GB, free: 7.82 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.368, allocations: 0 / 1.37 GB, free: 7.82 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.677e-05/0.3681, allocations: 41.69 kB / 1.37 GB, free: 7.773 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.3683, allocations: 326.8 kB / 1.37 GB, free: 7.445 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.3684, allocations: 63.95 kB / 1.37 GB, free: 7.383 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.3685, allocations: 63.94 kB / 1.37 GB, free: 7.32 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001333/0.3686, allocations: 90.52 kB / 1.371 GB, free: 7.223 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3686, allocations: 0 / 1.371 GB, free: 7.223 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004281/0.3691, allocations: 235.1 kB / 1.371 GB, free: 6.98 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.815e-05/0.3691, allocations: 52.03 kB / 1.371 GB, free: 6.926 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.3691, allocations: 0 / 1.371 GB, free: 6.926 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.3691, allocations: 0 / 1.371 GB, free: 6.926 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-07/0.3691, allocations: 64 / 1.371 GB, free: 6.926 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.3691, allocations: 4 kB / 1.371 GB, free: 6.922 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00031/0.3694, allocations: 23.91 kB / 1.371 GB, free: 6.898 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/0.3695, allocations: 12 kB / 1.371 GB, free: 6.887 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.0001485/0.3696, allocations: 197.1 kB / 1.371 GB, free: 6.684 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.918e-05/0.3697, allocations: 116.8 kB / 1.371 GB, free: 6.562 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.215e-05/0.3698, allocations: 112.5 kB / 1.371 GB, free: 6.438 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-05/0.3699, allocations: 188.3 kB / 1.371 GB, free: 6.246 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.108e-05/0.37, allocations: 184.2 kB / 1.372 GB, free: 6.059 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.327e-05/0.37, allocations: 180.3 kB / 1.372 GB, free: 5.875 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002739/0.3703, allocations: 380.2 kB / 1.372 GB, free: 5.453 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.005e-05/0.3704, allocations: 112.9 kB / 1.372 GB, free: 5.336 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.37e-05/0.3704, allocations: 105 kB / 1.372 GB, free: 5.227 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.578e-05/0.3705, allocations: 180.2 kB / 1.372 GB, free: 5.043 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-05/0.3706, allocations: 180.3 kB / 1.373 GB, free: 4.859 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.275e-05/0.3707, allocations: 184.2 kB / 1.373 GB, free: 4.672 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.319e-05/0.3708, allocations: 180.3 kB / 1.373 GB, free: 4.488 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.3709, allocations: 315.7 kB / 1.373 GB, free: 4.156 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.611e-05/0.371, allocations: 116.9 kB / 1.373 GB, free: 4.035 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.695e-05/0.3711, allocations: 184.2 kB / 1.374 GB, free: 3.848 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.449e-05/0.3712, allocations: 101 kB / 1.374 GB, free: 3.742 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.906e-05/0.3713, allocations: 184.3 kB / 1.374 GB, free: 3.555 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.036e-05/0.3713, allocations: 108.9 kB / 1.374 GB, free: 3.441 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.137e-05/0.3714, allocations: 111.2 kB / 1.374 GB, free: 3.332 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3714, allocations: 0 / 1.374 GB, free: 3.332 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003605/0.3718, allocations: 71.73 kB / 1.374 GB, free: 3.262 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.002991/0.3748, allocations: 1.023 MB / 1.375 GB, free: 2.277 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003158/0.3751, allocations: 155.2 kB / 1.375 GB, free: 2.113 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3751, allocations: 4.062 kB / 1.375 GB, free: 2.109 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.234e-06/0.3751, allocations: 0 / 1.375 GB, free: 2.109 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004631/0.3755, allocations: 462.8 kB / 1.376 GB, free: 1.656 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/0.3776, allocations: 1.846 MB / 1.378 GB, free: 15.72 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.378, allocations: 0.6807 MB / 1.378 GB, free: 15.02 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 9.474e-05/0.3781, allocations: 59.92 kB / 1.378 GB, free: 14.96 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.531e-05/0.3781, allocations: 7.438 kB / 1.378 GB, free: 14.95 MB / 1.076 GB Notification: Performance of SimCode: time 4.11e-07/0.3781, allocations: 0 / 1.378 GB, free: 14.95 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03278/0.4109, allocations: 3.847 MB / 1.382 GB, free: 11.17 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.443570622941479] Failed to read output from testmodel.py, exit status != 0: 0.8130293419817463 0.829670661 0.46068785999999995 Calling exit ...