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.001448/0.001448, allocations: 95.77 kB / 18.94 MB, free: 2.844 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.001685/0.001685, allocations: 220.3 kB / 22.25 MB, free: 5.098 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.509/1.509, allocations: 230.6 MB / 256 MB, free: 7.816 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.245/3.245, 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.002071/0.002071, allocations: 62.91 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4179/0.42, allocations: 176.1 MB / 1.326 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.002427/0.4224, allocations: 0.5512 MB / 1.326 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002187/0.4246, allocations: 1.192 MB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.819e-05/0.4246, allocations: 0 / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.4247, allocations: 3.984 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.242e-05/0.4248, allocations: 0 / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007431/0.4255, allocations: 195.4 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.07e-05/0.4256, allocations: 15.98 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.738e-05/0.4256, allocations: 7.938 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.92e-05/0.4257, allocations: 4 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.853e-05/0.4257, allocations: 11.92 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.4257, allocations: 7.938 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004588/0.4262, allocations: 223.6 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.448e-05/0.4262, allocations: 3.984 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.224e-05/0.4263, allocations: 7.938 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004068/0.4267, allocations: 195.7 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.4267, allocations: 8 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4267, allocations: 0 / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.289e-06/0.4267, allocations: 0 / 1.328 GB, free: 15.1 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.0003995/0.4271, allocations: 293.8 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.4271, allocations: 12.03 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.396e-05/0.4272, allocations: 110 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.98e-05/0.4273, allocations: 80.2 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.4274, allocations: 181.8 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.967e-05/0.4275, allocations: 150.9 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.869e-05/0.4276, allocations: 158.9 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.796e-05/0.4277, allocations: 108.9 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.83e-05/0.4277, allocations: 79.28 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.752e-05/0.4278, allocations: 154.6 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.601e-05/0.4278, allocations: 154.6 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.874e-05/0.4279, allocations: 150.6 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003407/0.4282, allocations: 421 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.4283, allocations: 173.1 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.516e-05/0.4284, allocations: 80.14 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.687e-05/0.4284, allocations: 79.22 kB / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.549e-05/0.4285, allocations: 105.8 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.4285, allocations: 0 / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.13e-05/0.4286, allocations: 33.7 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.608e-05/0.4287, allocations: 130.7 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.4288, allocations: 105.8 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.4288, allocations: 25.7 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.069e-05/0.4289, allocations: 88.12 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.186e-06/0.4289, allocations: 0 / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.903e-05/0.4289, allocations: 21.7 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.4291, allocations: 310.8 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.418e-05/0.4291, allocations: 4 kB / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.7e-05/0.4292, allocations: 67.39 kB / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.802e-05/0.4293, allocations: 24.94 kB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.4293, allocations: 0 / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001514/0.4294, allocations: 61.58 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.4294, allocations: 4 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.4294, allocations: 0 / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.4294, allocations: 3.938 kB / 1.331 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/0.4294, allocations: 3.938 kB / 1.331 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.4295, allocations: 0 / 1.331 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.297e-05/0.4295, allocations: 11.92 kB / 1.331 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.4296, allocations: 0 / 1.331 GB, free: 11.57 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.0001179/0.4297, allocations: 189.2 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.211e-05/0.4298, allocations: 108.9 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.7e-05/0.4298, allocations: 108.1 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.11e-05/0.4299, allocations: 184.3 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.357e-05/0.43, allocations: 184.3 kB / 1.332 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.372e-05/0.4301, allocations: 180.2 kB / 1.332 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002604/0.4303, allocations: 380.3 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.999e-05/0.4304, allocations: 112.9 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.902e-05/0.4304, allocations: 101 kB / 1.333 GB, free: 9.934 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.06e-05/0.4305, allocations: 180.3 kB / 1.333 GB, free: 9.75 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.128e-05/0.4306, allocations: 184.2 kB / 1.333 GB, free: 9.562 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.921e-05/0.4307, allocations: 180.3 kB / 1.333 GB, free: 9.379 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.353e-05/0.4308, allocations: 184.2 kB / 1.334 GB, free: 9.191 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.431, allocations: 299.8 kB / 1.334 GB, free: 8.875 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.332e-05/0.431, allocations: 112.9 kB / 1.334 GB, free: 8.758 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.207e-05/0.4311, allocations: 184.2 kB / 1.334 GB, free: 8.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.042e-05/0.4312, allocations: 104.9 kB / 1.334 GB, free: 8.461 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.915e-05/0.4313, allocations: 180.3 kB / 1.334 GB, free: 8.277 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.239e-05/0.4313, allocations: 101 kB / 1.335 GB, free: 8.172 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.834e-05/0.4314, allocations: 87.44 kB / 1.335 GB, free: 8.086 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4314, allocations: 3.938 kB / 1.335 GB, free: 8.082 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003521/0.4317, allocations: 63.73 kB / 1.335 GB, free: 8.02 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.003494/0.4352, allocations: 1.027 MB / 1.336 GB, free: 7.035 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001168/0.4353, allocations: 19.98 kB / 1.336 GB, free: 7.016 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4353, allocations: 0 / 1.336 GB, free: 7.016 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.102e-06/0.4353, allocations: 3.938 kB / 1.336 GB, free: 7.012 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005469/0.4359, allocations: 459.6 kB / 1.336 GB, free: 6.559 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.4375, allocations: 1.325 MB / 1.337 GB, free: 5.152 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.513e-05/0.4376, allocations: 59.3 kB / 1.338 GB, free: 5.074 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001551/0.4377, allocations: 7.984 kB / 1.338 GB, free: 5.066 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.352e-05/0.4378, allocations: 19.42 kB / 1.338 GB, free: 5.047 MB / 1.029 GB Notification: Performance of SimCode: time 7.01e-07/0.4378, allocations: 4.156 kB / 1.338 GB, free: 5.043 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03879/0.4766, allocations: 3.127 MB / 1.341 GB, free: 1.977 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.561864183982834] Failed to read output from testmodel.py, exit status != 0: 0.9023754640074912 0.919596383 0.48979900000000004 Calling exit ...