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.001274/0.001274, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.00152/0.00152, allocations: 223.2 kB / 22.26 MB, free: 5.215 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.446/1.446, allocations: 230.6 MB / 256 MB, free: 7.996 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.747/2.747, allocations: 476.7 MB / 0.7707 GB, free: 4.223 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.00204/0.00204, allocations: 71.38 kB / 1.117 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3226, allocations: 169.9 MB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001919/0.3245, allocations: 0.5584 MB / 1.284 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001777/0.3263, allocations: 1.229 MB / 1.285 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.22e-05/0.3263, allocations: 0 / 1.285 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 8.899e-05/0.3264, allocations: 0 / 1.285 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.794e-05/0.3264, allocations: 3.938 kB / 1.285 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005719/0.327, allocations: 183.4 kB / 1.285 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.063e-05/0.3271, allocations: 15.92 kB / 1.285 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.903e-05/0.3271, allocations: 8 kB / 1.285 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.105e-05/0.3271, allocations: 15.91 kB / 1.285 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.595e-05/0.3272, allocations: 8 kB / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.3272, allocations: 0 / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004389/0.3276, allocations: 235.6 kB / 1.286 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.661e-05/0.3277, allocations: 4 kB / 1.286 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.232e-05/0.3277, allocations: 19.88 kB / 1.286 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003305/0.328, allocations: 195.1 kB / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.328, allocations: 0 / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.152e-06/0.328, allocations: 0 / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.328, allocations: 0 / 1.286 GB, free: 9.273 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.0003762/0.3284, allocations: 305.8 kB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.3285, allocations: 8.031 kB / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.033e-05/0.3285, allocations: 110 kB / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.29e-05/0.3286, allocations: 80.16 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.3288, allocations: 189.8 kB / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.087e-05/0.3288, allocations: 150.9 kB / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.617e-05/0.3289, allocations: 158.9 kB / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.806e-05/0.329, allocations: 104.9 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.63e-05/0.329, allocations: 79.27 kB / 1.287 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.482e-05/0.3291, allocations: 154.6 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.875e-05/0.3291, allocations: 150.6 kB / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.248e-05/0.3292, allocations: 154.5 kB / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003271/0.3295, allocations: 425 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.636e-05/0.3296, allocations: 165.1 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.915e-05/0.3297, allocations: 84.14 kB / 1.288 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.538e-05/0.3297, allocations: 79.22 kB / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.918e-05/0.3298, allocations: 109.8 kB / 1.288 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 7.22e-07/0.3298, allocations: 0 / 1.288 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.443e-05/0.3299, allocations: 29.64 kB / 1.288 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.685e-05/0.3299, allocations: 134.7 kB / 1.288 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.33, allocations: 97.84 kB / 1.288 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.3301, allocations: 29.69 kB / 1.288 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.748e-05/0.3301, allocations: 88.14 kB / 1.289 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.714e-06/0.3301, allocations: 4 kB / 1.289 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/0.3302, allocations: 17.7 kB / 1.289 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.3303, allocations: 310.8 kB / 1.289 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.576e-05/0.3303, allocations: 8 kB / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.914e-05/0.3303, allocations: 11.98 kB / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.196e-05/0.3304, allocations: 28.78 kB / 1.289 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3304, allocations: 3.938 kB / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001402/0.3305, allocations: 65.67 kB / 1.289 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.3306, allocations: 4 kB / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3306, allocations: 0 / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.3306, allocations: 0 / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.42e-07/0.3306, allocations: 0 / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.3306, allocations: 4 kB / 1.289 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.397e-05/0.3307, allocations: 3.938 kB / 1.289 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.3307, allocations: 7.984 kB / 1.289 GB, free: 5.781 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.0001062/0.3308, allocations: 181.1 kB / 1.289 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.157e-05/0.3309, allocations: 116.9 kB / 1.289 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.26e-05/0.3309, allocations: 104.1 kB / 1.289 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.251e-05/0.331, allocations: 180.3 kB / 1.29 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.464e-05/0.3311, allocations: 184.2 kB / 1.29 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.942e-05/0.3312, allocations: 180.3 kB / 1.29 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002616/0.3314, allocations: 376.2 kB / 1.29 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.538e-05/0.3315, allocations: 113 kB / 1.29 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.756e-05/0.3315, allocations: 109 kB / 1.29 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.249e-05/0.3316, allocations: 180.2 kB / 1.291 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.777e-05/0.3317, allocations: 176.3 kB / 1.291 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.547e-05/0.3318, allocations: 184.2 kB / 1.291 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.766e-05/0.3319, allocations: 184.2 kB / 1.291 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001649/0.332, allocations: 303.8 kB / 1.291 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.895e-05/0.3321, allocations: 104.9 kB / 1.292 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.609e-05/0.3322, allocations: 192.2 kB / 1.292 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.359e-05/0.3323, allocations: 105 kB / 1.292 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.49e-05/0.3324, allocations: 180.2 kB / 1.292 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.235e-05/0.3324, allocations: 101 kB / 1.292 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.853e-05/0.3325, allocations: 79.28 kB / 1.292 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3325, allocations: 0 / 1.292 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003439/0.3328, allocations: 63.72 kB / 1.292 GB, free: 2.262 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.001175/0.334, allocations: 1.019 MB / 1.293 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.483e-05/0.3341, allocations: 16 kB / 1.293 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3341, allocations: 0 / 1.293 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.122e-06/0.3341, allocations: 4 kB / 1.293 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.3345, allocations: 457.9 kB / 1.294 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.3357, allocations: 1.329 MB / 1.295 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.336, allocations: 0.6807 MB / 1.296 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.851e-05/0.3361, allocations: 7.984 kB / 1.296 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.147e-05/0.3361, allocations: 11.44 kB / 1.296 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of SimCode: time 3.41e-07/0.3361, allocations: 4 kB / 1.296 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0306/0.3667, allocations: 2.664 MB / 1.298 GB, free: 12.05 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.071543994999956] Failed to read output from testmodel.py, exit status != 0: 1.2642279480005527 0.7614527350000001 0.430180361 Calling exit ...