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.001342/0.001342, allocations: 110.3 kB / 18.94 MB, free: 2.789 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.001416/0.001416, allocations: 218.1 kB / 22.26 MB, free: 5.215 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.507/1.507, allocations: 230.6 MB / 256 MB, free: 8.016 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.37/3.37, allocations: 0.505 GB / 0.8101 GB, free: 22.04 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.002036/0.002036, allocations: 72.72 kB / 1.177 GB, free: 17.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4028/0.4049, allocations: 180.2 MB / 1.353 GB, free: 8.48 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.002977/0.4079, allocations: 0.552 MB / 1.353 GB, free: 7.93 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003035/0.4109, allocations: 1.293 MB / 1.355 GB, free: 6.629 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.556e-05/0.4109, allocations: 0 / 1.355 GB, free: 6.629 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.4111, allocations: 11.92 kB / 1.355 GB, free: 6.617 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.282e-05/0.4112, allocations: 4 kB / 1.355 GB, free: 6.613 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009394/0.4121, allocations: 293.7 kB / 1.355 GB, free: 6.328 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002077/0.4123, allocations: 75.81 kB / 1.355 GB, free: 6.254 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 6.204e-05/0.4124, allocations: 7.984 kB / 1.355 GB, free: 6.246 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.82e-05/0.4124, allocations: 39.91 kB / 1.355 GB, free: 6.207 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.4126, allocations: 43.83 kB / 1.355 GB, free: 6.164 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.4126, allocations: 4 kB / 1.355 GB, free: 6.16 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005236/0.4131, allocations: 247.6 kB / 1.355 GB, free: 5.918 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.538e-05/0.4132, allocations: 7.938 kB / 1.355 GB, free: 5.91 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.956e-05/0.4132, allocations: 39.84 kB / 1.355 GB, free: 5.871 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004037/0.4136, allocations: 259.6 kB / 1.356 GB, free: 5.617 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4136, allocations: 0 / 1.356 GB, free: 5.617 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4136, allocations: 3.938 kB / 1.356 GB, free: 5.613 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.4136, allocations: 0 / 1.356 GB, free: 5.613 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.0005348/0.4142, allocations: 373.3 kB / 1.356 GB, free: 5.215 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.4142, allocations: 8.031 kB / 1.356 GB, free: 5.207 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.99e-05/0.4143, allocations: 110 kB / 1.356 GB, free: 5.09 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.4144, allocations: 84.17 kB / 1.356 GB, free: 5.008 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.4146, allocations: 205.8 kB / 1.356 GB, free: 4.781 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.148e-05/0.4147, allocations: 154.9 kB / 1.357 GB, free: 4.629 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-05/0.4148, allocations: 154.9 kB / 1.357 GB, free: 4.477 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.425e-05/0.4148, allocations: 109.5 kB / 1.357 GB, free: 4.363 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.609e-05/0.4149, allocations: 79.28 kB / 1.357 GB, free: 4.285 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.058e-05/0.415, allocations: 154.6 kB / 1.357 GB, free: 4.133 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6e-05/0.415, allocations: 154.5 kB / 1.357 GB, free: 3.98 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.998e-05/0.4151, allocations: 150.6 kB / 1.357 GB, free: 3.832 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003697/0.4155, allocations: 440.9 kB / 1.358 GB, free: 3.359 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.4156, allocations: 169.1 kB / 1.358 GB, free: 3.184 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.027e-05/0.4156, allocations: 88.14 kB / 1.358 GB, free: 3.094 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.083e-05/0.4156, allocations: 83.16 kB / 1.358 GB, free: 3.012 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.377e-05/0.4157, allocations: 109.8 kB / 1.358 GB, free: 2.895 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.4157, allocations: 0 / 1.358 GB, free: 2.895 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 9.981e-05/0.4158, allocations: 29.7 kB / 1.358 GB, free: 2.859 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.896e-05/0.4159, allocations: 130.7 kB / 1.358 GB, free: 2.719 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.416, allocations: 149.7 kB / 1.358 GB, free: 2.562 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.4161, allocations: 29.64 kB / 1.358 GB, free: 2.527 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.72e-05/0.4162, allocations: 96.09 kB / 1.359 GB, free: 2.43 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-06/0.4162, allocations: 0 / 1.359 GB, free: 2.43 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.497e-05/0.4162, allocations: 41.69 kB / 1.359 GB, free: 2.383 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.4164, allocations: 318.8 kB / 1.359 GB, free: 2.062 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.4165, allocations: 59.94 kB / 1.359 GB, free: 2.004 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.4166, allocations: 59.89 kB / 1.359 GB, free: 1.945 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.4168, allocations: 106.6 kB / 1.359 GB, free: 1.832 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.4168, allocations: 0 / 1.359 GB, free: 1.832 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004166/0.4172, allocations: 231.2 kB / 1.359 GB, free: 1.594 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.256e-05/0.4172, allocations: 47.56 kB / 1.359 GB, free: 1.543 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.4172, allocations: 0 / 1.359 GB, free: 1.543 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.4173, allocations: 0 / 1.359 GB, free: 1.543 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.132e-06/0.4173, allocations: 0 / 1.359 GB, free: 1.543 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.4173, allocations: 0 / 1.359 GB, free: 1.543 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000353/0.4176, allocations: 23.94 kB / 1.359 GB, free: 1.52 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.716e-05/0.4177, allocations: 19.95 kB / 1.359 GB, free: 1.5 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.0001692/0.4178, allocations: 209 kB / 1.36 GB, free: 1.285 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.119e-05/0.4179, allocations: 112.8 kB / 1.36 GB, free: 1.168 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.937e-05/0.418, allocations: 112.5 kB / 1.36 GB, free: 1.047 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001158/0.4181, allocations: 188.2 kB / 1.36 GB, free: 0.8555 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.458e-05/0.4182, allocations: 176.3 kB / 1.36 GB, free: 0.6758 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.864e-05/0.4183, allocations: 184.3 kB / 1.36 GB, free: 500 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.4186, allocations: 388.2 kB / 1.361 GB, free: 60 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.877e-05/0.4186, allocations: 104.9 kB / 1.361 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.324e-05/0.4187, allocations: 108.9 kB / 1.361 GB, free: 15.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.563e-05/0.4188, allocations: 176.3 kB / 1.361 GB, free: 15.66 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.885e-05/0.4189, allocations: 184.3 kB / 1.361 GB, free: 15.47 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.099e-05/0.4189, allocations: 184.2 kB / 1.361 GB, free: 15.28 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.726e-05/0.419, allocations: 176.3 kB / 1.362 GB, free: 15.1 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001979/0.4192, allocations: 311.7 kB / 1.362 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.27e-05/0.4193, allocations: 108.9 kB / 1.362 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.035e-05/0.4194, allocations: 184.2 kB / 1.362 GB, free: 14.47 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.464e-05/0.4195, allocations: 105 kB / 1.362 GB, free: 14.36 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.27e-05/0.4196, allocations: 192.2 kB / 1.362 GB, free: 14.17 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.444e-05/0.4196, allocations: 105 kB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.69e-05/0.4197, allocations: 112.5 kB / 1.363 GB, free: 13.95 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4197, allocations: 0 / 1.363 GB, free: 13.95 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004/0.4201, allocations: 75.75 kB / 1.363 GB, free: 13.88 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.003725/0.4238, allocations: 1.034 MB / 1.364 GB, free: 12.88 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002899/0.4241, allocations: 151.3 kB / 1.364 GB, free: 12.72 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4241, allocations: 0 / 1.364 GB, free: 12.72 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.274e-06/0.4241, allocations: 0 / 1.364 GB, free: 12.72 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005065/0.4246, allocations: 463.8 kB / 1.364 GB, free: 12.27 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/0.4267, allocations: 1.85 MB / 1.366 GB, free: 10.33 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.427, allocations: 0.6807 MB / 1.367 GB, free: 9.621 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.955e-05/0.4271, allocations: 51.81 kB / 1.367 GB, free: 9.57 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.276e-05/0.4271, allocations: 11.42 kB / 1.367 GB, free: 9.562 MB / 1.061 GB Notification: Performance of SimCode: time 4.01e-07/0.4271, allocations: 0 / 1.367 GB, free: 9.562 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.034/0.4611, allocations: 3.837 MB / 1.371 GB, free: 5.781 MB / 1.061 GB Error: Error building simulator. Build log: cmd: cd '252.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_8.Functions.Examples.Exchange/252.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_8.Functions.Examples.Exchange/252.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 \"252\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange/252.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.928976330000296] Failed to read output from testmodel.py, exit status != 0: 0.8533213620003153 0.879896667 0.461202435 Calling exit ...