Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001463/0.001463, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001468/0.001468, allocations: 216 kB / 22.25 MB, free: 4.855 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 7.789 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.353/3.353, 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.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_latest_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_latest_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.002983/0.002983, allocations: 71.75 kB / 1.186 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5019/0.5049, allocations: 181.9 MB / 1.363 GB, free: 14.13 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.002365/0.5073, allocations: 0.5401 MB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002276/0.5095, allocations: 1.201 MB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.06e-05/0.5096, allocations: 4 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.5097, allocations: 7.938 kB / 1.365 GB, free: 12.37 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.868e-05/0.5098, allocations: 0 / 1.365 GB, free: 12.37 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007377/0.5105, allocations: 183.4 kB / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.274e-05/0.5106, allocations: 23.86 kB / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.455e-05/0.5106, allocations: 0 / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.902e-05/0.5106, allocations: 8 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.223e-05/0.5107, allocations: 11.97 kB / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.5107, allocations: 0 / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004927/0.5112, allocations: 219.6 kB / 1.366 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.263e-05/0.5113, allocations: 4 kB / 1.366 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.201e-05/0.5113, allocations: 7.938 kB / 1.366 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004002/0.5117, allocations: 191.7 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.5117, allocations: 7.984 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.332e-06/0.5117, allocations: 0 / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.5117, allocations: 0 / 1.366 GB, free: 11.73 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.000446/0.5121, allocations: 293.8 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.5122, allocations: 12.03 kB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.377e-05/0.5123, allocations: 106 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.521e-05/0.5124, allocations: 76.22 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.5126, allocations: 197.7 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.623e-05/0.5126, allocations: 150.9 kB / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.5128, allocations: 154.9 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.5129, allocations: 104.9 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.367e-05/0.5129, allocations: 75.28 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.72e-05/0.513, allocations: 150.6 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-05/0.5131, allocations: 150.6 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.5132, allocations: 162.5 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003725/0.5135, allocations: 421 kB / 1.368 GB, free: 9.598 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.5137, allocations: 169.1 kB / 1.368 GB, free: 9.422 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.761e-05/0.5137, allocations: 84.14 kB / 1.368 GB, free: 9.336 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.826e-05/0.5138, allocations: 83.22 kB / 1.368 GB, free: 9.254 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.079e-05/0.5138, allocations: 105.8 kB / 1.368 GB, free: 9.141 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.5138, allocations: 0 / 1.368 GB, free: 9.141 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.0001136/0.5139, allocations: 33.62 kB / 1.368 GB, free: 9.102 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.834e-05/0.514, allocations: 130.7 kB / 1.368 GB, free: 8.961 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.5142, allocations: 97.86 kB / 1.368 GB, free: 8.855 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.5142, allocations: 25.7 kB / 1.368 GB, free: 8.824 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.896e-05/0.5143, allocations: 88.12 kB / 1.368 GB, free: 8.734 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-06/0.5143, allocations: 0 / 1.368 GB, free: 8.734 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/0.5143, allocations: 17.72 kB / 1.368 GB, free: 8.711 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.5145, allocations: 318.8 kB / 1.369 GB, free: 8.391 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.103e-05/0.5145, allocations: 7.984 kB / 1.369 GB, free: 8.383 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.424e-05/0.5146, allocations: 63.41 kB / 1.369 GB, free: 8.309 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.563e-05/0.5146, allocations: 20.84 kB / 1.369 GB, free: 8.285 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.5146, allocations: 0 / 1.369 GB, free: 8.285 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001391/0.5148, allocations: 57.56 kB / 1.369 GB, free: 8.223 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.5148, allocations: 8 kB / 1.369 GB, free: 8.215 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.5148, allocations: 0 / 1.369 GB, free: 8.215 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.5148, allocations: 4.062 kB / 1.369 GB, free: 8.211 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.482e-06/0.5148, allocations: 4 kB / 1.369 GB, free: 8.207 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.5148, allocations: 7.922 kB / 1.369 GB, free: 8.199 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.677e-05/0.5149, allocations: 0 / 1.369 GB, free: 8.199 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.5149, allocations: 4 kB / 1.369 GB, free: 8.195 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: 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.0001233/0.515, allocations: 185.1 kB / 1.369 GB, free: 8.004 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.436e-05/0.5151, allocations: 112.8 kB / 1.369 GB, free: 7.887 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.969e-05/0.5152, allocations: 112.1 kB / 1.369 GB, free: 7.766 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.659e-05/0.5153, allocations: 176.5 kB / 1.37 GB, free: 7.586 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.284e-05/0.5153, allocations: 188.2 kB / 1.37 GB, free: 7.395 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-05/0.5154, allocations: 184.3 kB / 1.37 GB, free: 7.207 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.5157, allocations: 384.2 kB / 1.37 GB, free: 6.781 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-05/0.5157, allocations: 108.9 kB / 1.37 GB, free: 6.668 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.365e-05/0.5158, allocations: 101 kB / 1.37 GB, free: 6.562 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.77e-05/0.5158, allocations: 180.2 kB / 1.371 GB, free: 6.379 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.507e-05/0.5159, allocations: 184.3 kB / 1.371 GB, free: 6.191 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.134e-05/0.516, allocations: 184.2 kB / 1.371 GB, free: 6.004 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.545e-05/0.5161, allocations: 176.3 kB / 1.371 GB, free: 5.824 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/0.5163, allocations: 307.8 kB / 1.371 GB, free: 5.5 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.349e-05/0.5163, allocations: 108.9 kB / 1.372 GB, free: 5.387 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.545e-05/0.5164, allocations: 184.2 kB / 1.372 GB, free: 5.199 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.446e-05/0.5165, allocations: 105 kB / 1.372 GB, free: 5.09 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.044e-05/0.5166, allocations: 180.3 kB / 1.372 GB, free: 4.906 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.475e-05/0.5166, allocations: 108.9 kB / 1.372 GB, free: 4.793 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.054e-05/0.5167, allocations: 83.27 kB / 1.372 GB, free: 4.711 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.5167, allocations: 0 / 1.372 GB, free: 4.711 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003361/0.517, allocations: 59.67 kB / 1.372 GB, free: 4.652 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.001269/0.5183, allocations: 1.025 MB / 1.373 GB, free: 3.664 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001007/0.5184, allocations: 19.92 kB / 1.373 GB, free: 3.645 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.5184, allocations: 0 / 1.373 GB, free: 3.645 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.173e-06/0.5184, allocations: 8 kB / 1.373 GB, free: 3.637 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/0.5188, allocations: 453.1 kB / 1.374 GB, free: 3.191 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.5201, allocations: 1.329 MB / 1.375 GB, free: 1.781 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.717e-05/0.5201, allocations: 63.45 kB / 1.375 GB, free: 1.699 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001202/0.5203, allocations: 11.98 kB / 1.375 GB, free: 1.688 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.404e-05/0.5203, allocations: 15.42 kB / 1.375 GB, free: 1.672 MB / 1.061 GB Notification: Performance of SimCode: time 3.41e-07/0.5203, allocations: 0 / 1.375 GB, free: 1.672 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03536/0.5557, allocations: 3.104 MB / 1.378 GB, free: 14.66 MB / 1.076 GB Error: Error building simulator. Build log: cmd: cd '319.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.ExchangeWithPassPythonObject/319.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.ExchangeWithPassPythonObject/319.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 \"319\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject/319.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.884725961834192] Failed to read output from testmodel.py, exit status != 0: 1.0064028571359813 1.02933029 0.513046144 Calling exit ...