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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 104.6 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.801/2.801, allocations: 476.7 MB / 0.7611 GB, free: 11.28 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 71.88 kB / 1.104 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8459/0.848, allocations: 168.7 MB / 1.269 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.002027/0.85, allocations: 0.5495 MB / 1.269 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001942/0.8519, allocations: 1.204 MB / 1.27 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.697e-05/0.852, allocations: 4 kB / 1.27 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.858e-05/0.8521, allocations: 7.938 kB / 1.27 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.597e-05/0.8521, allocations: 0 / 1.27 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000738/0.8528, allocations: 279.3 kB / 1.271 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000163/0.853, allocations: 75.86 kB / 1.271 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.314e-05/0.8531, allocations: 8 kB / 1.271 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.573e-05/0.8531, allocations: 35.91 kB / 1.271 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.8532, allocations: 51.88 kB / 1.271 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.8532, allocations: 4 kB / 1.271 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003987/0.8536, allocations: 203.6 kB / 1.271 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.877e-05/0.8537, allocations: 19.88 kB / 1.271 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.021e-05/0.8537, allocations: 31.78 kB / 1.271 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003819/0.8541, allocations: 257.2 kB / 1.271 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.8541, allocations: 0 / 1.271 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.004e-06/0.8541, allocations: 0 / 1.271 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.8541, allocations: 0 / 1.271 GB, free: 2.461 MB / 0.9669 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.0005192/0.8546, allocations: 448.5 kB / 1.272 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.8547, allocations: 8.031 kB / 1.272 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.846e-05/0.8547, allocations: 106 kB / 1.272 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.8548, allocations: 88.16 kB / 1.272 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.855, allocations: 263.5 kB / 1.272 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.228e-05/0.8551, allocations: 154.9 kB / 1.272 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.961e-05/0.8552, allocations: 162.9 kB / 1.273 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.526e-05/0.8553, allocations: 104.9 kB / 1.273 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.209e-05/0.8553, allocations: 75.28 kB / 1.273 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-05/0.8554, allocations: 150.6 kB / 1.273 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.473e-05/0.8555, allocations: 150.6 kB / 1.273 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.197e-05/0.8555, allocations: 154.5 kB / 1.273 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003763/0.8559, allocations: 473.9 kB / 1.274 GB, free: 8 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.856, allocations: 177.2 kB / 1.274 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.251e-05/0.8561, allocations: 80.14 kB / 1.274 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.687e-05/0.8561, allocations: 79.22 kB / 1.274 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.424e-05/0.8562, allocations: 113.8 kB / 1.274 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.8562, allocations: 0 / 1.274 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001009/0.8563, allocations: 41.59 kB / 1.274 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.125e-05/0.8564, allocations: 134.6 kB / 1.274 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.8565, allocations: 140.3 kB / 1.274 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.8566, allocations: 29.7 kB / 1.274 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.699e-05/0.8567, allocations: 92.12 kB / 1.274 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-06/0.8567, allocations: 4 kB / 1.274 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.718e-05/0.8567, allocations: 37.7 kB / 1.274 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.8569, allocations: 322.8 kB / 1.275 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.857, allocations: 55.95 kB / 1.275 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.8571, allocations: 67.94 kB / 1.275 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.8573, allocations: 94.45 kB / 1.275 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.8573, allocations: 0 / 1.275 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004216/0.8577, allocations: 231.2 kB / 1.275 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.805e-05/0.8578, allocations: 47.56 kB / 1.275 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.8578, allocations: 4.062 kB / 1.275 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.8578, allocations: 0 / 1.275 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.8578, allocations: 0 / 1.275 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.8578, allocations: 0 / 1.275 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000332/0.8581, allocations: 31.84 kB / 1.275 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.079e-05/0.8582, allocations: 15.98 kB / 1.275 GB, free: 14.14 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.0001458/0.8583, allocations: 193.1 kB / 1.276 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.899e-05/0.8584, allocations: 124.8 kB / 1.276 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.973e-05/0.8585, allocations: 104.5 kB / 1.276 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.081e-05/0.8586, allocations: 176.3 kB / 1.276 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.094e-05/0.8587, allocations: 184.2 kB / 1.276 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.07e-05/0.8587, allocations: 180.3 kB / 1.276 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003104/0.8591, allocations: 421.3 kB / 1.277 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-05/0.8591, allocations: 112.9 kB / 1.277 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.377e-05/0.8592, allocations: 104.9 kB / 1.277 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.728e-05/0.8593, allocations: 184.2 kB / 1.277 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.161e-05/0.8593, allocations: 176.3 kB / 1.277 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.634e-05/0.8594, allocations: 188.2 kB / 1.277 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.682e-05/0.8595, allocations: 180.3 kB / 1.278 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002049/0.8597, allocations: 311.8 kB / 1.278 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.8599, allocations: 194 kB / 1.278 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.86, allocations: 180.2 kB / 1.278 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.727e-05/0.8601, allocations: 105 kB / 1.278 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.8602, allocations: 180.3 kB / 1.278 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.991e-05/0.8602, allocations: 104.9 kB / 1.279 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.941e-05/0.8603, allocations: 107.2 kB / 1.279 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8603, allocations: 0 / 1.279 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003855/0.8607, allocations: 71.73 kB / 1.279 GB, free: 10.41 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.001407/0.8621, allocations: 1.041 MB / 1.28 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002631/0.8624, allocations: 151.3 kB / 1.28 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.8624, allocations: 4 kB / 1.28 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.773e-06/0.8624, allocations: 0 / 1.28 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000438/0.8628, allocations: 459.6 kB / 1.28 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.8649, allocations: 1.861 MB / 1.282 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003827/0.8653, allocations: 0.6806 MB / 1.283 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.895e-05/0.8654, allocations: 51.86 kB / 1.283 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.754e-05/0.8654, allocations: 7.438 kB / 1.283 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of SimCode: time 5.11e-07/0.8654, allocations: 4 kB / 1.283 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02887/0.8943, allocations: 3.752 MB / 1.287 GB, free: 2.383 MB / 0.9825 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_2/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_2/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_2/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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_2/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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_2/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.158180326689035] Failed to read output from testmodel.py, exit status != 0: 1.2910838639363647 1.305917103 0.448875558 Calling exit ...