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.001729/0.001729, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.002281/0.002281, allocations: 217 kB / 22.25 MB, free: 5.082 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.571/1.571, allocations: 230.6 MB / 256 MB, free: 8.023 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 3.06/3.06, allocations: 476.7 MB / 0.7707 GB, free: 4.27 MB / 0.6231 GB " [Timeout remaining time 176] 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.002233/0.002233, allocations: 65.86 kB / 1.117 GB, free: 39.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3494, allocations: 170 MB / 1.283 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.00217/0.3516, allocations: 0.5635 MB / 1.284 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002141/0.3537, allocations: 1.284 MB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.551e-05/0.3538, allocations: 4 kB / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000104/0.3539, allocations: 7.922 kB / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.819e-05/0.3539, allocations: 0 / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008617/0.3548, allocations: 292.1 kB / 1.285 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.3549, allocations: 79.8 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.259e-05/0.355, allocations: 8 kB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.696e-05/0.3551, allocations: 35.91 kB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.3552, allocations: 55.81 kB / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.711e-05/0.3552, allocations: 4 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000717/0.3559, allocations: 235.6 kB / 1.286 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.533e-05/0.356, allocations: 11.88 kB / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.3561, allocations: 31.91 kB / 1.286 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006329/0.3567, allocations: 262.9 kB / 1.286 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.3567, allocations: 4 kB / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3567, allocations: 0 / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.655e-06/0.3567, allocations: 7.938 kB / 1.286 GB, free: 8.703 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.0006621/0.3574, allocations: 371.3 kB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/0.3575, allocations: 8.031 kB / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.35e-05/0.3575, allocations: 106 kB / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.3577, allocations: 88.17 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.3579, allocations: 201.8 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.671e-05/0.358, allocations: 150.9 kB / 1.287 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.412e-05/0.3581, allocations: 166.9 kB / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.523e-05/0.3582, allocations: 104.9 kB / 1.287 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.209e-05/0.3582, allocations: 75.28 kB / 1.287 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.977e-05/0.3583, allocations: 154.6 kB / 1.288 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.081e-05/0.3583, allocations: 154.5 kB / 1.288 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.092e-05/0.3584, allocations: 154.6 kB / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004504/0.3589, allocations: 445 kB / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.359, allocations: 169.1 kB / 1.288 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.269e-05/0.359, allocations: 80.14 kB / 1.288 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.91e-05/0.3591, allocations: 79.22 kB / 1.289 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.5e-05/0.3591, allocations: 113.8 kB / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.3591, allocations: 0 / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001253/0.3593, allocations: 37.66 kB / 1.289 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.463e-05/0.3593, allocations: 126.7 kB / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.3595, allocations: 145.7 kB / 1.289 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/0.3596, allocations: 29.7 kB / 1.289 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.58e-05/0.3597, allocations: 92.14 kB / 1.289 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.905e-06/0.3597, allocations: 0 / 1.289 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.438e-05/0.3597, allocations: 45.69 kB / 1.289 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.3599, allocations: 318.8 kB / 1.289 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.36, allocations: 55.95 kB / 1.289 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.3602, allocations: 67.94 kB / 1.29 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.3603, allocations: 90.47 kB / 1.29 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.3603, allocations: 3.984 kB / 1.29 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004749/0.3608, allocations: 231.2 kB / 1.29 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.229e-05/0.3609, allocations: 49.75 kB / 1.29 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3609, allocations: 0 / 1.29 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.3609, allocations: 4 kB / 1.29 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.163e-06/0.3609, allocations: 0 / 1.29 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.3609, allocations: 3.984 kB / 1.29 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004348/0.3613, allocations: 31.8 kB / 1.29 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.118e-05/0.3614, allocations: 12 kB / 1.29 GB, free: 4.59 MB / 0.9825 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.0002102/0.3616, allocations: 197.1 kB / 1.29 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.3617, allocations: 120.8 kB / 1.29 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.396e-05/0.3618, allocations: 112.4 kB / 1.29 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.024e-05/0.3619, allocations: 184.2 kB / 1.291 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.521e-05/0.362, allocations: 180.2 kB / 1.291 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.591e-05/0.362, allocations: 180.4 kB / 1.291 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/0.3623, allocations: 396.3 kB / 1.291 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-05/0.3624, allocations: 108.9 kB / 1.291 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.736e-05/0.3624, allocations: 113 kB / 1.291 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.147e-05/0.3625, allocations: 176.3 kB / 1.292 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-05/0.3626, allocations: 180.3 kB / 1.292 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.26e-05/0.3627, allocations: 180.2 kB / 1.292 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.937e-05/0.3628, allocations: 184.3 kB / 1.292 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001821/0.3629, allocations: 311.7 kB / 1.292 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.92e-05/0.363, allocations: 108.9 kB / 1.293 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.838e-05/0.3631, allocations: 180.2 kB / 1.293 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.333e-05/0.3632, allocations: 109 kB / 1.293 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.814e-05/0.3633, allocations: 180.2 kB / 1.293 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.421e-05/0.3633, allocations: 105 kB / 1.293 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001125/0.3634, allocations: 110.2 kB / 1.293 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3634, allocations: 0 / 1.293 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005113/0.3639, allocations: 75.69 kB / 1.293 GB, free: 0.9766 MB / 0.9825 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.00183/0.3658, allocations: 1.04 MB / 1.294 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003503/0.3661, allocations: 155.3 kB / 1.294 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3661, allocations: 0 / 1.294 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.248e-06/0.3661, allocations: 0 / 1.294 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005044/0.3666, allocations: 461.9 kB / 1.295 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002363/0.369, allocations: 1.85 MB / 1.297 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004237/0.3694, allocations: 0.6807 MB / 1.297 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001022/0.3695, allocations: 55.8 kB / 1.297 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.519e-05/0.3695, allocations: 7.438 kB / 1.297 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of SimCode: time 9.42e-07/0.3695, allocations: 0 / 1.297 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04509/0.4146, allocations: 3.85 MB / 1.301 GB, free: 8.879 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: 7.648709726985544] Failed to read output from testmodel.py, exit status != 0: 1.3874793029390275 0.895886062 0.533414344 Calling exit ...