Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.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.001781/0.001781, 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.001477/0.001477, allocations: 215.5 kB / 22.25 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.549/1.549, allocations: 230.6 MB / 256 MB, free: 7.793 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.345/3.345, allocations: 0.4892 GB / 0.7944 GB, free: 35.65 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.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject",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.002038/0.002038, allocations: 69.91 kB / 1.153 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.3986, allocations: 176.1 MB / 1.325 GB, free: 2.395 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.002181/0.4008, allocations: 0.5333 MB / 1.326 GB, free: 1.867 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001876/0.4027, allocations: 1.204 MB / 1.327 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.349e-05/0.4027, allocations: 4 kB / 1.327 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 8.793e-05/0.4028, allocations: 0 / 1.327 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.213e-05/0.4028, allocations: 0 / 1.327 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005682/0.4034, allocations: 187.4 kB / 1.327 GB, free: 480 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.95e-05/0.4035, allocations: 15.98 kB / 1.327 GB, free: 464 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.767e-05/0.4035, allocations: 3.984 kB / 1.327 GB, free: 460 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.529e-05/0.4035, allocations: 11.98 kB / 1.327 GB, free: 448 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.897e-05/0.4036, allocations: 11.92 kB / 1.327 GB, free: 436 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.4036, allocations: 0 / 1.327 GB, free: 436 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003941/0.404, allocations: 219.5 kB / 1.327 GB, free: 216 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.873e-05/0.404, allocations: 11.97 kB / 1.327 GB, free: 204 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.232e-05/0.4041, allocations: 4 kB / 1.327 GB, free: 200 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002978/0.4044, allocations: 183.8 kB / 1.327 GB, free: 16 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.4044, allocations: 7.938 kB / 1.327 GB, free: 8 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4044, allocations: 0 / 1.327 GB, free: 8 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.4044, allocations: 0 / 1.327 GB, free: 8 kB / 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.0004033/0.4048, allocations: 301.8 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.4048, allocations: 12.03 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.185e-05/0.4049, allocations: 106 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.306e-05/0.405, allocations: 76.22 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.4051, allocations: 193.8 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.813e-05/0.4052, allocations: 150.9 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.188e-05/0.4053, allocations: 154.9 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.549e-05/0.4053, allocations: 104.9 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.339e-05/0.4054, allocations: 75.28 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.448e-05/0.4055, allocations: 154.5 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.16e-05/0.4055, allocations: 154.6 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.293e-05/0.4056, allocations: 154.6 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003262/0.4059, allocations: 421 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.406, allocations: 169.1 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.287e-05/0.4061, allocations: 84.14 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.058e-05/0.4061, allocations: 87.16 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.41e-05/0.4062, allocations: 105.8 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.4062, allocations: 0 / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.794e-05/0.4063, allocations: 25.7 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.859e-05/0.4063, allocations: 130.7 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.4065, allocations: 101.8 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.4065, allocations: 25.7 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.21e-05/0.4065, allocations: 92.03 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-06/0.4065, allocations: 0 / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.154e-05/0.4066, allocations: 21.7 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.4067, allocations: 318.8 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.388e-05/0.4068, allocations: 4 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.692e-05/0.4068, allocations: 67.33 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.318e-05/0.4069, allocations: 24.84 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4069, allocations: 0 / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001274/0.407, allocations: 53.61 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.407, allocations: 8 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.407, allocations: 0 / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.407, allocations: 128 / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.11e-07/0.407, allocations: 4 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.407, allocations: 3.938 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.448e-05/0.4071, allocations: 0 / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.4071, allocations: 7.984 kB / 1.331 GB, free: 12.47 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 2 * 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 prepare postOptimizeDAE: time 0.0001252/0.4073, allocations: 193.1 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.764e-05/0.4073, allocations: 104.9 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.23e-05/0.4074, allocations: 108.1 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.431e-05/0.4075, allocations: 180.3 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.921e-05/0.4076, allocations: 184.3 kB / 1.331 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.067e-05/0.4077, allocations: 184.3 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002577/0.4079, allocations: 384.2 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.369e-05/0.408, allocations: 104.9 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.101e-05/0.408, allocations: 104.9 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.443e-05/0.4081, allocations: 180.3 kB / 1.332 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.738e-05/0.4082, allocations: 184.2 kB / 1.332 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-05/0.4083, allocations: 180.2 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.395e-05/0.4084, allocations: 180.2 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.4085, allocations: 308 kB / 1.333 GB, free: 9.773 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.699e-05/0.4086, allocations: 108.9 kB / 1.333 GB, free: 9.66 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.614e-05/0.4087, allocations: 188.2 kB / 1.333 GB, free: 9.469 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.367e-05/0.4088, allocations: 105 kB / 1.333 GB, free: 9.359 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.373e-05/0.4089, allocations: 184.2 kB / 1.334 GB, free: 9.172 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.726e-05/0.4089, allocations: 109 kB / 1.334 GB, free: 9.059 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.647e-05/0.409, allocations: 83.27 kB / 1.334 GB, free: 8.977 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.409, allocations: 3.938 kB / 1.334 GB, free: 8.973 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003273/0.4093, allocations: 59.69 kB / 1.334 GB, free: 8.914 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.001212/0.4105, allocations: 1.035 MB / 1.335 GB, free: 7.922 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.768e-05/0.4106, allocations: 11.98 kB / 1.335 GB, free: 7.91 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4106, allocations: 0 / 1.335 GB, free: 7.91 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.864e-06/0.4106, allocations: 0 / 1.335 GB, free: 7.91 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.411, allocations: 461.4 kB / 1.335 GB, free: 7.457 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.4122, allocations: 1.321 MB / 1.337 GB, free: 6.055 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.287e-05/0.4123, allocations: 67.39 kB / 1.337 GB, free: 5.969 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000104/0.4124, allocations: 7.984 kB / 1.337 GB, free: 5.961 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.497e-05/0.4124, allocations: 11.44 kB / 1.337 GB, free: 5.949 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4124, allocations: 0 / 1.337 GB, free: 5.949 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03331/0.4458, allocations: 3.111 MB / 1.34 GB, free: 2.895 MB / 1.029 GB Error: Error building simulator. Build log: cmd: cd '341.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_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject/341.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_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject/341.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 \"341\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject/341.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.689508395269513] Failed to read output from testmodel.py, exit status != 0: 0.8802803731523454 0.903958649 0.49474175899999995 Calling exit ...