Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001864/0.001864, allocations: 110.4 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.00237/0.00237, allocations: 216.5 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.508/1.508, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.408/3.408, allocations: 0.49 GB / 0.7951 GB, free: 33.35 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.003421/0.003421, allocations: 71.48 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3618, allocations: 176.1 MB / 1.326 GB, free: 1.98 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.002115/0.364, allocations: 0.559 MB / 1.326 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002209/0.3662, allocations: 1.289 MB / 1.328 GB, free: 132 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.119e-05/0.3662, allocations: 0 / 1.328 GB, free: 132 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001077/0.3663, allocations: 15.92 kB / 1.328 GB, free: 116 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.214e-05/0.3664, allocations: 3.984 kB / 1.328 GB, free: 112 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008894/0.3672, allocations: 284.1 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.3674, allocations: 75.81 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.033e-05/0.3675, allocations: 7.984 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.413e-05/0.3675, allocations: 43.91 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.3676, allocations: 43.83 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.3677, allocations: 4 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005026/0.3682, allocations: 247.6 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.864e-05/0.3682, allocations: 4 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.188e-05/0.3683, allocations: 39.78 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004636/0.3687, allocations: 259.6 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3687, allocations: 0 / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3687, allocations: 0 / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.3687, allocations: 0 / 1.329 GB, free: 15.12 MB / 1.029 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.0005982/0.3693, allocations: 375.4 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.3694, allocations: 11.97 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.075e-05/0.3694, allocations: 110 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.955e-05/0.3695, allocations: 84.17 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.3697, allocations: 193.8 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.823e-05/0.3698, allocations: 158.9 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.833e-05/0.3699, allocations: 158.9 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.745e-05/0.37, allocations: 112.8 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.926e-05/0.37, allocations: 79.28 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.771e-05/0.3701, allocations: 150.6 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-05/0.3701, allocations: 150.6 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.32e-05/0.3702, allocations: 154.5 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003905/0.3706, allocations: 448.9 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.3708, allocations: 165.1 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.105e-05/0.3708, allocations: 80.14 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.938e-05/0.3709, allocations: 83.22 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.804e-05/0.3709, allocations: 117.8 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.3709, allocations: 0 / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001002/0.371, allocations: 29.7 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.04e-05/0.3711, allocations: 130.7 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.3713, allocations: 148.1 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.3713, allocations: 29.7 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.95e-05/0.3714, allocations: 88.14 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.006e-06/0.3714, allocations: 4 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.505e-05/0.3714, allocations: 41.69 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3716, allocations: 322.8 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.3717, allocations: 59.94 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.3718, allocations: 55.95 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.372, allocations: 102.5 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.372, allocations: 0 / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004354/0.3724, allocations: 235.1 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.064e-05/0.3725, allocations: 41.69 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3725, allocations: 4.062 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.3725, allocations: 0 / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.3725, allocations: 0 / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.3725, allocations: 0 / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003444/0.3729, allocations: 31.94 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.363e-05/0.3729, allocations: 15.98 kB / 1.332 GB, free: 11 MB / 1.029 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.0001677/0.3731, allocations: 201.6 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.514e-05/0.3732, allocations: 120.8 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.061e-05/0.3733, allocations: 112.5 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.978e-05/0.3734, allocations: 188.2 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.854e-05/0.3734, allocations: 180.3 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.275e-05/0.3735, allocations: 176.3 kB / 1.333 GB, free: 9.988 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003147/0.3739, allocations: 388.2 kB / 1.334 GB, free: 9.559 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.146e-05/0.3739, allocations: 108.9 kB / 1.334 GB, free: 9.445 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.027e-05/0.374, allocations: 108.9 kB / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001126/0.3741, allocations: 176.3 kB / 1.334 GB, free: 9.152 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.199e-05/0.3742, allocations: 180.3 kB / 1.334 GB, free: 8.969 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.835e-05/0.3743, allocations: 180.2 kB / 1.335 GB, free: 8.785 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001027/0.3744, allocations: 184.3 kB / 1.335 GB, free: 8.598 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001943/0.3746, allocations: 311.7 kB / 1.335 GB, free: 8.27 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.85e-05/0.3746, allocations: 104.9 kB / 1.335 GB, free: 8.16 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.3747, allocations: 184.2 kB / 1.335 GB, free: 7.973 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.3748, allocations: 105 kB / 1.335 GB, free: 7.863 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.375, allocations: 192.2 kB / 1.336 GB, free: 7.668 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.742e-05/0.375, allocations: 101 kB / 1.336 GB, free: 7.562 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001133/0.3751, allocations: 111.2 kB / 1.336 GB, free: 7.453 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3751, allocations: 0 / 1.336 GB, free: 7.453 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004264/0.3755, allocations: 75.69 kB / 1.336 GB, free: 7.379 MB / 1.029 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.004087/0.3796, allocations: 1.044 MB / 1.337 GB, free: 6.383 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002954/0.3799, allocations: 155.3 kB / 1.337 GB, free: 6.219 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3799, allocations: 0 / 1.337 GB, free: 6.219 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.795e-06/0.3799, allocations: 0 / 1.337 GB, free: 6.219 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004792/0.3804, allocations: 459.6 kB / 1.337 GB, free: 5.766 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002274/0.3827, allocations: 1.858 MB / 1.339 GB, free: 3.82 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/0.3831, allocations: 0.6768 MB / 1.34 GB, free: 3.117 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000103/0.3832, allocations: 51.81 kB / 1.34 GB, free: 3.066 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.762e-05/0.3832, allocations: 11.42 kB / 1.34 GB, free: 3.055 MB / 1.029 GB Notification: Performance of SimCode: time 5.21e-07/0.3832, allocations: 0 / 1.34 GB, free: 3.055 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.034/0.4172, allocations: 3.843 MB / 1.344 GB, free: 15.27 MB / 1.045 GB Error: Error building simulator. Build log: cmd: cd '100.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_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange/100.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_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange/100.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 12.1.1-maint.12.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 12.1.1-maint.12.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 \"100\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange/100.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.645285033853725] Failed to read output from testmodel.py, exit status != 0: 0.8865694338455796 0.902029696 0.529831595 Calling exit ...