Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Python_3_8.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.001712/0.001712, allocations: 107.3 kB / 16.46 MB, free: 6.508 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.002044/0.002044, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.516/1.516, allocations: 230.6 MB / 252.8 MB, free: 9.109 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.448/3.448, allocations: 0.505 GB / 0.8066 GB, free: 23.02 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_8.Functions.Examples.Exchange,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Python_3_8_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.002204/0.002204, allocations: 68.53 kB / 1.172 GB, free: 17.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.3822, allocations: 180.2 MB / 1.348 GB, free: 9.961 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001928/0.3842, allocations: 0.5593 MB / 1.348 GB, free: 9.402 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001929/0.3861, allocations: 1.199 MB / 1.349 GB, free: 8.195 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.51e-05/0.3861, allocations: 4 kB / 1.349 GB, free: 8.191 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.3862, allocations: 15.92 kB / 1.349 GB, free: 8.176 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.364e-05/0.3863, allocations: 0 / 1.349 GB, free: 8.176 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007894/0.3871, allocations: 269.5 kB / 1.35 GB, free: 7.914 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.3872, allocations: 79.86 kB / 1.35 GB, free: 7.836 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.803e-05/0.3873, allocations: 3.938 kB / 1.35 GB, free: 7.832 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.037e-05/0.3873, allocations: 39.95 kB / 1.35 GB, free: 7.793 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.3874, allocations: 51.83 kB / 1.35 GB, free: 7.742 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.3875, allocations: 3.938 kB / 1.35 GB, free: 7.738 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004291/0.3879, allocations: 215.6 kB / 1.35 GB, free: 7.527 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.703e-05/0.3879, allocations: 4 kB / 1.35 GB, free: 7.523 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.238e-05/0.388, allocations: 35.78 kB / 1.35 GB, free: 7.488 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003971/0.3884, allocations: 259.6 kB / 1.35 GB, free: 7.234 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3884, allocations: 0 / 1.35 GB, free: 7.234 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3884, allocations: 4 kB / 1.35 GB, free: 7.23 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.3884, allocations: 0 / 1.35 GB, free: 7.23 MB / 1.045 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.0006224/0.389, allocations: 444.5 kB / 1.351 GB, free: 6.742 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.389, allocations: 15.98 kB / 1.351 GB, free: 6.727 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.029e-05/0.3891, allocations: 110 kB / 1.351 GB, free: 6.609 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.3892, allocations: 84.17 kB / 1.351 GB, free: 6.527 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.3894, allocations: 251.6 kB / 1.351 GB, free: 6.242 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.565e-05/0.3895, allocations: 158.9 kB / 1.351 GB, free: 6.086 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.377e-05/0.3896, allocations: 154.9 kB / 1.352 GB, free: 5.934 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.866e-05/0.3897, allocations: 113.5 kB / 1.352 GB, free: 5.816 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.995e-05/0.3897, allocations: 75.28 kB / 1.352 GB, free: 5.742 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.352e-05/0.3898, allocations: 154.6 kB / 1.352 GB, free: 5.59 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.582e-05/0.3899, allocations: 154.6 kB / 1.352 GB, free: 5.438 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.117e-05/0.39, allocations: 158.5 kB / 1.352 GB, free: 5.281 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004479/0.3904, allocations: 469.9 kB / 1.353 GB, free: 4.773 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.3905, allocations: 165.1 kB / 1.353 GB, free: 4.602 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.535e-05/0.3906, allocations: 84.08 kB / 1.353 GB, free: 4.516 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.455e-05/0.3906, allocations: 83.22 kB / 1.353 GB, free: 4.434 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.542e-05/0.3907, allocations: 109.8 kB / 1.353 GB, free: 4.316 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.3907, allocations: 0 / 1.353 GB, free: 4.316 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 0.0001017/0.3908, allocations: 33.64 kB / 1.353 GB, free: 4.277 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.402e-05/0.3909, allocations: 130.7 kB / 1.353 GB, free: 4.137 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.3911, allocations: 147.8 kB / 1.353 GB, free: 3.984 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.3911, allocations: 25.7 kB / 1.353 GB, free: 3.953 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.996e-05/0.3912, allocations: 100.1 kB / 1.353 GB, free: 3.852 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.216e-06/0.3912, allocations: 0 / 1.353 GB, free: 3.852 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.38e-05/0.3913, allocations: 45.69 kB / 1.354 GB, free: 3.801 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.3914, allocations: 314.8 kB / 1.354 GB, free: 3.484 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.3915, allocations: 63.94 kB / 1.354 GB, free: 3.422 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.3916, allocations: 55.95 kB / 1.354 GB, free: 3.367 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.3918, allocations: 98.45 kB / 1.354 GB, free: 3.262 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3918, allocations: 4 kB / 1.354 GB, free: 3.258 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004409/0.3922, allocations: 235.2 kB / 1.354 GB, free: 3.016 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.347e-05/0.3923, allocations: 41.69 kB / 1.354 GB, free: 2.969 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3923, allocations: 0 / 1.354 GB, free: 2.969 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.3923, allocations: 0 / 1.354 GB, free: 2.969 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.386e-06/0.3923, allocations: 7.922 kB / 1.354 GB, free: 2.961 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3923, allocations: 0 / 1.354 GB, free: 2.961 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003545/0.3927, allocations: 28 kB / 1.354 GB, free: 2.934 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.207e-05/0.3927, allocations: 15.98 kB / 1.354 GB, free: 2.918 MB / 1.045 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.0001608/0.3929, allocations: 201.1 kB / 1.355 GB, free: 2.711 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.144e-05/0.393, allocations: 112.8 kB / 1.355 GB, free: 2.594 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.3931, allocations: 120.6 kB / 1.355 GB, free: 2.461 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.731e-05/0.3932, allocations: 180.2 kB / 1.355 GB, free: 2.277 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001045/0.3933, allocations: 180.2 kB / 1.355 GB, free: 2.094 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001353/0.3934, allocations: 180.3 kB / 1.355 GB, free: 1.91 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000302/0.3937, allocations: 417.2 kB / 1.356 GB, free: 1.445 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.494e-05/0.3938, allocations: 104.9 kB / 1.356 GB, free: 1.336 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.847e-05/0.3938, allocations: 109 kB / 1.356 GB, free: 1.223 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.367e-05/0.3939, allocations: 180.2 kB / 1.356 GB, free: 1.039 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.452e-05/0.394, allocations: 176.3 kB / 1.356 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000113/0.3941, allocations: 188.2 kB / 1.356 GB, free: 0.668 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.995e-05/0.3942, allocations: 180.3 kB / 1.357 GB, free: 496 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001922/0.3944, allocations: 311.7 kB / 1.357 GB, free: 160 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.3945, allocations: 186 kB / 1.357 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.863e-05/0.3946, allocations: 180.2 kB / 1.357 GB, free: 15.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.938e-05/0.3947, allocations: 109 kB / 1.357 GB, free: 15.65 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.3948, allocations: 184.2 kB / 1.357 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.005e-05/0.3949, allocations: 105 kB / 1.358 GB, free: 15.36 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001021/0.395, allocations: 107.2 kB / 1.358 GB, free: 15.25 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.395, allocations: 0 / 1.358 GB, free: 15.25 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004005/0.3954, allocations: 71.75 kB / 1.358 GB, free: 15.18 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.004066/0.3995, allocations: 1.043 MB / 1.359 GB, free: 14.18 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002949/0.3997, allocations: 151.3 kB / 1.359 GB, free: 14.02 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.3998, allocations: 0 / 1.359 GB, free: 14.02 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.034e-06/0.3998, allocations: 0 / 1.359 GB, free: 14.02 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/0.4002, allocations: 459.8 kB / 1.359 GB, free: 13.57 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/0.4025, allocations: 1.858 MB / 1.361 GB, free: 11.62 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004444/0.403, allocations: 0.6807 MB / 1.362 GB, free: 10.91 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.181e-05/0.4031, allocations: 51.81 kB / 1.362 GB, free: 10.86 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.225e-05/0.4031, allocations: 15.42 kB / 1.362 GB, free: 10.85 MB / 1.061 GB Notification: Performance of SimCode: time 5.51e-07/0.4031, allocations: 0 / 1.362 GB, free: 10.85 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02936/0.4325, allocations: 3.749 MB / 1.366 GB, free: 7.172 MB / 1.061 GB Error: Error building simulator. Build log: cmd: cd 'Buildings_latest_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.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/OpenModelica/OMCompiler/build/bin/../include/omc/c/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_8.Functions.Examples.Exchange/Buildings_latest_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.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_8.so -- Linking python3.8-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_8.so;python3.8-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.8 linked by target \"Buildings_latest_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange/Buildings_latest_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.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.67381103686057] Failed to read output from testmodel.py, exit status != 0: 0.8586922809481621 0.871958082 0.480824314 Calling exit ...