Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001622/0.001622, 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.00183/0.00183, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.451/1.451, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.781/2.781, allocations: 476 MB / 0.7699 GB, free: 4.738 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002166/0.002166, allocations: 67.61 kB / 1.117 GB, free: 41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3275, allocations: 170 MB / 1.283 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.002025/0.3296, allocations: 0.5474 MB / 1.283 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00189/0.3314, allocations: 1.205 MB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.901e-05/0.3315, allocations: 0 / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001044/0.3316, allocations: 3.938 kB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.971e-05/0.3316, allocations: 0 / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005953/0.3322, allocations: 183.4 kB / 1.284 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.989e-05/0.3323, allocations: 19.92 kB / 1.284 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.085e-05/0.3323, allocations: 0 / 1.284 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.05e-05/0.3324, allocations: 15.97 kB / 1.284 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.523e-05/0.3324, allocations: 4 kB / 1.284 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.3324, allocations: 0 / 1.284 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004096/0.3328, allocations: 219.6 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.669e-05/0.3329, allocations: 11.92 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.577e-05/0.3329, allocations: 4 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003309/0.3332, allocations: 185.3 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3332, allocations: 4 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3332, allocations: 4 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.3333, allocations: 0 / 1.285 GB, free: 10.07 MB / 0.9825 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.0004166/0.3337, allocations: 297.8 kB / 1.285 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.3337, allocations: 8.031 kB / 1.285 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.748e-05/0.3338, allocations: 114 kB / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.705e-05/0.3339, allocations: 76.22 kB / 1.285 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.334, allocations: 189.8 kB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.077e-05/0.3341, allocations: 154.9 kB / 1.286 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.543e-05/0.3342, allocations: 154.9 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.01e-05/0.3343, allocations: 112.9 kB / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.912e-05/0.3343, allocations: 75.28 kB / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.259e-05/0.3344, allocations: 150.6 kB / 1.286 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-05/0.3345, allocations: 150.6 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.051e-05/0.3345, allocations: 158.5 kB / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000341/0.3349, allocations: 417 kB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.335, allocations: 173.1 kB / 1.287 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.275e-05/0.335, allocations: 80.14 kB / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.576e-05/0.3351, allocations: 83.2 kB / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.225e-05/0.3351, allocations: 113.8 kB / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.3351, allocations: 0 / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.793e-05/0.3352, allocations: 29.7 kB / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.852e-05/0.3353, allocations: 130.7 kB / 1.287 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.3354, allocations: 105.8 kB / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.3355, allocations: 25.7 kB / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.423e-05/0.3355, allocations: 84.14 kB / 1.288 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.3355, allocations: 0 / 1.288 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.892e-05/0.3356, allocations: 17.72 kB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.3357, allocations: 318.8 kB / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.606e-05/0.3358, allocations: 4 kB / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.848e-05/0.3358, allocations: 63.39 kB / 1.288 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.118e-05/0.3359, allocations: 28.89 kB / 1.288 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.3359, allocations: 0 / 1.288 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001604/0.3361, allocations: 61.55 kB / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.3361, allocations: 4 kB / 1.288 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.3361, allocations: 7.938 kB / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.3361, allocations: 0 / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.3361, allocations: 0 / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.3361, allocations: 3.984 kB / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.735e-05/0.3362, allocations: 4 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.3362, allocations: 4 kB / 1.288 GB, free: 6.523 MB / 0.9825 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.0001424/0.3364, allocations: 189.2 kB / 1.288 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.639e-05/0.3365, allocations: 112.8 kB / 1.288 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.272e-05/0.3365, allocations: 104.1 kB / 1.289 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001024/0.3366, allocations: 188.2 kB / 1.289 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.898e-05/0.3367, allocations: 180.3 kB / 1.289 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.572e-05/0.3368, allocations: 180.3 kB / 1.289 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002818/0.3371, allocations: 372.3 kB / 1.289 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-05/0.3372, allocations: 116.9 kB / 1.29 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-05/0.3372, allocations: 105 kB / 1.29 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000104/0.3373, allocations: 184.2 kB / 1.29 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.916e-05/0.3374, allocations: 184.3 kB / 1.29 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.597e-05/0.3375, allocations: 180.2 kB / 1.29 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.904e-05/0.3376, allocations: 176.3 kB / 1.29 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002046/0.3378, allocations: 311.8 kB / 1.291 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.326e-05/0.3379, allocations: 104.9 kB / 1.291 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.338, allocations: 184.2 kB / 1.291 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.346e-05/0.3381, allocations: 101 kB / 1.291 GB, free: 3.434 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.3382, allocations: 188.2 kB / 1.291 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.038e-05/0.3382, allocations: 105 kB / 1.291 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.611e-05/0.3383, allocations: 75.28 kB / 1.291 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3383, allocations: 8 kB / 1.291 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003587/0.3387, allocations: 59.67 kB / 1.291 GB, free: 2.992 MB / 0.9825 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.001317/0.34, allocations: 1.039 MB / 1.292 GB, free: 2 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.176e-05/0.3401, allocations: 8 kB / 1.292 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3401, allocations: 4 kB / 1.292 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.774e-06/0.3401, allocations: 0 / 1.292 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005383/0.3406, allocations: 455.7 kB / 1.293 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.3419, allocations: 1.331 MB / 1.294 GB, free: 132 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.861e-05/0.3419, allocations: 63.28 kB / 1.294 GB, free: 48 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001527/0.3421, allocations: 4 kB / 1.294 GB, free: 44 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.19e-05/0.3421, allocations: 23.52 kB / 1.294 GB, free: 20 kB / 0.9825 GB Notification: Performance of SimCode: time 5.21e-07/0.3421, allocations: 3.938 kB / 1.294 GB, free: 16 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0353/0.3774, allocations: 3.097 MB / 1.297 GB, free: 12.97 MB / 0.9981 GB Error: Error building simulator. Build log: cmd: cd '750.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_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject/750.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_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject/750.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 11.1.1-maint.11.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 11.1.1-maint.11.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 \"750\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject/750.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.1203628671355546] Failed to read output from testmodel.py, exit status != 0: 1.3087588120251894 0.799737589 0.463376001 Calling exit ...