Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001851/0.001851, allocations: 102.7 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001964/0.001964, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.618/2.618, allocations: 443.5 MB / 0.7287 GB, free: 14.61 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_10_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_10_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 63.89 kB / 1.056 GB, free: 2.523 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3338, allocations: 160.7 MB / 1.213 GB, free: 1.488 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.002131/0.3359, allocations: 0.5361 MB / 1.213 GB, free: 0.9453 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001998/0.3379, allocations: 1.137 MB / 1.215 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.411e-05/0.3379, allocations: 0 / 1.215 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001083/0.338, allocations: 7.984 kB / 1.215 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.274e-05/0.3381, allocations: 3.938 kB / 1.215 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006436/0.3387, allocations: 171.5 kB / 1.215 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.148e-05/0.3388, allocations: 19.88 kB / 1.215 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.024e-05/0.3389, allocations: 3.984 kB / 1.215 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.974e-05/0.3389, allocations: 11.98 kB / 1.215 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.594e-05/0.339, allocations: 7.984 kB / 1.215 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.339, allocations: 4 kB / 1.215 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004909/0.3395, allocations: 203.6 kB / 1.215 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.378e-05/0.3395, allocations: 7.984 kB / 1.215 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.484e-05/0.3395, allocations: 7.875 kB / 1.215 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003851/0.3399, allocations: 191.8 kB / 1.215 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3399, allocations: 0 / 1.215 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3399, allocations: 0 / 1.215 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.3399, allocations: 0 / 1.215 GB, free: 15.17 MB / 0.9669 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.0004883/0.3404, allocations: 370.9 kB / 1.215 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.3405, allocations: 12.03 kB / 1.216 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.983e-05/0.3405, allocations: 114 kB / 1.216 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.06e-05/0.3406, allocations: 84.16 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.3408, allocations: 239.7 kB / 1.216 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.76e-05/0.3409, allocations: 154.9 kB / 1.216 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.635e-05/0.341, allocations: 154.9 kB / 1.216 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.376e-05/0.3411, allocations: 104.9 kB / 1.216 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.712e-05/0.3411, allocations: 79.28 kB / 1.216 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.613e-05/0.3412, allocations: 154.6 kB / 1.217 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.501e-05/0.3413, allocations: 150.6 kB / 1.217 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.566e-05/0.3413, allocations: 158.5 kB / 1.217 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000369/0.3417, allocations: 449.9 kB / 1.217 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.3418, allocations: 169.1 kB / 1.217 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.402e-05/0.3419, allocations: 84.14 kB / 1.218 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.436e-05/0.3419, allocations: 79.22 kB / 1.218 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.562e-05/0.342, allocations: 105.8 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.342, allocations: 4 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 9.201e-05/0.342, allocations: 37.62 kB / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.991e-05/0.3421, allocations: 126.7 kB / 1.218 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.3423, allocations: 101.8 kB / 1.218 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.3423, allocations: 29.7 kB / 1.218 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.033e-05/0.3423, allocations: 84.12 kB / 1.218 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-06/0.3423, allocations: 0 / 1.218 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-05/0.3424, allocations: 17.72 kB / 1.218 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3425, allocations: 318.8 kB / 1.218 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.205e-05/0.3426, allocations: 7.984 kB / 1.218 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.879e-05/0.3426, allocations: 11.94 kB / 1.218 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.857e-05/0.3427, allocations: 28.78 kB / 1.218 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3427, allocations: 0 / 1.218 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001463/0.3428, allocations: 49.62 kB / 1.218 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.3428, allocations: 8 kB / 1.218 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3428, allocations: 0 / 1.218 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.3428, allocations: 4.125 kB / 1.218 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.3428, allocations: 0 / 1.218 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.3428, allocations: 3.938 kB / 1.218 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.946e-05/0.3429, allocations: 7.984 kB / 1.218 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.3429, allocations: 4 kB / 1.218 GB, free: 11.49 MB / 0.9669 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.0001295/0.3431, allocations: 189.1 kB / 1.219 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.928e-05/0.3431, allocations: 108.9 kB / 1.219 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.863e-05/0.3432, allocations: 108.1 kB / 1.219 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.684e-05/0.3433, allocations: 184.2 kB / 1.219 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.572e-05/0.3434, allocations: 184.4 kB / 1.219 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.657e-05/0.3435, allocations: 176.3 kB / 1.219 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003037/0.3438, allocations: 409.1 kB / 1.22 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.928e-05/0.3438, allocations: 104.9 kB / 1.22 GB, free: 9.949 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.916e-05/0.3439, allocations: 113 kB / 1.22 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.164e-05/0.344, allocations: 180.2 kB / 1.22 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.076e-05/0.3441, allocations: 180.3 kB / 1.22 GB, free: 9.465 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-05/0.3442, allocations: 188.2 kB / 1.221 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-05/0.3443, allocations: 176.3 kB / 1.221 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.3444, allocations: 311.7 kB / 1.221 GB, free: 8.766 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.3446, allocations: 186 kB / 1.221 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.957e-05/0.3447, allocations: 184.2 kB / 1.221 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.054e-05/0.3447, allocations: 101 kB / 1.221 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.92e-05/0.3448, allocations: 184.2 kB / 1.222 GB, free: 8.078 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.731e-05/0.3449, allocations: 109 kB / 1.222 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.134e-05/0.345, allocations: 79.27 kB / 1.222 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.345, allocations: 4 kB / 1.222 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003701/0.3453, allocations: 59.67 kB / 1.222 GB, free: 7.824 MB / 0.9669 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.001234/0.3466, allocations: 1.014 MB / 1.223 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.649e-05/0.3467, allocations: 12.33 kB / 1.223 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3467, allocations: 4 kB / 1.223 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.304e-06/0.3467, allocations: 4 kB / 1.223 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/0.3471, allocations: 455.7 kB / 1.223 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.3484, allocations: 1.333 MB / 1.225 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.3487, allocations: 0.669 MB / 1.225 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001141/0.3488, allocations: 12.08 kB / 1.225 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.974e-05/0.3489, allocations: 19.42 kB / 1.225 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of SimCode: time 6.11e-07/0.3489, allocations: 0 / 1.225 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02807/0.377, allocations: 2.577 MB / 1.228 GB, free: 1.75 MB / 0.9669 GB Error: Error building simulator. Build log: cmd: cd 'Buildings_10_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_2/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_2/OpenModelicaLibraryTesting/Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject/Buildings_10_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.fmutmp/sources/../binaries/linux64 -- Linking /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_2/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject/Buildings_10_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: 6.638147820252925] Failed to read output from testmodel.py, exit status != 0: 0.7716719661839306 0.79358958 0.449789482 Calling exit ...