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.001391/0.001391, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001572/0.001572, allocations: 221.2 kB / 22.25 MB, free: 5.102 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.601/1.601, 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.278/3.278, allocations: 0.49 GB / 0.7951 GB, free: 35.46 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.003199/0.003199, allocations: 69.52 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4247/0.4279, allocations: 176.1 MB / 1.326 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.002046/0.43, allocations: 0.5395 MB / 1.326 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002334/0.4323, allocations: 1.208 MB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.169e-05/0.4323, allocations: 4 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.4324, allocations: 0 / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.482e-05/0.4325, allocations: 3.938 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006187/0.4331, allocations: 181.6 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.409e-05/0.4332, allocations: 23.86 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.027e-05/0.4332, allocations: 0 / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.723e-05/0.4332, allocations: 19.91 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.262e-05/0.4333, allocations: 4 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.4333, allocations: 0 / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005773/0.4339, allocations: 227.6 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.744e-05/0.4339, allocations: 7.984 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.711e-05/0.4339, allocations: 7.938 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003296/0.4343, allocations: 199.7 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4343, allocations: 0 / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4343, allocations: 0 / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.4343, allocations: 0 / 1.328 GB, free: 15.04 MB / 1.029 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.0004069/0.4347, allocations: 295.6 kB / 1.328 GB, free: 14.72 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.4347, allocations: 12.03 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.248e-05/0.4348, allocations: 106 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.47e-05/0.4349, allocations: 76.22 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.435, allocations: 189.8 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001287/0.4352, allocations: 150.9 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/0.4353, allocations: 166.9 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.884e-05/0.4354, allocations: 104.9 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.473e-05/0.4354, allocations: 79.22 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001473/0.4356, allocations: 150.6 kB / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.774e-05/0.4357, allocations: 150.6 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.921e-05/0.4357, allocations: 154.6 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005507/0.4363, allocations: 421 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.4365, allocations: 173.1 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.847e-05/0.4365, allocations: 84.14 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001137/0.4366, allocations: 83.22 kB / 1.33 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.293e-05/0.4367, allocations: 109.8 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.4367, allocations: 0 / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.956e-05/0.4368, allocations: 33.64 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.239e-05/0.4369, allocations: 126.7 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.437, allocations: 101.8 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.437, allocations: 25.7 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.4372, allocations: 84.14 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-06/0.4372, allocations: 0 / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.791e-05/0.4372, allocations: 13.72 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002729/0.4375, allocations: 326.8 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.52e-05/0.4375, allocations: 4 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.1e-05/0.4376, allocations: 63.39 kB / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.672e-05/0.4376, allocations: 20.86 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.4376, allocations: 0 / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001446/0.4378, allocations: 69.42 kB / 1.331 GB, free: 11.52 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.4378, allocations: 8 kB / 1.331 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.4378, allocations: 0 / 1.331 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.4378, allocations: 0 / 1.331 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.282e-06/0.4378, allocations: 4.125 kB / 1.331 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.4378, allocations: 0 / 1.331 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.289e-05/0.4379, allocations: 4 kB / 1.331 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.4379, allocations: 0 / 1.331 GB, free: 11.5 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.0002122/0.4381, allocations: 185.1 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.187e-05/0.4382, allocations: 112.9 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.492e-05/0.4383, allocations: 112.1 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.357e-05/0.4384, allocations: 176.3 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001648/0.4386, allocations: 184.2 kB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001219/0.4387, allocations: 180.3 kB / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003936/0.4391, allocations: 388.2 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.863e-05/0.4391, allocations: 108.9 kB / 1.333 GB, free: 9.977 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.18e-05/0.4392, allocations: 101.2 kB / 1.333 GB, free: 9.871 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.808e-05/0.4393, allocations: 184.2 kB / 1.333 GB, free: 9.684 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.893e-05/0.4393, allocations: 180.3 kB / 1.333 GB, free: 9.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.605e-05/0.4394, allocations: 180.3 kB / 1.333 GB, free: 9.316 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001421/0.4396, allocations: 188.2 kB / 1.334 GB, free: 9.125 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.4397, allocations: 303.8 kB / 1.334 GB, free: 8.805 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.379e-05/0.4398, allocations: 108.9 kB / 1.334 GB, free: 8.691 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.225e-05/0.4399, allocations: 180.3 kB / 1.334 GB, free: 8.508 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.86e-05/0.44, allocations: 104.9 kB / 1.334 GB, free: 8.398 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.401e-05/0.4401, allocations: 184.2 kB / 1.334 GB, free: 8.211 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.219e-05/0.4401, allocations: 108.9 kB / 1.335 GB, free: 8.098 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.857e-05/0.4402, allocations: 83.28 kB / 1.335 GB, free: 8.016 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4402, allocations: 0 / 1.335 GB, free: 8.016 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004389/0.4406, allocations: 59.73 kB / 1.335 GB, free: 7.957 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.001381/0.442, allocations: 1.036 MB / 1.336 GB, free: 6.965 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.563e-05/0.4421, allocations: 11.94 kB / 1.336 GB, free: 6.953 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4421, allocations: 0 / 1.336 GB, free: 6.953 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.372e-06/0.4421, allocations: 0 / 1.336 GB, free: 6.953 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006331/0.4427, allocations: 455.7 kB / 1.336 GB, free: 6.504 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.4444, allocations: 1.329 MB / 1.337 GB, free: 5.094 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.664e-05/0.4445, allocations: 75.42 kB / 1.338 GB, free: 5 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001337/0.4447, allocations: 11.92 kB / 1.338 GB, free: 4.988 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/0.4447, allocations: 15.42 kB / 1.338 GB, free: 4.973 MB / 1.029 GB Notification: Performance of SimCode: time 4e-07/0.4447, allocations: 0 / 1.338 GB, free: 4.973 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03271/0.4774, allocations: 3.131 MB / 1.341 GB, free: 1.902 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.687288410990732] Failed to read output from testmodel.py, exit status != 0: 0.8890798640204594 0.903233178 0.46549172899999997 Calling exit ...