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.001392/0.001392, allocations: 110.4 kB / 18.94 MB, free: 2.957 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.001518/0.001518, allocations: 215.8 kB / 22.25 MB, free: 5.133 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.564/1.564, allocations: 230.6 MB / 256 MB, free: 7.988 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.374/3.374, allocations: 0.49 GB / 0.7951 GB, free: 33.41 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.002089/0.002089, allocations: 66.44 kB / 1.154 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3507, allocations: 176.1 MB / 1.326 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001983/0.3527, allocations: 0.5423 MB / 1.326 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002142/0.3548, allocations: 1.231 MB / 1.328 GB, free: 200 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.175e-05/0.3549, allocations: 0 / 1.328 GB, free: 200 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001141/0.355, allocations: 3.984 kB / 1.328 GB, free: 196 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.602e-05/0.355, allocations: 0 / 1.328 GB, free: 196 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006333/0.3557, allocations: 191.4 kB / 1.328 GB, free: 4 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.3558, allocations: 8.047 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.588e-05/0.3558, allocations: 3.938 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.133e-05/0.3559, allocations: 15.94 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.607e-05/0.3559, allocations: 11.98 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.3559, allocations: 0 / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000481/0.3564, allocations: 235.6 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.057e-05/0.3565, allocations: 8 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.499e-05/0.3565, allocations: 11.91 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003608/0.3569, allocations: 199.8 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3569, allocations: 0 / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3569, allocations: 0 / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.3569, allocations: 0 / 1.328 GB, free: 15.52 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.0004111/0.3573, allocations: 297.8 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.3573, allocations: 12.03 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001327/0.3575, allocations: 114 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.137e-05/0.3575, allocations: 76.22 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.3577, allocations: 181.8 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.887e-05/0.3577, allocations: 158.9 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.247e-05/0.3578, allocations: 150.9 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.861e-05/0.3579, allocations: 116.9 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.38e-05/0.3579, allocations: 75.28 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.234e-05/0.358, allocations: 150.6 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.066e-05/0.358, allocations: 150.6 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.395e-05/0.3581, allocations: 150.6 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003142/0.3584, allocations: 425 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.3585, allocations: 169.1 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.648e-05/0.3586, allocations: 80.14 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.847e-05/0.3586, allocations: 83.22 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.928e-05/0.3587, allocations: 117.8 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.3587, allocations: 0 / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.343e-05/0.3588, allocations: 25.7 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.101e-05/0.3588, allocations: 130.6 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.359, allocations: 109.8 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.359, allocations: 25.7 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.551e-05/0.359, allocations: 80.14 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-06/0.359, allocations: 3.938 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.171e-05/0.3591, allocations: 21.72 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.3592, allocations: 314.8 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.745e-05/0.3593, allocations: 7.984 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.937e-05/0.3593, allocations: 12 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.378e-05/0.3594, allocations: 24.84 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3594, allocations: 0 / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001461/0.3595, allocations: 61.52 kB / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.3595, allocations: 4 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3595, allocations: 4.125 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.3595, allocations: 0 / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.556e-06/0.3595, allocations: 3.984 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.3595, allocations: 0 / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.84e-05/0.3596, allocations: 7.984 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.3596, allocations: 0 / 1.331 GB, free: 12.04 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.0001384/0.3598, allocations: 193.1 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.063e-05/0.3599, allocations: 104.9 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.919e-05/0.3599, allocations: 120.1 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.183e-05/0.36, allocations: 176.3 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.083e-05/0.3601, allocations: 180.3 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001001/0.3602, allocations: 184.2 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002985/0.3605, allocations: 376.3 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.038e-05/0.3606, allocations: 112.9 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.825e-05/0.3606, allocations: 105 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.43e-05/0.3607, allocations: 176.3 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.221e-05/0.3608, allocations: 188.2 kB / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.39e-05/0.3609, allocations: 176.3 kB / 1.333 GB, free: 9.852 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.97e-05/0.361, allocations: 184.2 kB / 1.334 GB, free: 9.664 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.3612, allocations: 307.8 kB / 1.334 GB, free: 9.34 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.066e-05/0.3612, allocations: 108.9 kB / 1.334 GB, free: 9.227 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.728e-05/0.3613, allocations: 176.3 kB / 1.334 GB, free: 9.047 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.3614, allocations: 108.9 kB / 1.334 GB, free: 8.934 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.102e-05/0.3615, allocations: 180.3 kB / 1.334 GB, free: 8.75 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.607e-05/0.3616, allocations: 104.9 kB / 1.335 GB, free: 8.641 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.056e-05/0.3616, allocations: 87.27 kB / 1.335 GB, free: 8.555 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3616, allocations: 0 / 1.335 GB, free: 8.555 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003513/0.362, allocations: 59.73 kB / 1.335 GB, free: 8.496 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.001184/0.3632, allocations: 1.031 MB / 1.336 GB, free: 7.504 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.646e-05/0.3633, allocations: 11.98 kB / 1.336 GB, free: 7.492 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3633, allocations: 8 kB / 1.336 GB, free: 7.484 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.664e-06/0.3633, allocations: 0 / 1.336 GB, free: 7.484 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004187/0.3637, allocations: 459.7 kB / 1.336 GB, free: 7.031 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.3649, allocations: 1.325 MB / 1.337 GB, free: 5.625 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.3652, allocations: 0.6767 MB / 1.338 GB, free: 4.922 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001125/0.3653, allocations: 16.02 kB / 1.338 GB, free: 4.906 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.585e-05/0.3654, allocations: 15.42 kB / 1.338 GB, free: 4.891 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.3654, allocations: 0 / 1.338 GB, free: 4.891 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03141/0.3968, allocations: 2.66 MB / 1.341 GB, free: 2.281 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.729421905009076] Failed to read output from testmodel.py, exit status != 0: 0.8296017278917134 0.847407163 0.48732603999999996 Calling exit ...