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.001399/0.001399, 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.001657/0.001657, allocations: 214.6 kB / 22.25 MB, free: 5.078 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.498/1.498, allocations: 230.6 MB / 256 MB, free: 8.016 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.453/3.453, allocations: 0.505 GB / 0.8101 GB, free: 22.02 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.002237/0.002237, allocations: 66.61 kB / 1.177 GB, free: 17.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.4108, allocations: 180.2 MB / 1.353 GB, free: 8.461 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.002175/0.413, allocations: 0.5403 MB / 1.353 GB, free: 7.922 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002139/0.4151, allocations: 1.231 MB / 1.355 GB, free: 6.684 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.429e-05/0.4152, allocations: 0 / 1.355 GB, free: 6.684 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.4153, allocations: 4 kB / 1.355 GB, free: 6.68 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.643e-05/0.4153, allocations: 4 kB / 1.355 GB, free: 6.676 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006385/0.416, allocations: 183.4 kB / 1.355 GB, free: 6.496 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.042e-05/0.416, allocations: 11.98 kB / 1.355 GB, free: 6.484 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.97e-05/0.4161, allocations: 7.984 kB / 1.355 GB, free: 6.477 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.253e-05/0.4161, allocations: 11.98 kB / 1.355 GB, free: 6.465 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.408e-05/0.4162, allocations: 7.938 kB / 1.355 GB, free: 6.457 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.4162, allocations: 3.938 kB / 1.355 GB, free: 6.453 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004565/0.4167, allocations: 239.5 kB / 1.355 GB, free: 6.219 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.58e-05/0.4167, allocations: 8 kB / 1.355 GB, free: 6.211 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.708e-05/0.4167, allocations: 4 kB / 1.355 GB, free: 6.207 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003593/0.4171, allocations: 203.7 kB / 1.355 GB, free: 6.008 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.4171, allocations: 7.938 kB / 1.355 GB, free: 6 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4171, allocations: 0 / 1.355 GB, free: 6 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.4171, allocations: 3.938 kB / 1.355 GB, free: 5.996 MB / 1.045 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.0004622/0.4176, allocations: 297.8 kB / 1.356 GB, free: 5.676 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.4176, allocations: 8.031 kB / 1.356 GB, free: 5.668 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.518e-05/0.4177, allocations: 106 kB / 1.356 GB, free: 5.555 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.213e-05/0.4178, allocations: 80.22 kB / 1.356 GB, free: 5.477 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.4179, allocations: 185.8 kB / 1.356 GB, free: 5.27 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.317e-05/0.418, allocations: 154.9 kB / 1.356 GB, free: 5.117 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.879e-05/0.4181, allocations: 162.9 kB / 1.356 GB, free: 4.957 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.234e-05/0.4182, allocations: 108.9 kB / 1.356 GB, free: 4.844 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.05e-05/0.4182, allocations: 75.28 kB / 1.356 GB, free: 4.77 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-05/0.4183, allocations: 150.6 kB / 1.357 GB, free: 4.621 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-05/0.4184, allocations: 158.5 kB / 1.357 GB, free: 4.465 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.607e-05/0.4184, allocations: 150.6 kB / 1.357 GB, free: 4.316 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003513/0.4188, allocations: 421 kB / 1.357 GB, free: 3.863 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.4189, allocations: 173.1 kB / 1.357 GB, free: 3.684 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.002e-05/0.419, allocations: 84.7 kB / 1.357 GB, free: 3.598 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.312e-05/0.419, allocations: 79.22 kB / 1.358 GB, free: 3.52 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.104e-05/0.4191, allocations: 109.8 kB / 1.358 GB, free: 3.402 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.4191, allocations: 0 / 1.358 GB, free: 3.402 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 9.635e-05/0.4192, allocations: 33.62 kB / 1.358 GB, free: 3.363 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.429e-05/0.4192, allocations: 130.7 kB / 1.358 GB, free: 3.223 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.4194, allocations: 105.8 kB / 1.358 GB, free: 3.109 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.4194, allocations: 29.69 kB / 1.358 GB, free: 3.074 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.251e-05/0.4195, allocations: 84.14 kB / 1.358 GB, free: 2.988 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-06/0.4195, allocations: 0 / 1.358 GB, free: 2.988 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.021e-05/0.4195, allocations: 17.7 kB / 1.358 GB, free: 2.965 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.4196, allocations: 314.8 kB / 1.358 GB, free: 2.648 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.014e-05/0.4197, allocations: 11.98 kB / 1.358 GB, free: 2.637 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.812e-05/0.4197, allocations: 8 kB / 1.358 GB, free: 2.629 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.4e-05/0.4198, allocations: 24.94 kB / 1.358 GB, free: 2.602 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4198, allocations: 4 kB / 1.358 GB, free: 2.598 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001534/0.4199, allocations: 53.56 kB / 1.358 GB, free: 2.539 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.4199, allocations: 4 kB / 1.358 GB, free: 2.535 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.4199, allocations: 0 / 1.358 GB, free: 2.535 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.42, allocations: 0 / 1.358 GB, free: 2.535 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.959e-06/0.42, allocations: 4 kB / 1.358 GB, free: 2.531 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.42, allocations: 0 / 1.358 GB, free: 2.531 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.561e-05/0.42, allocations: 3.984 kB / 1.358 GB, free: 2.527 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.4201, allocations: 8.031 kB / 1.358 GB, free: 2.52 MB / 1.045 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.0001368/0.4202, allocations: 185.7 kB / 1.359 GB, free: 2.328 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.424e-05/0.4203, allocations: 112.9 kB / 1.359 GB, free: 2.211 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.119e-05/0.4204, allocations: 108.1 kB / 1.359 GB, free: 2.098 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.567e-05/0.4204, allocations: 184.2 kB / 1.359 GB, free: 1.91 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001003/0.4205, allocations: 184.2 kB / 1.359 GB, free: 1.723 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.491e-05/0.4206, allocations: 188.3 kB / 1.359 GB, free: 1.531 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002531/0.4209, allocations: 372.3 kB / 1.36 GB, free: 1.117 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.518e-05/0.4209, allocations: 112.9 kB / 1.36 GB, free: 1 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.76e-05/0.421, allocations: 104.9 kB / 1.36 GB, free: 0.8906 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.118e-05/0.421, allocations: 180.2 kB / 1.36 GB, free: 0.707 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.573e-05/0.4211, allocations: 180.3 kB / 1.36 GB, free: 0.5234 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.576e-05/0.4212, allocations: 184.3 kB / 1.36 GB, free: 344 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.494e-05/0.4213, allocations: 188.2 kB / 1.361 GB, free: 148 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.4215, allocations: 299.8 kB / 1.361 GB, free: 15.83 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.6e-05/0.4216, allocations: 112.9 kB / 1.361 GB, free: 15.71 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.4217, allocations: 188.2 kB / 1.361 GB, free: 15.52 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.932e-05/0.4218, allocations: 104.9 kB / 1.361 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.632e-05/0.4219, allocations: 176.3 kB / 1.361 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.788e-05/0.4219, allocations: 104.9 kB / 1.362 GB, free: 15.12 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.1e-05/0.422, allocations: 87.45 kB / 1.362 GB, free: 15.04 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.422, allocations: 0 / 1.362 GB, free: 15.04 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000367/0.4223, allocations: 63.73 kB / 1.362 GB, free: 14.97 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.001228/0.4236, allocations: 1.009 MB / 1.363 GB, free: 13.99 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001297/0.4237, allocations: 19.92 kB / 1.363 GB, free: 13.97 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4237, allocations: 0 / 1.363 GB, free: 13.97 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.294e-06/0.4237, allocations: 0 / 1.363 GB, free: 13.97 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004218/0.4241, allocations: 459.8 kB / 1.363 GB, free: 13.52 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.4254, allocations: 1.331 MB / 1.364 GB, free: 12.11 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.4258, allocations: 0.6767 MB / 1.365 GB, free: 11.41 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001455/0.4259, allocations: 11.97 kB / 1.365 GB, free: 11.4 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.055e-05/0.426, allocations: 15.42 kB / 1.365 GB, free: 11.39 MB / 1.061 GB Notification: Performance of SimCode: time 4.61e-07/0.426, allocations: 3.938 kB / 1.365 GB, free: 11.38 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03203/0.458, allocations: 2.655 MB / 1.368 GB, free: 8.793 MB / 1.061 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: 7.862054078000256] Failed to read output from testmodel.py, exit status != 0: 0.837400095000703 0.853920305 0.43364301499999997 Calling exit ...