Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001438/0.001438, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001777/0.001777, allocations: 214.6 kB / 22.25 MB, free: 4.859 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.503/1.503, allocations: 230.6 MB / 256 MB, free: 7.789 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.372/3.372, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 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.Exchange,fileNamePrefix="Buildings_latest_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_latest_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.002075/0.002075, allocations: 63.39 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.363, allocations: 181.9 MB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.002284/0.3652, allocations: 0.552 MB / 1.364 GB, free: 13.53 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002192/0.3674, allocations: 1.271 MB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.486e-05/0.3675, allocations: 0 / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.3676, allocations: 15.98 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.309e-05/0.3677, allocations: 0 / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000797/0.3685, allocations: 291.2 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.3686, allocations: 67.89 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.426e-05/0.3687, allocations: 3.984 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.231e-05/0.3687, allocations: 43.84 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.3688, allocations: 47.89 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.3688, allocations: 0 / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004261/0.3693, allocations: 231.6 kB / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.226e-05/0.3693, allocations: 11.94 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.746e-05/0.3694, allocations: 31.84 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004189/0.3698, allocations: 247.6 kB / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3698, allocations: 0 / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3698, allocations: 0 / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.3698, allocations: 3.984 kB / 1.366 GB, free: 11.27 MB / 1.061 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.0005324/0.3703, allocations: 371.4 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.3704, allocations: 8.031 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.754e-05/0.3705, allocations: 114 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.916e-05/0.3706, allocations: 84.22 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.3707, allocations: 193.8 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.647e-05/0.3708, allocations: 158.9 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.436e-05/0.3709, allocations: 158.9 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.454e-05/0.371, allocations: 104.9 kB / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.898e-05/0.371, allocations: 75.28 kB / 1.367 GB, free: 9.953 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-05/0.3711, allocations: 150.6 kB / 1.367 GB, free: 9.805 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.677e-05/0.3712, allocations: 150.6 kB / 1.368 GB, free: 9.656 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.04e-05/0.3713, allocations: 158.5 kB / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003597/0.3716, allocations: 440.9 kB / 1.368 GB, free: 9.027 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.832e-05/0.3717, allocations: 165.1 kB / 1.368 GB, free: 8.855 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.896e-05/0.3718, allocations: 88.14 kB / 1.368 GB, free: 8.766 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.398e-05/0.3718, allocations: 79.22 kB / 1.369 GB, free: 8.688 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.983e-05/0.3719, allocations: 109.8 kB / 1.369 GB, free: 8.57 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.3719, allocations: 0 / 1.369 GB, free: 8.57 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.000122/0.372, allocations: 45.64 kB / 1.369 GB, free: 8.52 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.192e-05/0.3721, allocations: 126.7 kB / 1.369 GB, free: 8.383 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.3722, allocations: 143.8 kB / 1.369 GB, free: 8.234 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.3722, allocations: 29.7 kB / 1.369 GB, free: 8.199 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.568e-05/0.3723, allocations: 96.11 kB / 1.369 GB, free: 8.102 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-06/0.3723, allocations: 3.938 kB / 1.369 GB, free: 8.098 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.052e-05/0.3724, allocations: 45.7 kB / 1.369 GB, free: 8.047 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.3725, allocations: 318.8 kB / 1.369 GB, free: 7.727 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.3727, allocations: 93.64 kB / 1.369 GB, free: 7.629 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.3728, allocations: 101.6 kB / 1.37 GB, free: 7.523 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.373, allocations: 98.45 kB / 1.37 GB, free: 7.418 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.373, allocations: 0 / 1.37 GB, free: 7.418 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004515/0.3734, allocations: 276.9 kB / 1.37 GB, free: 7.129 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.186e-05/0.3735, allocations: 48.34 kB / 1.37 GB, free: 7.078 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.3735, allocations: 0 / 1.37 GB, free: 7.078 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.3735, allocations: 3.984 kB / 1.37 GB, free: 7.074 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.3735, allocations: 0 / 1.37 GB, free: 7.074 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.3735, allocations: 4.062 kB / 1.37 GB, free: 7.07 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003309/0.3738, allocations: 23.94 kB / 1.37 GB, free: 7.047 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.753e-05/0.3739, allocations: 11.98 kB / 1.37 GB, free: 7.035 MB / 1.061 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.0001509/0.374, allocations: 205 kB / 1.37 GB, free: 6.824 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.551e-05/0.3741, allocations: 116.8 kB / 1.37 GB, free: 6.703 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.328e-05/0.3742, allocations: 108.5 kB / 1.37 GB, free: 6.582 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.338e-05/0.3742, allocations: 184.3 kB / 1.371 GB, free: 6.395 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.73e-05/0.3743, allocations: 184.2 kB / 1.371 GB, free: 6.207 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.57e-05/0.3744, allocations: 180.3 kB / 1.371 GB, free: 6.023 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000269/0.3747, allocations: 388.2 kB / 1.371 GB, free: 5.594 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.754e-05/0.3747, allocations: 108.9 kB / 1.371 GB, free: 5.48 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.878e-05/0.3748, allocations: 101 kB / 1.372 GB, free: 5.375 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-05/0.3749, allocations: 184.2 kB / 1.372 GB, free: 5.188 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.931e-05/0.375, allocations: 180.3 kB / 1.372 GB, free: 5.004 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.874e-05/0.375, allocations: 184.2 kB / 1.372 GB, free: 4.816 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.648e-05/0.3751, allocations: 176.3 kB / 1.372 GB, free: 4.637 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001747/0.3753, allocations: 315.7 kB / 1.373 GB, free: 4.305 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.866e-05/0.3753, allocations: 108.9 kB / 1.373 GB, free: 4.191 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.664e-05/0.3754, allocations: 184.2 kB / 1.373 GB, free: 4.004 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.997e-05/0.3755, allocations: 101 kB / 1.373 GB, free: 3.898 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.47e-05/0.3756, allocations: 188.2 kB / 1.373 GB, free: 3.707 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-05/0.3757, allocations: 109 kB / 1.373 GB, free: 3.594 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001074/0.3758, allocations: 107.2 kB / 1.373 GB, free: 3.488 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.3758, allocations: 0 / 1.373 GB, free: 3.488 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003561/0.3761, allocations: 67.8 kB / 1.373 GB, free: 3.422 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.001325/0.3775, allocations: 1.053 MB / 1.374 GB, free: 2.418 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002877/0.3777, allocations: 181 kB / 1.375 GB, free: 2.223 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.3777, allocations: 4 kB / 1.375 GB, free: 2.219 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.39e-06/0.3777, allocations: 4 kB / 1.375 GB, free: 2.215 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/0.3781, allocations: 451.7 kB / 1.375 GB, free: 1.77 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/0.3803, allocations: 2.021 MB / 1.377 GB, free: 15.64 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.369e-05/0.3803, allocations: 63.34 kB / 1.377 GB, free: 15.55 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 9.088e-05/0.3804, allocations: 51.81 kB / 1.377 GB, free: 15.5 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.336e-05/0.3804, allocations: 15.41 kB / 1.377 GB, free: 15.49 MB / 1.076 GB Notification: Performance of SimCode: time 4e-07/0.3804, allocations: 0 / 1.377 GB, free: 15.49 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03337/0.4138, allocations: 4.417 MB / 1.381 GB, free: 11.15 MB / 1.076 GB Error: Error building simulator. Build log: cmd: cd '252.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.Exchange/252.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.Exchange/252.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 \"252\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange/252.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.723067131824791] Failed to read output from testmodel.py, exit status != 0: 0.8419736409559846 0.869593356 0.49496625000000005 Calling exit ...