Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00129/0.00129, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001446/0.001446, allocations: 210.3 kB / 22.24 MB, free: 5.262 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.525/3.525, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002187/0.002187, allocations: 64.58 kB / 1.186 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4532/0.4554, allocations: 181.9 MB / 1.363 GB, free: 14.15 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.002206/0.4576, allocations: 0.5468 MB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001974/0.4596, allocations: 1.197 MB / 1.365 GB, free: 12.4 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.557e-05/0.4596, allocations: 0 / 1.365 GB, free: 12.4 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.4597, allocations: 11.94 kB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.941e-05/0.4598, allocations: 0 / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000607/0.4604, allocations: 187.4 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.946e-05/0.4604, allocations: 19.92 kB / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.221e-05/0.4605, allocations: 0 / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.595e-05/0.4605, allocations: 4 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.122e-05/0.4606, allocations: 15.97 kB / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.4606, allocations: 4 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000404/0.461, allocations: 203.7 kB / 1.366 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.274e-05/0.461, allocations: 7.922 kB / 1.366 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.34e-05/0.4611, allocations: 8 kB / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003592/0.4614, allocations: 199.7 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4614, allocations: 0 / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.465e-06/0.4614, allocations: 0 / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.4614, allocations: 0 / 1.366 GB, free: 11.75 MB / 1.061 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.0004448/0.4619, allocations: 297.8 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.4619, allocations: 8.031 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.578e-05/0.462, allocations: 106 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.921e-05/0.4621, allocations: 80.22 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.4623, allocations: 185.8 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.581e-05/0.4624, allocations: 150.9 kB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.461e-05/0.4625, allocations: 154.9 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.233e-05/0.4625, allocations: 112.9 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.734e-05/0.4626, allocations: 75.28 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-05/0.4627, allocations: 158.5 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.548e-05/0.4627, allocations: 150.6 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.715e-05/0.4628, allocations: 154.5 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003504/0.4631, allocations: 429 kB / 1.368 GB, free: 9.617 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.4633, allocations: 169.1 kB / 1.368 GB, free: 9.441 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.431e-05/0.4633, allocations: 88.08 kB / 1.368 GB, free: 9.352 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.34e-05/0.4633, allocations: 79.22 kB / 1.368 GB, free: 9.273 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.519e-05/0.4634, allocations: 105.8 kB / 1.368 GB, free: 9.16 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.4634, allocations: 8 kB / 1.368 GB, free: 9.152 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 8.779e-05/0.4635, allocations: 33.64 kB / 1.368 GB, free: 9.113 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.104e-05/0.4636, allocations: 126.7 kB / 1.368 GB, free: 8.977 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.4637, allocations: 101.8 kB / 1.368 GB, free: 8.867 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.4637, allocations: 29.7 kB / 1.368 GB, free: 8.832 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.556e-05/0.4638, allocations: 80.14 kB / 1.368 GB, free: 8.75 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-06/0.4638, allocations: 0 / 1.368 GB, free: 8.75 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.287e-05/0.4638, allocations: 21.7 kB / 1.368 GB, free: 8.723 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.464, allocations: 310.8 kB / 1.369 GB, free: 8.41 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.541e-05/0.464, allocations: 8 kB / 1.369 GB, free: 8.402 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.912e-05/0.464, allocations: 67.39 kB / 1.369 GB, free: 8.324 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.182e-05/0.4641, allocations: 20.84 kB / 1.369 GB, free: 8.301 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4641, allocations: 0 / 1.369 GB, free: 8.301 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001523/0.4642, allocations: 65.5 kB / 1.369 GB, free: 8.23 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.4643, allocations: 4 kB / 1.369 GB, free: 8.227 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.4643, allocations: 0 / 1.369 GB, free: 8.227 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.4643, allocations: 0 / 1.369 GB, free: 8.227 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.4643, allocations: 0 / 1.369 GB, free: 8.227 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.4643, allocations: 3.984 kB / 1.369 GB, free: 8.223 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.365e-05/0.4644, allocations: 4.125 kB / 1.369 GB, free: 8.219 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.4644, allocations: 11.98 kB / 1.369 GB, free: 8.207 MB / 1.061 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.0001269/0.4645, allocations: 182.2 kB / 1.369 GB, free: 8.02 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.945e-05/0.4646, allocations: 116.8 kB / 1.369 GB, free: 7.898 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.189e-05/0.4647, allocations: 108.1 kB / 1.369 GB, free: 7.781 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.468e-05/0.4647, allocations: 176.3 kB / 1.37 GB, free: 7.602 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001013/0.4648, allocations: 192.2 kB / 1.37 GB, free: 7.406 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.381e-05/0.4649, allocations: 176.3 kB / 1.37 GB, free: 7.227 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002924/0.4652, allocations: 384.2 kB / 1.37 GB, free: 6.801 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.137e-05/0.4653, allocations: 104.9 kB / 1.37 GB, free: 6.691 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.835e-05/0.4653, allocations: 105 kB / 1.37 GB, free: 6.582 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.174e-05/0.4654, allocations: 184.2 kB / 1.371 GB, free: 6.395 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.472e-05/0.4655, allocations: 176.3 kB / 1.371 GB, free: 6.215 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.985e-05/0.4656, allocations: 188.2 kB / 1.371 GB, free: 6.023 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.379e-05/0.4657, allocations: 180.2 kB / 1.371 GB, free: 5.84 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.4659, allocations: 299.8 kB / 1.371 GB, free: 5.523 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.472e-05/0.4659, allocations: 112.9 kB / 1.372 GB, free: 5.406 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.877e-05/0.466, allocations: 184.2 kB / 1.372 GB, free: 5.219 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.259e-05/0.4661, allocations: 101 kB / 1.372 GB, free: 5.113 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.241e-05/0.4662, allocations: 180.3 kB / 1.372 GB, free: 4.93 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.802e-05/0.4663, allocations: 108.9 kB / 1.372 GB, free: 4.816 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.365e-05/0.4663, allocations: 91.27 kB / 1.372 GB, free: 4.727 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4663, allocations: 0 / 1.372 GB, free: 4.727 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003404/0.4667, allocations: 63.66 kB / 1.372 GB, free: 4.664 MB / 1.061 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.001241/0.4679, allocations: 1.024 MB / 1.373 GB, free: 3.676 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.251e-05/0.468, allocations: 19.92 kB / 1.373 GB, free: 3.656 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.468, allocations: 0 / 1.373 GB, free: 3.656 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.468, allocations: 0 / 1.373 GB, free: 3.656 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004169/0.4684, allocations: 455.7 kB / 1.374 GB, free: 3.207 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.4697, allocations: 1.321 MB / 1.375 GB, free: 1.805 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.347e-05/0.4697, allocations: 59.3 kB / 1.375 GB, free: 1.727 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001132/0.4699, allocations: 7.984 kB / 1.375 GB, free: 1.719 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.001e-05/0.4699, allocations: 23.59 kB / 1.375 GB, free: 1.695 MB / 1.061 GB Notification: Performance of SimCode: time 2.6e-07/0.4699, allocations: 0 / 1.375 GB, free: 1.695 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.031/0.5009, allocations: 3.116 MB / 1.378 GB, free: 14.67 MB / 1.076 GB Error: Error building simulator. Build log: cmd: cd '319.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_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject/319.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_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject/319.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 master/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 master/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 \"319\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject/319.fmutmp/sources -- Generating done CMake Generate step failed. Build files cannot be regenerated correctly. " [Timeout remaining time 299] [Calling sys.exit(0), Time elapsed: 8.014588586986065] Failed to read output from testmodel.py, exit status != 0: 0.933211118914187 0.955719423 0.489496022 Calling exit ...