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.002024/0.002024, allocations: 103.8 kB / 16.45 MB, free: 6.504 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.002439/0.002439, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.544/1.544, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.394/3.394, allocations: 0.505 GB / 0.8066 GB, free: 23.03 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.002196/0.002196, allocations: 73.39 kB / 1.172 GB, free: 17.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3873, allocations: 180.2 MB / 1.348 GB, free: 9.992 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.00226/0.3896, allocations: 0.5243 MB / 1.348 GB, free: 9.469 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002078/0.3916, allocations: 1.144 MB / 1.349 GB, free: 8.316 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.361e-05/0.3917, allocations: 0 / 1.349 GB, free: 8.316 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000116/0.3918, allocations: 11.92 kB / 1.349 GB, free: 8.305 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.501e-05/0.3918, allocations: 0 / 1.349 GB, free: 8.305 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006205/0.3925, allocations: 177.9 kB / 1.35 GB, free: 8.133 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.704e-05/0.3925, allocations: 11.98 kB / 1.35 GB, free: 8.121 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.657e-05/0.3926, allocations: 0 / 1.35 GB, free: 8.121 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.278e-05/0.3926, allocations: 8 kB / 1.35 GB, free: 8.113 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.38e-05/0.3927, allocations: 19.91 kB / 1.35 GB, free: 8.094 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.3927, allocations: 0 / 1.35 GB, free: 8.094 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004249/0.3931, allocations: 199.6 kB / 1.35 GB, free: 7.898 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.146e-05/0.3932, allocations: 7.984 kB / 1.35 GB, free: 7.891 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.566e-05/0.3932, allocations: 4 kB / 1.35 GB, free: 7.887 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003729/0.3936, allocations: 199.7 kB / 1.35 GB, free: 7.691 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3936, allocations: 0 / 1.35 GB, free: 7.691 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3936, allocations: 3.938 kB / 1.35 GB, free: 7.688 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.161e-05/0.3936, allocations: 0 / 1.35 GB, free: 7.688 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.000472/0.3941, allocations: 371 kB / 1.35 GB, free: 7.277 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.3941, allocations: 15.98 kB / 1.35 GB, free: 7.262 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.193e-05/0.3942, allocations: 106 kB / 1.35 GB, free: 7.148 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.72e-05/0.3943, allocations: 76.22 kB / 1.351 GB, free: 7.074 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.3945, allocations: 239.7 kB / 1.351 GB, free: 6.801 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.042e-05/0.3946, allocations: 154.9 kB / 1.351 GB, free: 6.648 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.3947, allocations: 150.9 kB / 1.351 GB, free: 6.5 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.165e-05/0.3947, allocations: 108.9 kB / 1.351 GB, free: 6.387 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.742e-05/0.3948, allocations: 83.22 kB / 1.351 GB, free: 6.305 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.369e-05/0.3948, allocations: 150.6 kB / 1.351 GB, free: 6.156 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.673e-05/0.3949, allocations: 158.6 kB / 1.352 GB, free: 6 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.709e-05/0.395, allocations: 154.5 kB / 1.352 GB, free: 5.848 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004591/0.3954, allocations: 457.9 kB / 1.352 GB, free: 5.352 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.3956, allocations: 173.1 kB / 1.352 GB, free: 5.172 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.34e-05/0.3957, allocations: 88.64 kB / 1.352 GB, free: 5.082 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.165e-05/0.3957, allocations: 79.22 kB / 1.352 GB, free: 5.004 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.729e-05/0.3958, allocations: 105.8 kB / 1.353 GB, free: 4.891 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.3958, allocations: 0 / 1.353 GB, free: 4.891 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 7.932e-05/0.3959, allocations: 29.7 kB / 1.353 GB, free: 4.855 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.599e-05/0.3959, allocations: 130.7 kB / 1.353 GB, free: 4.715 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.3961, allocations: 105.8 kB / 1.353 GB, free: 4.602 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.3961, allocations: 29.7 kB / 1.353 GB, free: 4.566 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.249e-05/0.3962, allocations: 84.14 kB / 1.353 GB, free: 4.48 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.3962, allocations: 0 / 1.353 GB, free: 4.48 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.299e-05/0.3962, allocations: 17.7 kB / 1.353 GB, free: 4.457 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.3964, allocations: 314.8 kB / 1.353 GB, free: 4.141 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.684e-05/0.3964, allocations: 7.938 kB / 1.353 GB, free: 4.133 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.563e-05/0.3964, allocations: 15.98 kB / 1.353 GB, free: 4.117 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.28e-05/0.3965, allocations: 20.95 kB / 1.353 GB, free: 4.094 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3965, allocations: 0 / 1.353 GB, free: 4.094 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001465/0.3966, allocations: 57.61 kB / 1.353 GB, free: 4.031 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.3966, allocations: 8 kB / 1.353 GB, free: 4.023 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.3967, allocations: 0 / 1.353 GB, free: 4.023 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.3967, allocations: 0 / 1.353 GB, free: 4.023 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.113e-06/0.3967, allocations: 0 / 1.353 GB, free: 4.023 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3967, allocations: 0 / 1.353 GB, free: 4.023 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.049e-05/0.3968, allocations: 0 / 1.353 GB, free: 4.023 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.3968, allocations: 8.031 kB / 1.353 GB, free: 4.016 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.0001371/0.3969, allocations: 193 kB / 1.354 GB, free: 3.816 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.218e-05/0.397, allocations: 104.9 kB / 1.354 GB, free: 3.707 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.084e-05/0.3971, allocations: 108.1 kB / 1.354 GB, free: 3.59 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.313e-05/0.3971, allocations: 184.3 kB / 1.354 GB, free: 3.402 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.54e-05/0.3972, allocations: 180.5 kB / 1.354 GB, free: 3.219 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001035/0.3973, allocations: 188.2 kB / 1.354 GB, free: 3.027 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003797/0.3977, allocations: 405.2 kB / 1.355 GB, free: 2.574 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.453e-05/0.3978, allocations: 104.9 kB / 1.355 GB, free: 2.465 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.3979, allocations: 108.9 kB / 1.355 GB, free: 2.352 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.575e-05/0.398, allocations: 180.2 kB / 1.355 GB, free: 2.168 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-05/0.3981, allocations: 188.2 kB / 1.355 GB, free: 1.977 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.721e-05/0.3982, allocations: 176.3 kB / 1.355 GB, free: 1.797 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.97e-05/0.3982, allocations: 176.3 kB / 1.356 GB, free: 1.617 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/0.3984, allocations: 311.8 kB / 1.356 GB, free: 1.289 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.3985, allocations: 193.9 kB / 1.356 GB, free: 1.074 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.3986, allocations: 184.3 kB / 1.356 GB, free: 0.8867 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.152e-05/0.3987, allocations: 105 kB / 1.356 GB, free: 0.7773 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.3988, allocations: 184.1 kB / 1.356 GB, free: 0.5898 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.235e-05/0.3989, allocations: 101 kB / 1.357 GB, free: 496 kB / 1.045 GB Notification: Performance of sorting global known variables: time 5.283e-05/0.3989, allocations: 79.28 kB / 1.357 GB, free: 416 kB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3989, allocations: 0 / 1.357 GB, free: 416 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003778/0.3993, allocations: 63.73 kB / 1.357 GB, free: 352 kB / 1.045 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.001391/0.4007, allocations: 1.015 MB / 1.358 GB, free: 15.36 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001064/0.4008, allocations: 12 kB / 1.358 GB, free: 15.35 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.4008, allocations: 0 / 1.358 GB, free: 15.35 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.783e-06/0.4008, allocations: 0 / 1.358 GB, free: 15.35 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008078/0.4016, allocations: 463.7 kB / 1.358 GB, free: 14.89 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.4033, allocations: 1.333 MB / 1.359 GB, free: 13.48 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.4037, allocations: 0.6807 MB / 1.36 GB, free: 12.77 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000156/0.4038, allocations: 11.97 kB / 1.36 GB, free: 12.76 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.631e-05/0.4039, allocations: 15.44 kB / 1.36 GB, free: 12.75 MB / 1.061 GB Notification: Performance of SimCode: time 1.062e-06/0.4039, allocations: 0 / 1.36 GB, free: 12.75 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02908/0.433, allocations: 2.574 MB / 1.363 GB, free: 10.28 MB / 1.061 GB Error: Error building simulator. Build log: cmd: cd 'Buildings_latest_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_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject/Buildings_latest_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 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 \"Buildings_latest_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject/Buildings_latest_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.64742909418419] Failed to read output from testmodel.py, exit status != 0: 0.8497636609245092 0.870583564 0.47307024099999995 Calling exit ...