Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00186/0.00186, allocations: 106.6 kB / 16.45 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.002387/0.002387, 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.558/1.558, allocations: 230.6 MB / 252.8 MB, free: 9.117 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.368/3.368, allocations: 0.49 GB / 0.7916 GB, free: 33.4 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002096/0.002096, allocations: 67.06 kB / 1.149 GB, free: 26.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4104/0.4125, allocations: 176.1 MB / 1.321 GB, free: 3.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001958/0.4144, allocations: 0.5537 MB / 1.321 GB, free: 2.926 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001875/0.4163, allocations: 1.207 MB / 1.323 GB, free: 1.711 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.768e-05/0.4163, allocations: 0 / 1.323 GB, free: 1.711 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 9.948e-05/0.4164, allocations: 0 / 1.323 GB, free: 1.711 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.19e-05/0.4165, allocations: 0 / 1.323 GB, free: 1.711 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006753/0.4172, allocations: 279.3 kB / 1.323 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.4173, allocations: 83.8 kB / 1.323 GB, free: 1.355 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.634e-05/0.4174, allocations: 7.984 kB / 1.323 GB, free: 1.348 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.81e-05/0.4174, allocations: 39.86 kB / 1.323 GB, free: 1.309 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.4175, allocations: 47.88 kB / 1.323 GB, free: 1.262 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.4175, allocations: 4 kB / 1.323 GB, free: 1.258 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003936/0.4179, allocations: 203.7 kB / 1.323 GB, free: 1.059 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.322e-05/0.418, allocations: 23.78 kB / 1.323 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.506e-05/0.418, allocations: 27.92 kB / 1.323 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003612/0.4184, allocations: 251.5 kB / 1.323 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.4184, allocations: 4 kB / 1.323 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4184, allocations: 4 kB / 1.323 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.4184, allocations: 0 / 1.323 GB, free: 0.7539 MB / 1.014 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.0004912/0.4189, allocations: 444.5 kB / 1.324 GB, free: 272 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.4189, allocations: 11.98 kB / 1.324 GB, free: 260 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.843e-05/0.419, allocations: 106 kB / 1.324 GB, free: 144 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.985e-05/0.4191, allocations: 88.17 kB / 1.324 GB, free: 56 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.4193, allocations: 259.6 kB / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.698e-05/0.4194, allocations: 154.9 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.765e-05/0.4195, allocations: 162.9 kB / 1.325 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.211e-05/0.4195, allocations: 104.9 kB / 1.325 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.244e-05/0.4196, allocations: 75.28 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.772e-05/0.4196, allocations: 154.5 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.162e-05/0.4197, allocations: 154.6 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.121e-05/0.4198, allocations: 154.6 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003533/0.4201, allocations: 473.9 kB / 1.326 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.4202, allocations: 169.1 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.952e-05/0.4203, allocations: 84.08 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.744e-05/0.4203, allocations: 87.22 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.164e-05/0.4204, allocations: 105.8 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.4204, allocations: 0 / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001006/0.4205, allocations: 33.7 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.702e-05/0.4206, allocations: 126.7 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.4207, allocations: 145.7 kB / 1.326 GB, free: 13.51 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.4208, allocations: 29.7 kB / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.298e-05/0.4208, allocations: 92.14 kB / 1.327 GB, free: 13.38 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-06/0.4208, allocations: 0 / 1.327 GB, free: 13.38 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.76e-05/0.4209, allocations: 45.69 kB / 1.327 GB, free: 13.33 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.4211, allocations: 318.8 kB / 1.327 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.4212, allocations: 55.95 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.4213, allocations: 67.88 kB / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.4214, allocations: 98.58 kB / 1.327 GB, free: 12.78 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4214, allocations: 0 / 1.327 GB, free: 12.78 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004277/0.4219, allocations: 235.2 kB / 1.327 GB, free: 12.54 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.207e-05/0.4219, allocations: 45.69 kB / 1.327 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.4219, allocations: 0 / 1.327 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.4219, allocations: 0 / 1.327 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.4219, allocations: 0 / 1.327 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.4219, allocations: 4 kB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003145/0.4222, allocations: 31.8 kB / 1.327 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.001e-05/0.4223, allocations: 12 kB / 1.327 GB, free: 12.44 MB / 1.029 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.0001518/0.4224, allocations: 205.1 kB / 1.328 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.962e-05/0.4225, allocations: 112.9 kB / 1.328 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.749e-05/0.4226, allocations: 108.6 kB / 1.328 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.662e-05/0.4227, allocations: 188.2 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.363e-05/0.4228, allocations: 176.3 kB / 1.328 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.19e-05/0.4228, allocations: 176.3 kB / 1.328 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002784/0.4231, allocations: 425.1 kB / 1.329 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.825e-05/0.4232, allocations: 104.9 kB / 1.329 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.188e-05/0.4232, allocations: 104.9 kB / 1.329 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.242e-05/0.4233, allocations: 180.3 kB / 1.329 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/0.4234, allocations: 180.2 kB / 1.329 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.086e-05/0.4235, allocations: 184.3 kB / 1.329 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.245e-05/0.4236, allocations: 184.2 kB / 1.33 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/0.4238, allocations: 307.7 kB / 1.33 GB, free: 9.684 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.4239, allocations: 186 kB / 1.33 GB, free: 9.477 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.898e-05/0.424, allocations: 188.2 kB / 1.33 GB, free: 9.285 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.959e-05/0.4241, allocations: 105 kB / 1.33 GB, free: 9.176 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.77e-05/0.4242, allocations: 188.2 kB / 1.331 GB, free: 8.984 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.4242, allocations: 101 kB / 1.331 GB, free: 8.879 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.703e-05/0.4243, allocations: 111.2 kB / 1.331 GB, free: 8.77 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4243, allocations: 0 / 1.331 GB, free: 8.77 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003873/0.4247, allocations: 75.69 kB / 1.331 GB, free: 8.695 MB / 1.029 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.002242/0.4269, allocations: 1.04 MB / 1.332 GB, free: 7.703 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002982/0.4272, allocations: 151.3 kB / 1.332 GB, free: 7.543 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4272, allocations: 0 / 1.332 GB, free: 7.543 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.054e-06/0.4272, allocations: 0 / 1.332 GB, free: 7.543 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004644/0.4277, allocations: 465.9 kB / 1.332 GB, free: 7.086 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/0.4298, allocations: 1.85 MB / 1.334 GB, free: 5.148 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.4302, allocations: 0.6806 MB / 1.335 GB, free: 4.441 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.295e-05/0.4303, allocations: 51.86 kB / 1.335 GB, free: 4.391 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.77e-05/0.4303, allocations: 11.44 kB / 1.335 GB, free: 4.379 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.4303, allocations: 0 / 1.335 GB, free: 4.379 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03119/0.4615, allocations: 3.741 MB / 1.339 GB, free: 0.6914 MB / 1.029 GB Error: Error building simulator. Build log: cmd: cd 'Buildings_12_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_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange/Buildings_12_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 12.1.1-maint.12.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 12.1.1-maint.12.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_12_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange/Buildings_12_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.6354835270904005] Failed to read output from testmodel.py, exit status != 0: 0.8412660579197109 0.868636041 0.445477106 Calling exit ...