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.001854/0.001854, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002329/0.002329, allocations: 214.9 kB / 22.25 MB, free: 5.262 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.531/1.531, 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 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.276/3.276, allocations: 0.4892 GB / 0.7943 GB, free: 35.71 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.002992/0.002992, allocations: 70.33 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4124/0.4154, allocations: 176.1 MB / 1.325 GB, free: 2.371 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001915/0.4173, allocations: 0.5549 MB / 1.326 GB, free: 1.82 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00225/0.4195, allocations: 1.266 MB / 1.327 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.537e-05/0.4196, allocations: 7.938 kB / 1.327 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 7.061e-05/0.4196, allocations: 4 kB / 1.327 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.322e-05/0.4197, allocations: 0 / 1.327 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007329/0.4204, allocations: 291.2 kB / 1.327 GB, free: 256 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.4205, allocations: 71.88 kB / 1.327 GB, free: 184 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.623e-05/0.4206, allocations: 4 kB / 1.327 GB, free: 180 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.963e-05/0.4206, allocations: 47.83 kB / 1.327 GB, free: 132 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.815e-05/0.4207, allocations: 43.89 kB / 1.327 GB, free: 88 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.4208, allocations: 4 kB / 1.327 GB, free: 84 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004609/0.4212, allocations: 219.6 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.635e-05/0.4213, allocations: 11.94 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.457e-05/0.4213, allocations: 31.84 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004024/0.4217, allocations: 255.6 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.4217, allocations: 4 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.182e-06/0.4217, allocations: 0 / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.4217, allocations: 0 / 1.328 GB, free: 15.57 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.0005821/0.4223, allocations: 363.4 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.4223, allocations: 15.97 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.405e-05/0.4224, allocations: 114 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.58e-05/0.4225, allocations: 84.17 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.4227, allocations: 189.8 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.068e-05/0.4228, allocations: 158.9 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.988e-05/0.4229, allocations: 162.9 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.871e-05/0.4229, allocations: 108.9 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.374e-05/0.423, allocations: 75.28 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.64e-05/0.423, allocations: 150.6 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-05/0.4231, allocations: 154.6 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.411e-05/0.4232, allocations: 154.5 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004562/0.4236, allocations: 441 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.71e-05/0.4237, allocations: 169.1 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.951e-05/0.4238, allocations: 80.14 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.947e-05/0.4238, allocations: 79.22 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.439e-05/0.4239, allocations: 109.8 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.4239, allocations: 7.938 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.222e-05/0.424, allocations: 33.7 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.472e-05/0.424, allocations: 126.7 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.4242, allocations: 151.5 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.4242, allocations: 25.7 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.996e-05/0.4243, allocations: 100.1 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.532e-06/0.4243, allocations: 0 / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.772e-05/0.4244, allocations: 41.69 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.4245, allocations: 322.8 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.4247, allocations: 93.64 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/0.4248, allocations: 97.64 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.425, allocations: 102.5 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.425, allocations: 0 / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004558/0.4254, allocations: 273 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.495e-05/0.4255, allocations: 45.69 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.4255, allocations: 0 / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.4255, allocations: 0 / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.4255, allocations: 0 / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.4255, allocations: 0 / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003218/0.4258, allocations: 31.86 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.115e-05/0.4259, allocations: 15.98 kB / 1.332 GB, free: 11.33 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.0001617/0.426, allocations: 201.7 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.931e-05/0.4261, allocations: 116.8 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.679e-05/0.4262, allocations: 112.5 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.141e-05/0.4263, allocations: 184.3 kB / 1.332 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.233e-05/0.4264, allocations: 180.2 kB / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001039/0.4265, allocations: 192.2 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002905/0.4268, allocations: 384.2 kB / 1.333 GB, free: 9.883 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.191e-05/0.4268, allocations: 104.9 kB / 1.333 GB, free: 9.773 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.394e-05/0.4269, allocations: 101 kB / 1.333 GB, free: 9.668 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.132e-05/0.427, allocations: 180.2 kB / 1.333 GB, free: 9.484 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001735/0.4272, allocations: 184.3 kB / 1.334 GB, free: 9.297 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001085/0.4273, allocations: 188.2 kB / 1.334 GB, free: 9.105 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001583/0.4274, allocations: 180.3 kB / 1.334 GB, free: 8.922 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001829/0.4276, allocations: 303.7 kB / 1.334 GB, free: 8.602 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.324e-05/0.4277, allocations: 116.9 kB / 1.334 GB, free: 8.48 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001493/0.4278, allocations: 180.2 kB / 1.334 GB, free: 8.297 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.428, allocations: 105 kB / 1.335 GB, free: 8.188 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.104e-05/0.428, allocations: 180.2 kB / 1.335 GB, free: 8.004 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-05/0.4281, allocations: 105 kB / 1.335 GB, free: 7.895 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.721e-05/0.4282, allocations: 113.4 kB / 1.335 GB, free: 7.785 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4282, allocations: 0 / 1.335 GB, free: 7.785 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000441/0.4286, allocations: 79.69 kB / 1.335 GB, free: 7.707 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.001505/0.4302, allocations: 1.053 MB / 1.336 GB, free: 6.711 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002718/0.4304, allocations: 185 kB / 1.336 GB, free: 6.512 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.4304, allocations: 4 kB / 1.336 GB, free: 6.508 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.615e-06/0.4304, allocations: 0 / 1.336 GB, free: 6.508 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004328/0.4309, allocations: 461.3 kB / 1.337 GB, free: 6.055 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.4332, allocations: 2.017 MB / 1.339 GB, free: 3.926 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.823e-05/0.4333, allocations: 63.34 kB / 1.339 GB, free: 3.844 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.31e-05/0.4334, allocations: 52 kB / 1.339 GB, free: 3.793 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.197e-05/0.4334, allocations: 15.42 kB / 1.339 GB, free: 3.777 MB / 1.029 GB Notification: Performance of SimCode: time 4.31e-07/0.4334, allocations: 0 / 1.339 GB, free: 3.777 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03518/0.4686, allocations: 4.426 MB / 1.343 GB, free: 15.43 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.817760145291686] Failed to read output from testmodel.py, exit status != 0: 0.9692536876536906 0.992410948 0.566223044 Calling exit ...