Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001339/0.001339, allocations: 106.4 kB / 16.45 MB, free: 6.453 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.001639/0.001639, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.518/1.518, allocations: 230.6 MB / 252.8 MB, free: 8.949 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.865/2.865, allocations: 476.7 MB / 0.7672 GB, free: 5.215 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_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_11_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.002306/0.002306, allocations: 75.88 kB / 1.112 GB, free: 1.555 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8743/0.8766, allocations: 169.9 MB / 1.278 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.002099/0.8787, allocations: 0.5573 MB / 1.279 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001929/0.8806, allocations: 1.208 MB / 1.28 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.551e-05/0.8806, allocations: 0 / 1.28 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00012/0.8808, allocations: 3.938 kB / 1.28 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.8e-05/0.8808, allocations: 0 / 1.28 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007301/0.8815, allocations: 283.2 kB / 1.28 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.8817, allocations: 75.8 kB / 1.28 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.051e-05/0.8818, allocations: 7.984 kB / 1.28 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.915e-05/0.8818, allocations: 35.92 kB / 1.28 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.8819, allocations: 51.83 kB / 1.28 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.703e-05/0.882, allocations: 7.984 kB / 1.28 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004173/0.8824, allocations: 203.7 kB / 1.281 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.213e-05/0.8824, allocations: 11.97 kB / 1.281 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.495e-05/0.8825, allocations: 27.81 kB / 1.281 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003845/0.8828, allocations: 257.2 kB / 1.281 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.8829, allocations: 0 / 1.281 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8829, allocations: 0 / 1.281 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.8829, allocations: 0 / 1.281 GB, free: 10.71 MB / 0.9825 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.0005519/0.8834, allocations: 448.5 kB / 1.281 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.8835, allocations: 15.97 kB / 1.281 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.904e-05/0.8835, allocations: 106 kB / 1.281 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.8836, allocations: 88.17 kB / 1.282 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/0.8839, allocations: 263.5 kB / 1.282 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-05/0.8839, allocations: 154.9 kB / 1.282 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.887e-05/0.884, allocations: 154.9 kB / 1.282 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.597e-05/0.8841, allocations: 108.9 kB / 1.282 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.866e-05/0.8842, allocations: 75.28 kB / 1.282 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-05/0.8842, allocations: 154.6 kB / 1.282 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.681e-05/0.8843, allocations: 150.6 kB / 1.283 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.203e-05/0.8844, allocations: 158.5 kB / 1.283 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004213/0.8848, allocations: 477.8 kB / 1.283 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.8849, allocations: 173.1 kB / 1.283 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.125e-05/0.885, allocations: 80.14 kB / 1.283 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.894e-05/0.885, allocations: 79.22 kB / 1.283 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.848e-05/0.8851, allocations: 109.8 kB / 1.284 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.8851, allocations: 4 kB / 1.284 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001074/0.8852, allocations: 37.66 kB / 1.284 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.986e-05/0.8853, allocations: 126.7 kB / 1.284 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.8854, allocations: 144 kB / 1.284 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.8855, allocations: 29.7 kB / 1.284 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.452e-05/0.8855, allocations: 88.14 kB / 1.284 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/0.8855, allocations: 0 / 1.284 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.966e-05/0.8856, allocations: 49.69 kB / 1.284 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.8858, allocations: 318.8 kB / 1.284 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.8859, allocations: 63.95 kB / 1.284 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.886, allocations: 59.94 kB / 1.284 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.8862, allocations: 102.5 kB / 1.285 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.8862, allocations: 3.938 kB / 1.285 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004376/0.8866, allocations: 231.2 kB / 1.285 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.375e-05/0.8867, allocations: 41.69 kB / 1.285 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.8867, allocations: 0 / 1.285 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.8867, allocations: 4 kB / 1.285 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.8867, allocations: 4.062 kB / 1.285 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.8867, allocations: 0 / 1.285 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003247/0.887, allocations: 27.86 kB / 1.285 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.393e-05/0.8871, allocations: 16 kB / 1.285 GB, free: 6.383 MB / 0.9825 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.0001481/0.8872, allocations: 193.1 kB / 1.285 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.64e-05/0.8873, allocations: 120.8 kB / 1.285 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.056e-05/0.8874, allocations: 116.5 kB / 1.285 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-05/0.8875, allocations: 184.2 kB / 1.285 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.651e-05/0.8876, allocations: 176.3 kB / 1.286 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-05/0.8876, allocations: 176.3 kB / 1.286 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003015/0.888, allocations: 413.3 kB / 1.286 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.343e-05/0.888, allocations: 112.9 kB / 1.286 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.134e-05/0.8881, allocations: 116.9 kB / 1.286 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.339e-05/0.8882, allocations: 176.3 kB / 1.287 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.333e-05/0.8883, allocations: 176.3 kB / 1.287 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001036/0.8884, allocations: 180.2 kB / 1.287 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.265e-05/0.8884, allocations: 184.2 kB / 1.287 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.8886, allocations: 315.8 kB / 1.287 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.8887, allocations: 182 kB / 1.288 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.849e-05/0.8888, allocations: 188.2 kB / 1.288 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.892e-05/0.8889, allocations: 101 kB / 1.288 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.889, allocations: 184.2 kB / 1.288 GB, free: 2.934 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.564e-05/0.8891, allocations: 105 kB / 1.288 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.111e-05/0.8892, allocations: 103.2 kB / 1.288 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8892, allocations: 4 kB / 1.288 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004118/0.8896, allocations: 67.73 kB / 1.288 GB, free: 2.652 MB / 0.9825 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.00142/0.891, allocations: 1.038 MB / 1.289 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002817/0.8913, allocations: 155.3 kB / 1.289 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.8913, allocations: 0 / 1.289 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.124e-06/0.8913, allocations: 0 / 1.289 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004453/0.8917, allocations: 459.7 kB / 1.29 GB, free: 1.043 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002161/0.8939, allocations: 1.85 MB / 1.292 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.8942, allocations: 0.6845 MB / 1.292 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.72e-05/0.8943, allocations: 55.92 kB / 1.292 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.246e-05/0.8944, allocations: 15.44 kB / 1.292 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of SimCode: time 6.61e-07/0.8944, allocations: 0 / 1.292 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03226/0.9266, allocations: 3.749 MB / 1.296 GB, free: 10.63 MB / 0.9981 GB Error: Error building simulator. Build log: cmd: cd 'Buildings_11_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_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange/Buildings_11_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 11.1.1-maint.11.x/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 11.1.1-maint.11.x/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_11_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange/Buildings_11_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.250203988980502] Failed to read output from testmodel.py, exit status != 0: 1.3252353081479669 1.3398306739999999 0.453990554 Calling exit ...