Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Python_3_12.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.001413/0.001413, allocations: 78.27 kB / 19.01 MB, free: 2.859 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.001636/0.001636, allocations: 158.7 kB / 22.26 MB, free: 5.105 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.504/1.504, allocations: 177.2 MB / 202.6 MB, free: 9.277 MB / 190.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 2.877/2.877, allocations: 394.6 MB / 0.6383 GB, free: 11.75 MB / 0.6075 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_12.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Python_3_12_Functions_Examples_ExchangeWithPassPythonObject",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Python_3_12_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.002325/0.002325, allocations: 71.91 kB / 1.008 GB, free: 13.55 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9477/0.9501, allocations: 181.9 MB / 1.186 GB, free: 12.49 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject): time 0.002472/0.9525, allocations: 0.5589 MB / 1.187 GB, free: 12.07 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002322/0.9549, allocations: 1.201 MB / 1.188 GB, free: 11.14 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.185e-05/0.9549, allocations: 0 / 1.188 GB, free: 11.14 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001156/0.955, allocations: 1.281 kB / 1.188 GB, free: 11.14 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.523e-05/0.9551, allocations: 3.938 kB / 1.188 GB, free: 11.14 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008228/0.9559, allocations: 187 kB / 1.188 GB, free: 11.02 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.49e-05/0.956, allocations: 24.61 kB / 1.188 GB, free: 11 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.012e-05/0.956, allocations: 1.344 kB / 1.188 GB, free: 11 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.843e-05/0.9561, allocations: 6.094 kB / 1.188 GB, free: 11 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.62e-05/0.9562, allocations: 12.97 kB / 1.188 GB, free: 11 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.9562, allocations: 0 / 1.188 GB, free: 11 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000511/0.9567, allocations: 213 kB / 1.188 GB, free: 10.89 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.062e-05/0.9567, allocations: 6.25 kB / 1.188 GB, free: 10.88 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.147e-05/0.9568, allocations: 6.469 kB / 1.188 GB, free: 10.88 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004372/0.9572, allocations: 197.6 kB / 1.188 GB, free: 10.78 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.9572, allocations: 4 kB / 1.188 GB, free: 10.77 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9572, allocations: 0 / 1.188 GB, free: 10.77 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.959e-06/0.9572, allocations: 5.109 kB / 1.188 GB, free: 10.77 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.0005176/0.9577, allocations: 283.4 kB / 1.189 GB, free: 10.48 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.9578, allocations: 13.42 kB / 1.189 GB, free: 10.48 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.868e-05/0.9579, allocations: 110 kB / 1.189 GB, free: 10.36 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.379e-05/0.9579, allocations: 78.75 kB / 1.189 GB, free: 10.29 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.9581, allocations: 179 kB / 1.189 GB, free: 10.09 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.547e-05/0.9582, allocations: 153.3 kB / 1.189 GB, free: 9.938 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.003e-05/0.9582, allocations: 153.2 kB / 1.189 GB, free: 9.789 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.508e-05/0.9583, allocations: 122 kB / 1.189 GB, free: 9.664 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.436e-05/0.9584, allocations: 75.28 kB / 1.19 GB, free: 9.59 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.399e-05/0.9584, allocations: 156.1 kB / 1.19 GB, free: 9.438 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.922e-05/0.9585, allocations: 150.6 kB / 1.19 GB, free: 9.289 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.129e-05/0.9586, allocations: 152 kB / 1.19 GB, free: 9.141 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003578/0.9589, allocations: 429.5 kB / 1.19 GB, free: 8.684 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.959, allocations: 171.8 kB / 1.191 GB, free: 8.508 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.235e-05/0.9591, allocations: 80.14 kB / 1.191 GB, free: 8.426 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.831e-05/0.9591, allocations: 80.25 kB / 1.191 GB, free: 8.348 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.758e-05/0.9592, allocations: 108.1 kB / 1.191 GB, free: 8.234 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 3.376e-06/0.9592, allocations: 4 kB / 1.191 GB, free: 8.23 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 9.507e-05/0.9593, allocations: 31.56 kB / 1.191 GB, free: 8.195 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.57e-05/0.9594, allocations: 135.7 kB / 1.191 GB, free: 8.051 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.9595, allocations: 99.17 kB / 1.191 GB, free: 7.949 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.9595, allocations: 27.02 kB / 1.191 GB, free: 7.918 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.126e-05/0.9596, allocations: 89.41 kB / 1.191 GB, free: 7.828 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.033e-06/0.9596, allocations: 0 / 1.191 GB, free: 7.828 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.922e-05/0.9596, allocations: 15.88 kB / 1.191 GB, free: 7.812 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.9598, allocations: 312 kB / 1.191 GB, free: 7.5 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.303e-05/0.9598, allocations: 10.2 kB / 1.191 GB, free: 7.496 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.275e-05/0.9599, allocations: 62.97 kB / 1.192 GB, free: 7.43 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.597e-05/0.9599, allocations: 24.12 kB / 1.192 GB, free: 7.414 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.9599, allocations: 0 / 1.192 GB, free: 7.414 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001555/0.9601, allocations: 59.34 kB / 1.192 GB, free: 7.367 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.9601, allocations: 4.75 kB / 1.192 GB, free: 7.367 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.9601, allocations: 3.938 kB / 1.192 GB, free: 7.363 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.9601, allocations: 1.5 kB / 1.192 GB, free: 7.363 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.573e-06/0.9601, allocations: 0 / 1.192 GB, free: 7.363 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.9601, allocations: 0 / 1.192 GB, free: 7.363 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.881e-05/0.9602, allocations: 5.922 kB / 1.192 GB, free: 7.359 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.9602, allocations: 7.5 kB / 1.192 GB, free: 7.355 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.0001339/0.9604, allocations: 183.6 kB / 1.192 GB, free: 7.168 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.641e-05/0.9605, allocations: 110 kB / 1.192 GB, free: 7.055 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.732e-05/0.9605, allocations: 114 kB / 1.192 GB, free: 6.934 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.911e-05/0.9606, allocations: 181.6 kB / 1.192 GB, free: 6.75 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.562e-05/0.9607, allocations: 178.2 kB / 1.192 GB, free: 6.57 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.963e-05/0.9608, allocations: 185.2 kB / 1.193 GB, free: 6.383 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002737/0.9611, allocations: 375.9 kB / 1.193 GB, free: 5.969 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.059e-05/0.9611, allocations: 114.1 kB / 1.193 GB, free: 5.852 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.781e-05/0.9612, allocations: 106.6 kB / 1.193 GB, free: 5.742 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001037/0.9613, allocations: 181.9 kB / 1.193 GB, free: 5.559 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-05/0.9614, allocations: 185.3 kB / 1.193 GB, free: 5.371 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.626e-05/0.9614, allocations: 185.4 kB / 1.194 GB, free: 5.184 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.703e-05/0.9615, allocations: 181.3 kB / 1.194 GB, free: 5 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.9617, allocations: 305.2 kB / 1.194 GB, free: 4.684 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.371e-05/0.9618, allocations: 111.8 kB / 1.194 GB, free: 4.57 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.293e-05/0.9619, allocations: 180.3 kB / 1.194 GB, free: 4.387 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.363e-05/0.962, allocations: 106.3 kB / 1.195 GB, free: 4.277 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.445e-05/0.9621, allocations: 177.6 kB / 1.195 GB, free: 4.098 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.348e-05/0.9621, allocations: 107 kB / 1.195 GB, free: 3.988 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.944e-05/0.9622, allocations: 82.61 kB / 1.195 GB, free: 3.91 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9622, allocations: 4 kB / 1.195 GB, free: 3.906 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003701/0.9625, allocations: 63.12 kB / 1.195 GB, free: 3.879 MB / 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.00125/0.9638, allocations: 1.01 MB / 1.196 GB, free: 2.988 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001022/0.9639, allocations: 23.86 kB / 1.196 GB, free: 2.973 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.9639, allocations: 0 / 1.196 GB, free: 2.973 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 2.745e-06/0.9639, allocations: 0.9688 kB / 1.196 GB, free: 2.973 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004188/0.9643, allocations: 460.7 kB / 1.196 GB, free: 2.523 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.9656, allocations: 1.333 MB / 1.198 GB, free: 1.184 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.255e-05/0.9657, allocations: 58.53 kB / 1.198 GB, free: 1.109 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001131/0.9658, allocations: 9.766 kB / 1.198 GB, free: 1.105 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.27e-05/0.9659, allocations: 21.73 kB / 1.198 GB, free: 1.09 MB / 1.045 GB Notification: Performance of SimCode: time 3.7e-07/0.9659, allocations: 0 / 1.198 GB, free: 1.09 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03505/1.001, allocations: 3.219 MB / 1.201 GB, free: 15.02 MB / 1.061 GB Error: Error building simulator. Build log: cmd: cd '905.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_12.Functions.Examples.ExchangeWithPassPythonObject/905.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_12.Functions.Examples.ExchangeWithPassPythonObject/905.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_12.so -- Linking python3.12-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_12.so;python3.12-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.12 linked by target \"905\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject/905.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.326554827392101] Failed to read output from testmodel.py, exit status != 0: 1.4152950239367783 1.431165958 0.47077723 Calling exit ...