Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 103.9 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.6/2.6, allocations: 443.5 MB / 0.7287 GB, free: 14.5 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,fileNamePrefix="Buildings_10_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_10_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 71.88 kB / 1.056 GB, free: 2.461 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3278, allocations: 160.7 MB / 1.213 GB, free: 1.43 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.00217/0.33, allocations: 0.5494 MB / 1.213 GB, free: 0.875 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001951/0.3319, allocations: 1.203 MB / 1.215 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.339e-05/0.3319, allocations: 0 / 1.215 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 7.72e-05/0.332, allocations: 4 kB / 1.215 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.316e-05/0.3321, allocations: 7.922 kB / 1.215 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000673/0.3327, allocations: 279.3 kB / 1.215 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.3329, allocations: 75.88 kB / 1.215 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.472e-05/0.3329, allocations: 4 kB / 1.215 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.521e-05/0.333, allocations: 43.84 kB / 1.215 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.3331, allocations: 43.88 kB / 1.215 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.3331, allocations: 4 kB / 1.215 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004068/0.3335, allocations: 211.6 kB / 1.215 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.577e-05/0.3335, allocations: 7.938 kB / 1.215 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.482e-05/0.3336, allocations: 35.91 kB / 1.215 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003722/0.334, allocations: 259.4 kB / 1.216 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.334, allocations: 0 / 1.216 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.373e-06/0.334, allocations: 0 / 1.216 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.334, allocations: 0 / 1.216 GB, free: 14.71 MB / 0.9669 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.0005386/0.3345, allocations: 448.5 kB / 1.216 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.3345, allocations: 8.031 kB / 1.216 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.954e-05/0.3346, allocations: 106 kB / 1.216 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.3347, allocations: 84.22 kB / 1.216 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.3349, allocations: 259.6 kB / 1.216 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.174e-05/0.335, allocations: 154.9 kB / 1.217 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.3351, allocations: 158.9 kB / 1.217 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.155e-05/0.3352, allocations: 112.9 kB / 1.217 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.908e-05/0.3352, allocations: 75.28 kB / 1.217 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.822e-05/0.3353, allocations: 150.6 kB / 1.217 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.328e-05/0.3354, allocations: 154.6 kB / 1.217 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.796e-05/0.3355, allocations: 150.6 kB / 1.217 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003913/0.3358, allocations: 469.9 kB / 1.218 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.336, allocations: 177.1 kB / 1.218 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.105e-05/0.336, allocations: 84.14 kB / 1.218 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.513e-05/0.3361, allocations: 79.22 kB / 1.218 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.719e-05/0.3361, allocations: 109.8 kB / 1.218 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.3361, allocations: 0 / 1.218 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 9.923e-05/0.3362, allocations: 37.66 kB / 1.218 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.639e-05/0.3363, allocations: 130.7 kB / 1.218 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.3365, allocations: 148.5 kB / 1.219 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.3365, allocations: 29.7 kB / 1.219 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.099e-05/0.3366, allocations: 92.12 kB / 1.219 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.3366, allocations: 0 / 1.219 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.804e-05/0.3367, allocations: 45.64 kB / 1.219 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.3368, allocations: 322.8 kB / 1.219 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.3369, allocations: 55.95 kB / 1.219 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.337, allocations: 63.94 kB / 1.219 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.3372, allocations: 98.55 kB / 1.219 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3372, allocations: 0 / 1.219 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000416/0.3376, allocations: 231.3 kB / 1.219 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.207e-05/0.3377, allocations: 43.41 kB / 1.219 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3377, allocations: 0 / 1.219 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.3377, allocations: 0 / 1.219 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.3377, allocations: 0 / 1.219 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.3377, allocations: 4 kB / 1.219 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003351/0.338, allocations: 27.86 kB / 1.219 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-05/0.3381, allocations: 24.02 kB / 1.219 GB, free: 10.39 MB / 0.9669 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.0001597/0.3382, allocations: 193.1 kB / 1.22 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.3383, allocations: 120.9 kB / 1.22 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.979e-05/0.3384, allocations: 104.5 kB / 1.22 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.972e-05/0.3385, allocations: 184.2 kB / 1.22 GB, free: 9.77 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-05/0.3386, allocations: 176.3 kB / 1.22 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.209e-05/0.3387, allocations: 188.2 kB / 1.22 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003128/0.339, allocations: 421.2 kB / 1.221 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.023e-05/0.339, allocations: 104.9 kB / 1.221 GB, free: 8.82 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.797e-05/0.3391, allocations: 104.9 kB / 1.221 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.302e-05/0.3392, allocations: 180.3 kB / 1.221 GB, free: 8.527 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.839e-05/0.3393, allocations: 184.2 kB / 1.221 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.758e-05/0.3393, allocations: 184.2 kB / 1.222 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.216e-05/0.3394, allocations: 180.3 kB / 1.222 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.3396, allocations: 307.7 kB / 1.222 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.3397, allocations: 193.9 kB / 1.222 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.327e-05/0.3398, allocations: 188.3 kB / 1.222 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.3399, allocations: 101 kB / 1.222 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.854e-05/0.34, allocations: 184.1 kB / 1.223 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-05/0.34, allocations: 101 kB / 1.223 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.674e-05/0.3401, allocations: 111.2 kB / 1.223 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.3401, allocations: 0 / 1.223 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004277/0.3406, allocations: 71.8 kB / 1.223 GB, free: 6.66 MB / 0.9669 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.00129/0.3419, allocations: 1.046 MB / 1.224 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002692/0.3421, allocations: 151.3 kB / 1.224 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3421, allocations: 0 / 1.224 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.814e-06/0.3421, allocations: 0 / 1.224 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.3425, allocations: 461.7 kB / 1.225 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/0.3446, allocations: 1.861 MB / 1.226 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.3449, allocations: 0.6768 MB / 1.227 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.593e-05/0.345, allocations: 51.86 kB / 1.227 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.972e-05/0.345, allocations: 15.44 kB / 1.227 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of SimCode: time 5.31e-07/0.345, allocations: 0 / 1.227 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02975/0.3748, allocations: 3.744 MB / 1.231 GB, free: 14.64 MB / 0.9825 GB Error: Error building simulator. Build log: cmd: cd 'Buildings_10_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.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_2/OpenModelica/OMCompiler/build/bin/../include/omc/c/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_2/OpenModelicaLibraryTesting/Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange/Buildings_10_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.fmutmp/sources/../binaries/linux64 -- Linking /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_2/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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 \"Buildings_10_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange/Buildings_10_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.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.612213320098817] Failed to read output from testmodel.py, exit status != 0: 0.7877037539146841 0.803411016 0.46660926999999996 Calling exit ...