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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00186/0.00186, allocations: 107.6 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002036/0.002036, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.196/3.196, allocations: 497.2 MB / 0.7811 GB, free: 33.63 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 63.2 kB / 1.134 GB, free: 33.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.32, allocations: 173.9 MB / 1.304 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001804/0.3218, allocations: 0.5228 MB / 1.304 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001679/0.3234, allocations: 1.14 MB / 1.306 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.404e-05/0.3235, allocations: 0 / 1.306 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 9.957e-05/0.3236, allocations: 15.92 kB / 1.306 GB, free: 15.93 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.807e-05/0.3236, allocations: 0 / 1.306 GB, free: 15.93 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005159/0.3241, allocations: 175.4 kB / 1.306 GB, free: 15.76 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.132e-05/0.3242, allocations: 11.94 kB / 1.306 GB, free: 15.75 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.702e-05/0.3242, allocations: 3.984 kB / 1.306 GB, free: 15.75 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.984e-05/0.3243, allocations: 11.98 kB / 1.306 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.124e-05/0.3243, allocations: 11.98 kB / 1.306 GB, free: 15.72 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.3243, allocations: 0 / 1.306 GB, free: 15.72 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003828/0.3247, allocations: 207.6 kB / 1.306 GB, free: 15.52 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.901e-05/0.3247, allocations: 11.92 kB / 1.306 GB, free: 15.51 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.079e-05/0.3248, allocations: 0 / 1.306 GB, free: 15.51 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003253/0.3251, allocations: 195.8 kB / 1.306 GB, free: 15.32 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3251, allocations: 0 / 1.306 GB, free: 15.32 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3251, allocations: 0 / 1.306 GB, free: 15.32 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.3251, allocations: 0 / 1.306 GB, free: 15.32 MB / 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.000429/0.3255, allocations: 370.9 kB / 1.307 GB, free: 14.91 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.3256, allocations: 12.92 kB / 1.307 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.524e-05/0.3256, allocations: 110 kB / 1.307 GB, free: 14.78 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.352e-05/0.3257, allocations: 80.22 kB / 1.307 GB, free: 14.7 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.3259, allocations: 243.6 kB / 1.307 GB, free: 14.42 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.318e-05/0.326, allocations: 158.9 kB / 1.307 GB, free: 14.27 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.989e-05/0.3261, allocations: 150.9 kB / 1.307 GB, free: 14.12 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.148e-05/0.3262, allocations: 108.9 kB / 1.307 GB, free: 14 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.717e-05/0.3262, allocations: 79.28 kB / 1.307 GB, free: 13.93 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.732e-05/0.3263, allocations: 158.6 kB / 1.308 GB, free: 13.77 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.41e-05/0.3263, allocations: 150.6 kB / 1.308 GB, free: 13.62 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.744e-05/0.3264, allocations: 150.6 kB / 1.308 GB, free: 13.47 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000346/0.3268, allocations: 449.9 kB / 1.308 GB, free: 12.98 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.3269, allocations: 177.1 kB / 1.308 GB, free: 12.8 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.373e-05/0.3269, allocations: 80.14 kB / 1.309 GB, free: 12.72 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.812e-05/0.3269, allocations: 79.22 kB / 1.309 GB, free: 12.64 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.226e-05/0.327, allocations: 105.8 kB / 1.309 GB, free: 12.53 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.327, allocations: 0 / 1.309 GB, free: 12.53 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 7.806e-05/0.3271, allocations: 33.69 kB / 1.309 GB, free: 12.49 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.156e-05/0.3272, allocations: 134.7 kB / 1.309 GB, free: 12.34 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.3273, allocations: 93.86 kB / 1.309 GB, free: 12.24 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.3273, allocations: 29.7 kB / 1.309 GB, free: 12.21 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.994e-05/0.3273, allocations: 88.12 kB / 1.309 GB, free: 12.12 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-06/0.3273, allocations: 7.875 kB / 1.309 GB, free: 12.11 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.156e-05/0.3274, allocations: 17.72 kB / 1.309 GB, free: 12.09 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3275, allocations: 314.8 kB / 1.309 GB, free: 11.77 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.859e-05/0.3276, allocations: 11.98 kB / 1.309 GB, free: 11.76 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.026e-05/0.3276, allocations: 12 kB / 1.309 GB, free: 11.75 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.043e-05/0.3276, allocations: 20.84 kB / 1.309 GB, free: 11.72 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3276, allocations: 0 / 1.309 GB, free: 11.72 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001333/0.3278, allocations: 53.62 kB / 1.31 GB, free: 11.66 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.3278, allocations: 8 kB / 1.31 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3278, allocations: 0 / 1.31 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.3278, allocations: 0 / 1.31 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/0.3278, allocations: 128 / 1.31 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3278, allocations: 7.938 kB / 1.31 GB, free: 11.65 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.968e-05/0.3279, allocations: 11.92 kB / 1.31 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.3279, allocations: 4 kB / 1.31 GB, free: 11.63 MB / 1.014 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.0001205/0.328, allocations: 185.1 kB / 1.31 GB, free: 11.44 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.842e-05/0.3281, allocations: 104.9 kB / 1.31 GB, free: 11.33 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.386e-05/0.3282, allocations: 104.1 kB / 1.31 GB, free: 11.22 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.176e-05/0.3283, allocations: 196.2 kB / 1.31 GB, free: 11.02 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-05/0.3283, allocations: 180.3 kB / 1.31 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.57e-05/0.3284, allocations: 180.2 kB / 1.31 GB, free: 10.65 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003016/0.3287, allocations: 405.2 kB / 1.311 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.078e-05/0.3288, allocations: 104.9 kB / 1.311 GB, free: 10.09 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.634e-05/0.3288, allocations: 104.9 kB / 1.311 GB, free: 9.98 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.162e-05/0.3289, allocations: 180.3 kB / 1.311 GB, free: 9.797 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.392e-05/0.329, allocations: 184.2 kB / 1.311 GB, free: 9.609 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.288e-05/0.3291, allocations: 180.2 kB / 1.312 GB, free: 9.426 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.914e-05/0.3291, allocations: 188.4 kB / 1.312 GB, free: 9.234 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/0.3293, allocations: 307.9 kB / 1.312 GB, free: 8.91 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.3294, allocations: 193.9 kB / 1.312 GB, free: 8.695 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.892e-05/0.3295, allocations: 180.3 kB / 1.312 GB, free: 8.512 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.653e-05/0.3296, allocations: 108.9 kB / 1.313 GB, free: 8.398 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.849e-05/0.3297, allocations: 176.3 kB / 1.313 GB, free: 8.219 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.935e-05/0.3298, allocations: 105 kB / 1.313 GB, free: 8.109 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.867e-05/0.3298, allocations: 83.27 kB / 1.313 GB, free: 8.027 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3298, allocations: 4 kB / 1.313 GB, free: 8.023 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003498/0.3302, allocations: 59.67 kB / 1.313 GB, free: 7.965 MB / 1.014 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.001169/0.3313, allocations: 1.015 MB / 1.314 GB, free: 6.984 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 8.823e-05/0.3314, allocations: 11.98 kB / 1.314 GB, free: 6.973 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3314, allocations: 4 kB / 1.314 GB, free: 6.969 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.3314, allocations: 0 / 1.314 GB, free: 6.969 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004128/0.3318, allocations: 466.4 kB / 1.314 GB, free: 6.512 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.3331, allocations: 1.327 MB / 1.316 GB, free: 5.105 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.3334, allocations: 0.6729 MB / 1.316 GB, free: 4.406 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001168/0.3335, allocations: 11.98 kB / 1.316 GB, free: 4.395 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.823e-05/0.3336, allocations: 15.42 kB / 1.316 GB, free: 4.379 MB / 1.014 GB Notification: Performance of SimCode: time 3.21e-07/0.3336, allocations: 4.031 kB / 1.316 GB, free: 4.375 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02952/0.3631, allocations: 2.575 MB / 1.319 GB, free: 1.906 MB / 1.014 GB Error: Error building simulator. Build log: cmd: cd 'Buildings_latest_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.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_2/OpenModelica/OMCompiler/build/bin/../include/omc/c/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_2/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject/Buildings_latest_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.fmutmp/sources/../binaries/linux64 -- Linking /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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_2/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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 \"Buildings_latest_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject/Buildings_latest_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.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.283273218199611] Failed to read output from testmodel.py, exit status != 0: 0.7768564890138805 0.80344043 0.47357467 Calling exit ...