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.001288/0.001288, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001485/0.001485, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.457/1.457, allocations: 230.6 MB / 256 MB, free: 7.785 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.435/3.435, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.002105/0.002105, allocations: 64.44 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3768, allocations: 181.9 MB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.002179/0.379, allocations: 0.5559 MB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002483/0.3815, allocations: 1.263 MB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.384e-05/0.3815, allocations: 4 kB / 1.365 GB, free: 12.31 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001207/0.3816, allocations: 15.92 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.769e-05/0.3817, allocations: 0 / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000927/0.3826, allocations: 285.4 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.3828, allocations: 79.81 kB / 1.366 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.127e-05/0.3828, allocations: 4 kB / 1.366 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.561e-05/0.3829, allocations: 43.89 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.383, allocations: 43.89 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.445e-05/0.383, allocations: 4 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004804/0.3835, allocations: 223.6 kB / 1.366 GB, free: 11.63 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.724e-05/0.3835, allocations: 8 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.747e-05/0.3836, allocations: 27.86 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004792/0.3841, allocations: 259.5 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3841, allocations: 0 / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3841, allocations: 0 / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.3841, allocations: 4 kB / 1.366 GB, free: 11.34 MB / 1.061 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.0005226/0.3846, allocations: 375.3 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.3846, allocations: 8.031 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.604e-05/0.3847, allocations: 106 kB / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.3848, allocations: 84.22 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.385, allocations: 197.8 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.357e-05/0.3851, allocations: 162.9 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.613e-05/0.3852, allocations: 154.9 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.858e-05/0.3853, allocations: 104.9 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001463/0.3854, allocations: 83.27 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.272e-05/0.3855, allocations: 150.6 kB / 1.367 GB, free: 9.859 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00018/0.3857, allocations: 154.6 kB / 1.368 GB, free: 9.707 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.244e-05/0.3857, allocations: 150.6 kB / 1.368 GB, free: 9.559 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004124/0.3861, allocations: 444.9 kB / 1.368 GB, free: 9.082 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.3863, allocations: 165.1 kB / 1.368 GB, free: 8.91 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.637e-05/0.3863, allocations: 80.14 kB / 1.368 GB, free: 8.828 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.979e-05/0.3863, allocations: 79.22 kB / 1.368 GB, free: 8.75 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.884e-05/0.3864, allocations: 109.8 kB / 1.369 GB, free: 8.633 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.193e-06/0.3864, allocations: 0 / 1.369 GB, free: 8.633 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.0002315/0.3866, allocations: 41.59 kB / 1.369 GB, free: 8.586 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.794e-05/0.3867, allocations: 130.7 kB / 1.369 GB, free: 8.445 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/0.3869, allocations: 152.2 kB / 1.369 GB, free: 8.289 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.387, allocations: 29.7 kB / 1.369 GB, free: 8.254 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.624e-05/0.387, allocations: 92.12 kB / 1.369 GB, free: 8.16 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.484e-06/0.387, allocations: 0 / 1.369 GB, free: 8.16 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.587e-05/0.3871, allocations: 41.69 kB / 1.369 GB, free: 8.113 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002431/0.3874, allocations: 322.8 kB / 1.369 GB, free: 7.789 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.3875, allocations: 97.62 kB / 1.369 GB, free: 7.688 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/0.3877, allocations: 97.64 kB / 1.37 GB, free: 7.586 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.3879, allocations: 102.6 kB / 1.37 GB, free: 7.477 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3879, allocations: 0 / 1.37 GB, free: 7.477 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004655/0.3883, allocations: 276.8 kB / 1.37 GB, free: 7.188 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.465e-05/0.3884, allocations: 45.75 kB / 1.37 GB, free: 7.137 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3884, allocations: 0 / 1.37 GB, free: 7.137 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.3884, allocations: 4 kB / 1.37 GB, free: 7.133 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-07/0.3884, allocations: 0 / 1.37 GB, free: 7.133 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.3884, allocations: 0 / 1.37 GB, free: 7.133 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003329/0.3887, allocations: 23.92 kB / 1.37 GB, free: 7.109 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.154e-05/0.3888, allocations: 12 kB / 1.37 GB, free: 7.098 MB / 1.061 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.0001636/0.3889, allocations: 198.2 kB / 1.37 GB, free: 6.895 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.389, allocations: 116.9 kB / 1.37 GB, free: 6.773 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.67e-05/0.3891, allocations: 120.5 kB / 1.37 GB, free: 6.641 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.011e-05/0.3892, allocations: 180.3 kB / 1.371 GB, free: 6.457 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.75e-05/0.3893, allocations: 188.1 kB / 1.371 GB, free: 6.266 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.692e-05/0.3894, allocations: 180.3 kB / 1.371 GB, free: 6.082 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003205/0.3897, allocations: 384.3 kB / 1.371 GB, free: 5.656 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.702e-05/0.3898, allocations: 108.9 kB / 1.371 GB, free: 5.543 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.3899, allocations: 101 kB / 1.372 GB, free: 5.438 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.435e-05/0.39, allocations: 184.2 kB / 1.372 GB, free: 5.25 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-05/0.3901, allocations: 176.3 kB / 1.372 GB, free: 5.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002256/0.3904, allocations: 184.3 kB / 1.372 GB, free: 4.883 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001067/0.3905, allocations: 184.2 kB / 1.372 GB, free: 4.695 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000217/0.3907, allocations: 311.7 kB / 1.373 GB, free: 4.367 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.75e-05/0.3908, allocations: 108.9 kB / 1.373 GB, free: 4.254 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.3909, allocations: 184.2 kB / 1.373 GB, free: 4.066 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.391, allocations: 104.9 kB / 1.373 GB, free: 3.957 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.3911, allocations: 180.2 kB / 1.373 GB, free: 3.773 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-05/0.3912, allocations: 112.9 kB / 1.373 GB, free: 3.656 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001499/0.3913, allocations: 111.2 kB / 1.373 GB, free: 3.547 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3913, allocations: 0 / 1.373 GB, free: 3.547 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004367/0.3918, allocations: 67.8 kB / 1.373 GB, free: 3.48 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.001905/0.3937, allocations: 1.055 MB / 1.374 GB, free: 2.477 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00032/0.394, allocations: 185 kB / 1.375 GB, free: 2.277 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.394, allocations: 8 kB / 1.375 GB, free: 2.27 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.915e-06/0.394, allocations: 4 kB / 1.375 GB, free: 2.266 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004935/0.3945, allocations: 455.7 kB / 1.375 GB, free: 1.816 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002426/0.3969, allocations: 2.009 MB / 1.377 GB, free: 15.7 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.786e-05/0.397, allocations: 71.27 kB / 1.377 GB, free: 15.61 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.063e-05/0.3971, allocations: 47.88 kB / 1.377 GB, free: 15.56 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.432e-05/0.3971, allocations: 7.438 kB / 1.377 GB, free: 15.55 MB / 1.076 GB Notification: Performance of SimCode: time 6.11e-07/0.3971, allocations: 0 / 1.377 GB, free: 15.55 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03714/0.4342, allocations: 4.426 MB / 1.381 GB, free: 11.2 MB / 1.076 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.717524630017579] Failed to read output from testmodel.py, exit status != 0: 0.8641966050490737 0.881392532 0.49413161499999997 Calling exit ...