Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.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.002032/0.002032, allocations: 114.3 kB / 18.94 MB, free: 2.789 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.002467/0.002467, allocations: 222.9 kB / 22.26 MB, free: 5.211 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.449/1.449, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.745/2.745, allocations: 476.7 MB / 0.7707 GB, free: 4.293 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Exchange,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange",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.00205/0.00205, allocations: 70.12 kB / 1.117 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3561, allocations: 169.9 MB / 1.283 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001929/0.358, allocations: 0.5637 MB / 1.284 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002035/0.3601, allocations: 1.299 MB / 1.285 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.603e-05/0.3601, allocations: 0 / 1.285 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.3602, allocations: 3.938 kB / 1.285 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.796e-05/0.3603, allocations: 4 kB / 1.285 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007642/0.361, allocations: 288.1 kB / 1.285 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.3612, allocations: 79.88 kB / 1.286 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.214e-05/0.3612, allocations: 11.86 kB / 1.286 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.252e-05/0.3613, allocations: 31.98 kB / 1.286 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.3614, allocations: 51.81 kB / 1.286 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.3614, allocations: 4 kB / 1.286 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004795/0.3619, allocations: 243.6 kB / 1.286 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.768e-05/0.3619, allocations: 4 kB / 1.286 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.078e-05/0.362, allocations: 35.78 kB / 1.286 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003977/0.3624, allocations: 271.6 kB / 1.286 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3624, allocations: 0 / 1.286 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3624, allocations: 0 / 1.286 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.3624, allocations: 4 kB / 1.286 GB, free: 0.9688 MB / 0.9825 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.0004815/0.3629, allocations: 367.4 kB / 1.287 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.3629, allocations: 8.031 kB / 1.287 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.989e-05/0.363, allocations: 110 kB / 1.287 GB, free: 460 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.3631, allocations: 92.11 kB / 1.287 GB, free: 368 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.3632, allocations: 193.8 kB / 1.287 GB, free: 148 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.994e-05/0.3633, allocations: 154.9 kB / 1.287 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.154e-05/0.3634, allocations: 158.9 kB / 1.287 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.275e-05/0.3635, allocations: 104.9 kB / 1.287 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.717e-05/0.3635, allocations: 75.28 kB / 1.287 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.078e-05/0.3636, allocations: 154.6 kB / 1.288 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-05/0.3637, allocations: 154.6 kB / 1.288 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.659e-05/0.3637, allocations: 158.5 kB / 1.288 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003385/0.3641, allocations: 441 kB / 1.288 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.109e-05/0.3642, allocations: 165.1 kB / 1.288 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.714e-05/0.3642, allocations: 84.08 kB / 1.288 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.507e-05/0.3642, allocations: 83.22 kB / 1.289 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.308e-05/0.3643, allocations: 109.8 kB / 1.289 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.3643, allocations: 0 / 1.289 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 9.465e-05/0.3644, allocations: 37.59 kB / 1.289 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.813e-05/0.3645, allocations: 126.7 kB / 1.289 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.3646, allocations: 152.1 kB / 1.289 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.3646, allocations: 25.7 kB / 1.289 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.771e-05/0.3647, allocations: 96.14 kB / 1.289 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/0.3647, allocations: 0 / 1.289 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.779e-05/0.3648, allocations: 45.69 kB / 1.289 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.3649, allocations: 318.8 kB / 1.289 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.365, allocations: 59.95 kB / 1.289 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.972e-05/0.3651, allocations: 59.94 kB / 1.29 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.3653, allocations: 94.58 kB / 1.29 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3653, allocations: 3.938 kB / 1.29 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004078/0.3657, allocations: 239.2 kB / 1.29 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.183e-05/0.3657, allocations: 49.62 kB / 1.29 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.3657, allocations: 0 / 1.29 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.3658, allocations: 3.984 kB / 1.29 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.02e-07/0.3658, allocations: 0 / 1.29 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.3658, allocations: 0 / 1.29 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000311/0.3661, allocations: 23.92 kB / 1.29 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.389e-05/0.3661, allocations: 12 kB / 1.29 GB, free: 12.86 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (yI2[2],yI2[1],yI1[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001407/0.3662, allocations: 197.1 kB / 1.29 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.382e-05/0.3663, allocations: 120.8 kB / 1.29 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.506e-05/0.3664, allocations: 116.5 kB / 1.29 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.166e-05/0.3665, allocations: 188.2 kB / 1.291 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.114e-05/0.3666, allocations: 180.2 kB / 1.291 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.318e-05/0.3666, allocations: 180.3 kB / 1.291 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002698/0.3669, allocations: 388.2 kB / 1.291 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.997e-05/0.367, allocations: 108.9 kB / 1.291 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.309e-05/0.367, allocations: 101 kB / 1.291 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.116e-05/0.3671, allocations: 184.2 kB / 1.292 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.189e-05/0.3672, allocations: 180.3 kB / 1.292 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.183e-05/0.3672, allocations: 180.2 kB / 1.292 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.699e-05/0.3673, allocations: 184.2 kB / 1.292 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.3675, allocations: 307.7 kB / 1.292 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.343e-05/0.3675, allocations: 108.9 kB / 1.293 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.691e-05/0.3676, allocations: 184.2 kB / 1.293 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.733e-05/0.3677, allocations: 105 kB / 1.293 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.246e-05/0.3678, allocations: 184.3 kB / 1.293 GB, free: 9.543 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-05/0.3678, allocations: 108.9 kB / 1.293 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.281e-05/0.3679, allocations: 107.2 kB / 1.293 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3679, allocations: 0 / 1.293 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003635/0.3683, allocations: 67.8 kB / 1.293 GB, free: 9.258 MB / 0.9981 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.002083/0.3704, allocations: 1.046 MB / 1.294 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002687/0.3706, allocations: 155.2 kB / 1.294 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.3706, allocations: 4 kB / 1.294 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.205e-06/0.3706, allocations: 0 / 1.294 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004568/0.3711, allocations: 458.2 kB / 1.295 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.3731, allocations: 1.858 MB / 1.297 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.3734, allocations: 0.6807 MB / 1.297 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.158e-05/0.3735, allocations: 59.73 kB / 1.297 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.794e-05/0.3735, allocations: 11.44 kB / 1.297 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of SimCode: time 4.01e-07/0.3735, allocations: 0 / 1.297 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03327/0.4068, allocations: 3.831 MB / 1.301 GB, free: 1.148 MB / 0.9981 GB Error: Error building simulator. Build log: cmd: cd '465.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_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange/465.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_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange/465.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 11.1.1-maint.11.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 11.1.1-maint.11.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 \"465\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange/465.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.9682737679995626] Failed to read output from testmodel.py, exit status != 0: 0.7729947660009202 0.787823458 0.422533802 Calling exit ...