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.001373/0.001373, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001666/0.001666, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.56/1.56, allocations: 230.6 MB / 256 MB, free: 8.027 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 3.16/3.16, allocations: 476.7 MB / 0.7707 GB, free: 4.316 MB / 0.6231 GB " [Timeout remaining time 176] 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.002168/0.002168, allocations: 70.34 kB / 1.117 GB, free: 40.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3521, allocations: 170 MB / 1.283 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.002424/0.3545, allocations: 0.5403 MB / 1.284 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002211/0.3567, allocations: 1.221 MB / 1.285 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.013e-05/0.3567, allocations: 0 / 1.285 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.3569, allocations: 7.938 kB / 1.285 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.186e-05/0.3569, allocations: 4 kB / 1.285 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007609/0.3577, allocations: 183.4 kB / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.345e-05/0.3578, allocations: 15.98 kB / 1.285 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.85e-05/0.3578, allocations: 3.984 kB / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.376e-05/0.3579, allocations: 11.94 kB / 1.285 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.566e-05/0.3579, allocations: 7.984 kB / 1.285 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.3579, allocations: 0 / 1.285 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006057/0.3585, allocations: 239.6 kB / 1.286 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.01e-05/0.3586, allocations: 11.98 kB / 1.286 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.526e-05/0.3586, allocations: 7.938 kB / 1.286 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000488/0.3591, allocations: 207 kB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3591, allocations: 0 / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.233e-06/0.3591, allocations: 0 / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.3591, allocations: 0 / 1.286 GB, free: 9.301 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.000497/0.3596, allocations: 293.8 kB / 1.286 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.3597, allocations: 12.03 kB / 1.286 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.981e-05/0.3598, allocations: 106 kB / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.3599, allocations: 84.17 kB / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.3601, allocations: 193.8 kB / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.444e-05/0.3601, allocations: 154.9 kB / 1.287 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-05/0.3602, allocations: 150.9 kB / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.803e-05/0.3603, allocations: 104.9 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.668e-05/0.3603, allocations: 79.28 kB / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.039e-05/0.3604, allocations: 158.5 kB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.018e-05/0.3605, allocations: 154.5 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.932e-05/0.3606, allocations: 150.6 kB / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003657/0.3609, allocations: 425 kB / 1.288 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.3611, allocations: 177.1 kB / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.102e-05/0.3611, allocations: 84.08 kB / 1.288 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.624e-05/0.3612, allocations: 79.22 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.565e-05/0.3612, allocations: 109.8 kB / 1.288 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.3612, allocations: 0 / 1.288 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 9.673e-05/0.3613, allocations: 25.7 kB / 1.288 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.849e-05/0.3614, allocations: 130.7 kB / 1.288 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.3615, allocations: 105.8 kB / 1.288 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.3616, allocations: 25.7 kB / 1.288 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.081e-05/0.3616, allocations: 80.14 kB / 1.289 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-06/0.3616, allocations: 0 / 1.289 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.978e-05/0.3617, allocations: 21.72 kB / 1.289 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.3618, allocations: 314.8 kB / 1.289 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.136e-05/0.3618, allocations: 7.938 kB / 1.289 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.309e-05/0.3619, allocations: 15.98 kB / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.667e-05/0.3619, allocations: 20.86 kB / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3619, allocations: 0 / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001575/0.3621, allocations: 49.62 kB / 1.289 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.3621, allocations: 11.98 kB / 1.289 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.3621, allocations: 0 / 1.289 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.3621, allocations: 0 / 1.289 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-07/0.3621, allocations: 0 / 1.289 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.3621, allocations: 4.125 kB / 1.289 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.436e-05/0.3622, allocations: 11.89 kB / 1.289 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.3623, allocations: 4 kB / 1.289 GB, free: 5.82 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.0001279/0.3624, allocations: 189.1 kB / 1.289 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.168e-05/0.3625, allocations: 108.9 kB / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.98e-05/0.3625, allocations: 108.1 kB / 1.289 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.242e-05/0.3626, allocations: 180.2 kB / 1.29 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.284e-05/0.3627, allocations: 184.3 kB / 1.29 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.289e-05/0.3628, allocations: 180.2 kB / 1.29 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000272/0.3631, allocations: 372.3 kB / 1.29 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.798e-05/0.3631, allocations: 105 kB / 1.29 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.118e-05/0.3632, allocations: 121 kB / 1.29 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.45e-05/0.3632, allocations: 188.2 kB / 1.291 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.74e-05/0.3633, allocations: 180.2 kB / 1.291 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.775e-05/0.3634, allocations: 176.3 kB / 1.291 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.273e-05/0.3635, allocations: 180.3 kB / 1.291 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001834/0.3637, allocations: 311.8 kB / 1.291 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.646e-05/0.3637, allocations: 108.9 kB / 1.292 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.791e-05/0.3638, allocations: 176.3 kB / 1.292 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.326e-05/0.3639, allocations: 105.2 kB / 1.292 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.087e-05/0.364, allocations: 184.2 kB / 1.292 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.311e-05/0.3641, allocations: 113 kB / 1.292 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.265e-05/0.3641, allocations: 83.28 kB / 1.292 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3641, allocations: 0 / 1.292 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004146/0.3646, allocations: 59.73 kB / 1.292 GB, free: 2.285 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.001358/0.3659, allocations: 1.019 MB / 1.293 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001122/0.366, allocations: 8 kB / 1.293 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.366, allocations: 0 / 1.293 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.116e-06/0.366, allocations: 0 / 1.293 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004719/0.3665, allocations: 469.6 kB / 1.294 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.3679, allocations: 1.333 MB / 1.295 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.3683, allocations: 0.6767 MB / 1.296 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001439/0.3684, allocations: 8 kB / 1.296 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.7e-05/0.3685, allocations: 15.42 kB / 1.296 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of SimCode: time 9.12e-07/0.3685, allocations: 32 / 1.296 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04654/0.415, allocations: 2.649 MB / 1.298 GB, free: 12.09 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.695738445967436] Failed to read output from testmodel.py, exit status != 0: 1.4095696141012013 0.872789371 0.5098674200000001 Calling exit ...