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.001374/0.001374, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.001497/0.001497, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.546/1.546, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.829/2.829, allocations: 476.7 MB / 0.7672 GB, free: 5.23 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.002029/0.002029, allocations: 67.89 kB / 1.112 GB, free: 1.566 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9409/0.9429, allocations: 169.9 MB / 1.278 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001893/0.9448, allocations: 0.5486 MB / 1.279 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001752/0.9465, allocations: 1.134 MB / 1.28 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.655e-05/0.9466, allocations: 0 / 1.28 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.9467, allocations: 15.92 kB / 1.28 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.662e-05/0.9467, allocations: 4 kB / 1.28 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005353/0.9473, allocations: 167.4 kB / 1.28 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.472e-05/0.9473, allocations: 15.98 kB / 1.28 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.203e-05/0.9474, allocations: 0 / 1.28 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.839e-05/0.9474, allocations: 8 kB / 1.28 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.793e-05/0.9475, allocations: 15.91 kB / 1.28 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.9475, allocations: 4 kB / 1.28 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000384/0.9479, allocations: 195.6 kB / 1.28 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.012e-05/0.9479, allocations: 15.98 kB / 1.28 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.782e-05/0.9479, allocations: 7.938 kB / 1.28 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000315/0.9482, allocations: 193.3 kB / 1.281 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.9483, allocations: 0 / 1.281 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9483, allocations: 0 / 1.281 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.9483, allocations: 4 kB / 1.281 GB, free: 11.13 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.0004414/0.9487, allocations: 363.1 kB / 1.281 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.9487, allocations: 8.031 kB / 1.281 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.839e-05/0.9488, allocations: 110 kB / 1.281 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.895e-05/0.9489, allocations: 88.17 kB / 1.281 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.9491, allocations: 235.7 kB / 1.281 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.93e-05/0.9491, allocations: 150.9 kB / 1.281 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.171e-05/0.9492, allocations: 162.9 kB / 1.282 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.368e-05/0.9493, allocations: 108.9 kB / 1.282 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.469e-05/0.9493, allocations: 79.22 kB / 1.282 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.417e-05/0.9494, allocations: 154.6 kB / 1.282 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-05/0.9494, allocations: 150.6 kB / 1.282 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.116e-05/0.9495, allocations: 150.6 kB / 1.282 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00033/0.9499, allocations: 453.9 kB / 1.283 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.831e-05/0.95, allocations: 169.1 kB / 1.283 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.19e-05/0.95, allocations: 84.08 kB / 1.283 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.204e-05/0.95, allocations: 87.2 kB / 1.283 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.539e-05/0.9501, allocations: 109.8 kB / 1.283 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.9501, allocations: 0 / 1.283 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.532e-05/0.9502, allocations: 33.69 kB / 1.283 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.527e-05/0.9502, allocations: 130.7 kB / 1.283 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.9504, allocations: 105.8 kB / 1.283 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.9504, allocations: 29.69 kB / 1.283 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.551e-05/0.9504, allocations: 80.14 kB / 1.283 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-06/0.9504, allocations: 0 / 1.283 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.852e-05/0.9505, allocations: 17.72 kB / 1.283 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.9506, allocations: 314.8 kB / 1.284 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.719e-05/0.9506, allocations: 11.92 kB / 1.284 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.629e-05/0.9507, allocations: 12 kB / 1.284 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.431e-05/0.9507, allocations: 24.84 kB / 1.284 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.9507, allocations: 0 / 1.284 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001358/0.9509, allocations: 53.62 kB / 1.284 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.9509, allocations: 4 kB / 1.284 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.9509, allocations: 0 / 1.284 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.9509, allocations: 3.984 kB / 1.284 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.232e-06/0.9509, allocations: 0 / 1.284 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.9509, allocations: 128 / 1.284 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.158e-05/0.951, allocations: 11.95 kB / 1.284 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.951, allocations: 4 kB / 1.284 GB, free: 7.457 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.0001239/0.9511, allocations: 187.8 kB / 1.284 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.063e-05/0.9512, allocations: 108.9 kB / 1.284 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.922e-05/0.9513, allocations: 112.1 kB / 1.284 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.428e-05/0.9513, allocations: 180.2 kB / 1.284 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.73e-05/0.9514, allocations: 184.3 kB / 1.285 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.491e-05/0.9515, allocations: 188.1 kB / 1.285 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/0.9518, allocations: 401.2 kB / 1.285 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.574e-05/0.9518, allocations: 105 kB / 1.285 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.068e-05/0.9519, allocations: 112.9 kB / 1.285 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.575e-05/0.952, allocations: 180.3 kB / 1.286 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.833e-05/0.9521, allocations: 184.2 kB / 1.286 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.273e-05/0.9521, allocations: 180.3 kB / 1.286 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.802e-05/0.9522, allocations: 180.3 kB / 1.286 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.9524, allocations: 307.8 kB / 1.286 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.669e-05/0.9525, allocations: 194 kB / 1.287 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.718e-05/0.9526, allocations: 176.3 kB / 1.287 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.63e-05/0.9526, allocations: 101 kB / 1.287 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.309e-05/0.9527, allocations: 184.2 kB / 1.287 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.836e-05/0.9528, allocations: 105 kB / 1.287 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.817e-05/0.9528, allocations: 87.47 kB / 1.287 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9528, allocations: 0 / 1.287 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004181/0.9532, allocations: 55.73 kB / 1.287 GB, free: 3.793 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.001157/0.9544, allocations: 1.02 MB / 1.288 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.836e-05/0.9545, allocations: 11.98 kB / 1.288 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.9545, allocations: 0 / 1.288 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.9545, allocations: 0 / 1.288 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.9549, allocations: 463.7 kB / 1.289 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.9561, allocations: 1.321 MB / 1.29 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.9564, allocations: 0.6844 MB / 1.291 GB, free: 232 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.059e-05/0.9564, allocations: 4 kB / 1.291 GB, free: 228 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.844e-05/0.9565, allocations: 19.42 kB / 1.291 GB, free: 208 kB / 0.9825 GB Notification: Performance of SimCode: time 3.61e-07/0.9565, allocations: 0 / 1.291 GB, free: 208 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02525/0.9817, allocations: 2.58 MB / 1.293 GB, free: 13.7 MB / 0.9981 GB Error: Error building simulator. Build log: cmd: cd 'Buildings_11_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.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/OpenModelica/OMCompiler/build/bin/../include/omc/c/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/Buildings_11_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.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 \"Buildings_11_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject/Buildings_11_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.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.380661368835717] Failed to read output from testmodel.py, exit status != 0: 1.418712425045669 1.4355149329999999 0.484045807 Calling exit ...