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.001854/0.001854, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.002345/0.002345, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.529/1.529, allocations: 230.6 MB / 256 MB, free: 7.992 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.55/3.55, allocations: 0.505 GB / 0.8101 GB, free: 22.06 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.002087/0.002087, allocations: 67.27 kB / 1.177 GB, free: 17.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3878/0.3899, allocations: 180.2 MB / 1.353 GB, free: 8.504 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.002067/0.3919, allocations: 0.5365 MB / 1.353 GB, free: 7.969 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001971/0.3939, allocations: 1.239 MB / 1.355 GB, free: 6.723 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.392e-05/0.3939, allocations: 0 / 1.355 GB, free: 6.723 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 9.936e-05/0.394, allocations: 7.938 kB / 1.355 GB, free: 6.715 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.779e-05/0.3941, allocations: 0 / 1.355 GB, free: 6.715 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006309/0.3947, allocations: 175.4 kB / 1.355 GB, free: 6.543 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.516e-05/0.3948, allocations: 19.92 kB / 1.355 GB, free: 6.523 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.897e-05/0.3948, allocations: 4 kB / 1.355 GB, free: 6.52 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.067e-05/0.3949, allocations: 15.97 kB / 1.355 GB, free: 6.504 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.711e-05/0.3949, allocations: 7.938 kB / 1.355 GB, free: 6.496 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.3949, allocations: 0 / 1.355 GB, free: 6.496 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004801/0.3954, allocations: 243.5 kB / 1.355 GB, free: 6.258 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.202e-05/0.3954, allocations: 4 kB / 1.355 GB, free: 6.254 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.306e-05/0.3955, allocations: 0 / 1.355 GB, free: 6.254 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003844/0.3959, allocations: 203.8 kB / 1.355 GB, free: 6.055 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3959, allocations: 3.938 kB / 1.355 GB, free: 6.051 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3959, allocations: 0 / 1.355 GB, free: 6.051 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.3959, allocations: 0 / 1.355 GB, free: 6.051 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.000412/0.3963, allocations: 297.8 kB / 1.356 GB, free: 5.73 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.3963, allocations: 12.03 kB / 1.356 GB, free: 5.719 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.359e-05/0.3964, allocations: 110 kB / 1.356 GB, free: 5.602 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.994e-05/0.3965, allocations: 76.22 kB / 1.356 GB, free: 5.527 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.3967, allocations: 189.8 kB / 1.356 GB, free: 5.316 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.002e-05/0.3967, allocations: 150.9 kB / 1.356 GB, free: 5.168 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.694e-05/0.3968, allocations: 154.9 kB / 1.356 GB, free: 5.016 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.759e-05/0.3969, allocations: 104.9 kB / 1.356 GB, free: 4.906 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.201e-05/0.3969, allocations: 79.28 kB / 1.356 GB, free: 4.828 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-05/0.397, allocations: 150.6 kB / 1.357 GB, free: 4.68 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-05/0.3971, allocations: 154.5 kB / 1.357 GB, free: 4.527 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.422e-05/0.3972, allocations: 158.5 kB / 1.357 GB, free: 4.371 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003515/0.3975, allocations: 425 kB / 1.357 GB, free: 3.914 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.3976, allocations: 165.1 kB / 1.357 GB, free: 3.742 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.367e-05/0.3977, allocations: 80.7 kB / 1.357 GB, free: 3.66 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.419e-05/0.3977, allocations: 79.22 kB / 1.358 GB, free: 3.582 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.949e-05/0.3978, allocations: 117.8 kB / 1.358 GB, free: 3.457 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.3978, allocations: 3.938 kB / 1.358 GB, free: 3.453 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 8.953e-05/0.3979, allocations: 25.7 kB / 1.358 GB, free: 3.422 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.685e-05/0.3979, allocations: 126.7 kB / 1.358 GB, free: 3.285 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.3981, allocations: 109.8 kB / 1.358 GB, free: 3.168 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.3981, allocations: 29.69 kB / 1.358 GB, free: 3.133 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.319e-05/0.3982, allocations: 80.14 kB / 1.358 GB, free: 3.051 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-06/0.3982, allocations: 4 kB / 1.358 GB, free: 3.047 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-05/0.3982, allocations: 25.7 kB / 1.358 GB, free: 3.016 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3984, allocations: 310.8 kB / 1.358 GB, free: 2.703 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.235e-05/0.3984, allocations: 4 kB / 1.358 GB, free: 2.699 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.41e-05/0.3984, allocations: 11.98 kB / 1.358 GB, free: 2.688 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.564e-05/0.3985, allocations: 28.78 kB / 1.358 GB, free: 2.656 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3985, allocations: 0 / 1.358 GB, free: 2.656 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001518/0.3986, allocations: 57.72 kB / 1.358 GB, free: 2.594 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.3987, allocations: 8 kB / 1.358 GB, free: 2.586 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.3987, allocations: 0 / 1.358 GB, free: 2.586 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.3987, allocations: 0 / 1.358 GB, free: 2.586 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.533e-06/0.3987, allocations: 0 / 1.358 GB, free: 2.586 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.3987, allocations: 4 kB / 1.358 GB, free: 2.582 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.041e-05/0.3988, allocations: 4 kB / 1.358 GB, free: 2.578 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.3988, allocations: 3.984 kB / 1.358 GB, free: 2.574 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.000126/0.3989, allocations: 189.1 kB / 1.359 GB, free: 2.379 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.166e-05/0.399, allocations: 112.9 kB / 1.359 GB, free: 2.262 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.499e-05/0.3991, allocations: 108.1 kB / 1.359 GB, free: 2.148 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.843e-05/0.3991, allocations: 180.3 kB / 1.359 GB, free: 1.965 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.15e-05/0.3992, allocations: 188.5 kB / 1.359 GB, free: 1.773 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.702e-05/0.3993, allocations: 180.3 kB / 1.359 GB, free: 1.59 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002657/0.3996, allocations: 380.2 kB / 1.36 GB, free: 1.168 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.887e-05/0.3996, allocations: 112.9 kB / 1.36 GB, free: 1.051 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.478e-05/0.3997, allocations: 112.9 kB / 1.36 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.076e-05/0.3998, allocations: 176.3 kB / 1.36 GB, free: 0.7539 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-05/0.3998, allocations: 176.3 kB / 1.36 GB, free: 0.5742 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.746e-05/0.3999, allocations: 180.2 kB / 1.36 GB, free: 400 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-05/0.4, allocations: 188.2 kB / 1.361 GB, free: 204 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.4002, allocations: 303.8 kB / 1.361 GB, free: 15.88 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.966e-05/0.4002, allocations: 108.9 kB / 1.361 GB, free: 15.77 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.149e-05/0.4003, allocations: 184.2 kB / 1.361 GB, free: 15.58 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.221e-05/0.4004, allocations: 109 kB / 1.361 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.29e-05/0.4005, allocations: 184.2 kB / 1.361 GB, free: 15.28 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.461e-05/0.4005, allocations: 101 kB / 1.362 GB, free: 15.17 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.906e-05/0.4006, allocations: 79.28 kB / 1.362 GB, free: 15.09 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4006, allocations: 0 / 1.362 GB, free: 15.09 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003743/0.401, allocations: 67.66 kB / 1.362 GB, free: 15.03 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.00125/0.4022, allocations: 1.016 MB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.451e-05/0.4023, allocations: 16 kB / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.321e-06/0.4023, allocations: 0 / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.602e-06/0.4023, allocations: 7.984 kB / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004116/0.4027, allocations: 451.7 kB / 1.363 GB, free: 13.57 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.404, allocations: 1.329 MB / 1.364 GB, free: 12.16 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.4044, allocations: 0.6768 MB / 1.365 GB, free: 11.46 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000142/0.4045, allocations: 11.98 kB / 1.365 GB, free: 11.45 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.954e-05/0.4046, allocations: 11.44 kB / 1.365 GB, free: 11.44 MB / 1.061 GB Notification: Performance of SimCode: time 8.41e-07/0.4046, allocations: 0 / 1.365 GB, free: 11.44 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03255/0.4371, allocations: 2.652 MB / 1.368 GB, free: 8.855 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.937024896964431] Failed to read output from testmodel.py, exit status != 0: 0.8798783831298351 0.907244336 0.506460208 Calling exit ...