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.001444/0.001444, allocations: 111 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.001616/0.001616, allocations: 213.7 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.552/1.552, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.328/3.328, allocations: 0.49 GB / 0.7916 GB, free: 33.48 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.002105/0.002105, allocations: 76.02 kB / 1.149 GB, free: 26.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3989/0.401, allocations: 176.1 MB / 1.321 GB, free: 3.375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001903/0.4029, allocations: 0.535 MB / 1.321 GB, free: 2.844 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001732/0.4046, allocations: 1.133 MB / 1.322 GB, free: 1.703 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.689e-05/0.4047, allocations: 0 / 1.322 GB, free: 1.703 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001029/0.4048, allocations: 3.938 kB / 1.322 GB, free: 1.699 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.732e-05/0.4048, allocations: 0 / 1.322 GB, free: 1.699 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005394/0.4053, allocations: 183.4 kB / 1.323 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.151e-05/0.4054, allocations: 15.98 kB / 1.323 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.717e-05/0.4055, allocations: 0 / 1.323 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.096e-05/0.4055, allocations: 11.94 kB / 1.323 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.154e-05/0.4055, allocations: 7.984 kB / 1.323 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.4055, allocations: 0 / 1.323 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000412/0.406, allocations: 207.6 kB / 1.323 GB, free: 1.281 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.856e-05/0.406, allocations: 4 kB / 1.323 GB, free: 1.277 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.215e-05/0.406, allocations: 7.922 kB / 1.323 GB, free: 1.27 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003178/0.4063, allocations: 191.8 kB / 1.323 GB, free: 1.082 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4064, allocations: 0 / 1.323 GB, free: 1.082 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.256e-06/0.4064, allocations: 7.984 kB / 1.323 GB, free: 1.074 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.4064, allocations: 0 / 1.323 GB, free: 1.074 MB / 1.014 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.0004332/0.4068, allocations: 380.7 kB / 1.323 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.4068, allocations: 15.98 kB / 1.323 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.399e-05/0.4069, allocations: 106 kB / 1.324 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.593e-05/0.407, allocations: 76.22 kB / 1.324 GB, free: 464 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.4072, allocations: 243.7 kB / 1.324 GB, free: 180 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.127e-05/0.4073, allocations: 158.9 kB / 1.324 GB, free: 20 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.4074, allocations: 150.9 kB / 1.324 GB, free: 15.87 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.297e-05/0.4074, allocations: 108.9 kB / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.847e-05/0.4075, allocations: 75.28 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.771e-05/0.4075, allocations: 154.6 kB / 1.324 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.08e-05/0.4076, allocations: 154.5 kB / 1.325 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.302e-05/0.4077, allocations: 154.6 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003313/0.408, allocations: 450 kB / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.4081, allocations: 181.1 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.828e-05/0.4082, allocations: 80.14 kB / 1.325 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.805e-05/0.4082, allocations: 83.22 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.874e-05/0.4083, allocations: 105.8 kB / 1.326 GB, free: 14.27 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.4083, allocations: 0 / 1.326 GB, free: 14.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.716e-05/0.4084, allocations: 29.7 kB / 1.326 GB, free: 14.24 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.379e-05/0.4084, allocations: 126.7 kB / 1.326 GB, free: 14.1 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.4086, allocations: 101.8 kB / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.4086, allocations: 29.7 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.052e-05/0.4086, allocations: 84.14 kB / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.52e-06/0.4087, allocations: 7.922 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.361e-05/0.4087, allocations: 17.72 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.4088, allocations: 318.8 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.602e-05/0.4089, allocations: 4 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.226e-05/0.4089, allocations: 11.98 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.909e-05/0.409, allocations: 20.86 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.409, allocations: 4.094 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001433/0.4091, allocations: 57.56 kB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.4091, allocations: 8 kB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.4091, allocations: 0 / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.4091, allocations: 0 / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.4091, allocations: 3.938 kB / 1.326 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.4092, allocations: 3.938 kB / 1.326 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.157e-05/0.4092, allocations: 0 / 1.326 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.4093, allocations: 4 kB / 1.326 GB, free: 13.39 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.0001503/0.4094, allocations: 194.7 kB / 1.327 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.474e-05/0.4095, allocations: 108.9 kB / 1.327 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.701e-05/0.4095, allocations: 104.1 kB / 1.327 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.181e-05/0.4096, allocations: 184.3 kB / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-05/0.4097, allocations: 184.2 kB / 1.327 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.373e-05/0.4098, allocations: 188.2 kB / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002745/0.4101, allocations: 401.2 kB / 1.328 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.032e-05/0.4101, allocations: 104.9 kB / 1.328 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.816e-05/0.4102, allocations: 104.9 kB / 1.328 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.204e-05/0.4102, allocations: 184.2 kB / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-05/0.4103, allocations: 184.2 kB / 1.328 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.167e-05/0.4104, allocations: 180.3 kB / 1.328 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-05/0.4105, allocations: 180.2 kB / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/0.4106, allocations: 307.8 kB / 1.329 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.938e-05/0.4107, allocations: 186 kB / 1.329 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.793e-05/0.4108, allocations: 184.3 kB / 1.329 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.366e-05/0.4109, allocations: 104.9 kB / 1.329 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.096e-05/0.411, allocations: 180.4 kB / 1.329 GB, free: 9.984 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/0.4111, allocations: 105 kB / 1.33 GB, free: 9.875 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.544e-05/0.4112, allocations: 83.27 kB / 1.33 GB, free: 9.793 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4112, allocations: 4 kB / 1.33 GB, free: 9.789 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003611/0.4115, allocations: 59.67 kB / 1.33 GB, free: 9.73 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.00137/0.4129, allocations: 1.023 MB / 1.331 GB, free: 8.742 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.277e-05/0.413, allocations: 4 kB / 1.331 GB, free: 8.738 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.413, allocations: 4 kB / 1.331 GB, free: 8.734 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.114e-06/0.413, allocations: 0 / 1.331 GB, free: 8.734 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000443/0.4134, allocations: 459.6 kB / 1.331 GB, free: 8.281 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.4147, allocations: 1.333 MB / 1.332 GB, free: 6.867 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.4151, allocations: 0.6807 MB / 1.333 GB, free: 6.16 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000116/0.4152, allocations: 11.94 kB / 1.333 GB, free: 6.148 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.3e-05/0.4153, allocations: 15.42 kB / 1.333 GB, free: 6.133 MB / 1.029 GB Notification: Performance of SimCode: time 5.11e-07/0.4153, allocations: 0 / 1.333 GB, free: 6.133 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0287/0.444, allocations: 2.579 MB / 1.336 GB, free: 3.633 MB / 1.029 GB Error: Error building simulator. Build log: cmd: cd 'Buildings_12_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_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject/Buildings_12_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 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 \"Buildings_12_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject/Buildings_12_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.636822554050013] Failed to read output from testmodel.py, exit status != 0: 0.837288943817839 0.858983306 0.448115675 Calling exit ...