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.00138/0.00138, 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.001568/0.001568, allocations: 213.8 kB / 22.24 MB, free: 4.855 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.502/1.502, allocations: 230.6 MB / 256 MB, free: 8.004 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.295/3.295, allocations: 0.4892 GB / 0.7943 GB, free: 35.68 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.002044/0.002044, allocations: 63.11 kB / 1.153 GB, free: 25.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3708, allocations: 176.1 MB / 1.325 GB, free: 2.398 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.002088/0.3729, allocations: 0.5393 MB / 1.326 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00207/0.3749, allocations: 1.208 MB / 1.327 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.011e-05/0.375, allocations: 0 / 1.327 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 8.809e-05/0.375, allocations: 3.984 kB / 1.327 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.206e-05/0.3751, allocations: 0 / 1.327 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006565/0.3757, allocations: 191.4 kB / 1.327 GB, free: 468 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.275e-05/0.3758, allocations: 19.92 kB / 1.327 GB, free: 448 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.84e-05/0.3758, allocations: 0 / 1.327 GB, free: 448 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.637e-05/0.3759, allocations: 8 kB / 1.327 GB, free: 440 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.989e-05/0.3759, allocations: 11.97 kB / 1.327 GB, free: 428 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.3759, allocations: 0 / 1.327 GB, free: 428 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004255/0.3764, allocations: 215.6 kB / 1.327 GB, free: 212 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.142e-05/0.3764, allocations: 7.938 kB / 1.327 GB, free: 204 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.058e-05/0.3764, allocations: 12 kB / 1.327 GB, free: 192 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003212/0.3767, allocations: 191.7 kB / 1.327 GB, free: 0 / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3768, allocations: 8.047 kB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3768, allocations: 0 / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.3768, allocations: 0 / 1.327 GB, free: 15.99 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.0005104/0.3773, allocations: 293.7 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.3773, allocations: 8.031 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.404e-05/0.3774, allocations: 114 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.166e-05/0.3775, allocations: 76.22 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.3776, allocations: 181.8 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.355e-05/0.3777, allocations: 150.9 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.878e-05/0.3778, allocations: 158.9 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.807e-05/0.3779, allocations: 104.9 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.845e-05/0.3779, allocations: 79.22 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.461e-05/0.378, allocations: 150.6 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.07e-05/0.3781, allocations: 158.5 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.545e-05/0.3781, allocations: 154.6 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003461/0.3785, allocations: 421 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.924e-05/0.3786, allocations: 165.1 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.186e-05/0.3786, allocations: 88.06 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.162e-05/0.3787, allocations: 83.22 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.627e-05/0.3787, allocations: 113.8 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.3787, allocations: 0 / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.805e-05/0.3788, allocations: 25.7 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.464e-05/0.3789, allocations: 134.7 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.379, allocations: 97.8 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.3791, allocations: 29.69 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.458e-05/0.3791, allocations: 92.09 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.315e-06/0.3791, allocations: 0 / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.792e-05/0.3792, allocations: 13.72 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.3793, allocations: 314.8 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.806e-05/0.3793, allocations: 11.92 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.878e-05/0.3794, allocations: 67.41 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.894e-05/0.3795, allocations: 20.84 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3795, allocations: 0 / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000253/0.3797, allocations: 53.62 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.3797, allocations: 11.94 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.056e-06/0.3798, allocations: 0 / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.3798, allocations: 0 / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.156e-06/0.3798, allocations: 3.984 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.3798, allocations: 0 / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.708e-05/0.3799, allocations: 4.125 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.3799, allocations: 4 kB / 1.331 GB, free: 12.46 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.0001229/0.38, allocations: 189.1 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.794e-05/0.3801, allocations: 104.9 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.351e-05/0.3802, allocations: 112.1 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.433e-05/0.3803, allocations: 184.3 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000179/0.3804, allocations: 180.3 kB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000207/0.3806, allocations: 184.2 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000421/0.3811, allocations: 380.3 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.687e-05/0.3811, allocations: 104.9 kB / 1.332 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.09e-05/0.3812, allocations: 108.9 kB / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001322/0.3813, allocations: 176.3 kB / 1.332 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.942e-05/0.3814, allocations: 192.2 kB / 1.332 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001398/0.3815, allocations: 180.2 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.715e-05/0.3816, allocations: 176.3 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.3819, allocations: 307.8 kB / 1.333 GB, free: 9.766 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.666e-05/0.382, allocations: 112.8 kB / 1.333 GB, free: 9.648 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001766/0.3821, allocations: 184.3 kB / 1.333 GB, free: 9.461 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.3823, allocations: 101 kB / 1.333 GB, free: 9.355 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.176e-05/0.3823, allocations: 180.2 kB / 1.334 GB, free: 9.172 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.724e-05/0.3824, allocations: 105 kB / 1.334 GB, free: 9.062 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.906e-05/0.3825, allocations: 87.27 kB / 1.334 GB, free: 8.977 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3825, allocations: 0 / 1.334 GB, free: 8.977 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004409/0.3829, allocations: 67.61 kB / 1.334 GB, free: 8.91 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.001271/0.3842, allocations: 1.037 MB / 1.335 GB, free: 7.922 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002559/0.3844, allocations: 15.98 kB / 1.335 GB, free: 7.906 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3844, allocations: 0 / 1.335 GB, free: 7.906 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.345e-06/0.3844, allocations: 0 / 1.335 GB, free: 7.906 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.3848, allocations: 457.5 kB / 1.335 GB, free: 7.457 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.3863, allocations: 1.333 MB / 1.337 GB, free: 6.043 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.817e-05/0.3864, allocations: 63.28 kB / 1.337 GB, free: 5.961 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001021/0.3865, allocations: 4.156 kB / 1.337 GB, free: 5.957 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.89e-05/0.3865, allocations: 23.36 kB / 1.337 GB, free: 5.934 MB / 1.029 GB Notification: Performance of SimCode: time 2.8e-07/0.3865, allocations: 0 / 1.337 GB, free: 5.934 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03554/0.4221, allocations: 3.106 MB / 1.34 GB, free: 2.883 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.504834081046283] Failed to read output from testmodel.py, exit status != 0: 0.8508510868996382 0.878377198 0.49677405999999996 Calling exit ...