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.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.001252/0.001252, allocations: 108.2 kB / 16.46 MB, free: 6.035 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.001313/0.001313, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.471/1.471, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.171/3.171, allocations: 497.2 MB / 0.7811 GB, free: 33.71 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 66.92 kB / 1.134 GB, free: 33.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3853, allocations: 173.9 MB / 1.304 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.002254/0.3875, allocations: 0.5457 MB / 1.304 GB, free: 0.9922 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002221/0.3897, allocations: 1.207 MB / 1.306 GB, free: 15.78 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.533e-05/0.3898, allocations: 0 / 1.306 GB, free: 15.78 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.3899, allocations: 3.984 kB / 1.306 GB, free: 15.77 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.541e-05/0.39, allocations: 7.938 kB / 1.306 GB, free: 15.77 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008354/0.3908, allocations: 283.3 kB / 1.306 GB, free: 15.49 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001658/0.391, allocations: 71.86 kB / 1.306 GB, free: 15.42 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.88e-05/0.391, allocations: 4 kB / 1.306 GB, free: 15.41 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.606e-05/0.3911, allocations: 47.83 kB / 1.306 GB, free: 15.37 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.3912, allocations: 43.89 kB / 1.306 GB, free: 15.32 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.3912, allocations: 8 kB / 1.306 GB, free: 15.32 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005679/0.3918, allocations: 203.7 kB / 1.306 GB, free: 15.12 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.622e-05/0.3918, allocations: 19.81 kB / 1.306 GB, free: 15.1 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.066e-05/0.3919, allocations: 27.91 kB / 1.306 GB, free: 15.07 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005664/0.3924, allocations: 263.5 kB / 1.307 GB, free: 14.81 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3924, allocations: 0 / 1.307 GB, free: 14.81 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.445e-06/0.3924, allocations: 0 / 1.307 GB, free: 14.81 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.275e-05/0.3925, allocations: 4 kB / 1.307 GB, free: 14.81 MB / 1.014 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.0005849/0.393, allocations: 444.5 kB / 1.307 GB, free: 14.32 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.3931, allocations: 12.92 kB / 1.307 GB, free: 14.31 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.73e-05/0.3932, allocations: 110 kB / 1.307 GB, free: 14.19 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.87e-05/0.3933, allocations: 84.17 kB / 1.307 GB, free: 14.11 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.3935, allocations: 251.7 kB / 1.307 GB, free: 13.82 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.147e-05/0.3935, allocations: 154.9 kB / 1.308 GB, free: 13.67 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.497e-05/0.3936, allocations: 154.9 kB / 1.308 GB, free: 13.52 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.296e-05/0.3937, allocations: 104.9 kB / 1.308 GB, free: 13.41 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.589e-05/0.3938, allocations: 83.22 kB / 1.308 GB, free: 13.33 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.436e-05/0.3938, allocations: 154.6 kB / 1.308 GB, free: 13.18 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001154/0.394, allocations: 154.6 kB / 1.308 GB, free: 13.02 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.802e-05/0.394, allocations: 154.5 kB / 1.308 GB, free: 12.87 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003851/0.3944, allocations: 469.9 kB / 1.309 GB, free: 12.36 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.3945, allocations: 169.1 kB / 1.309 GB, free: 12.19 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.525e-05/0.3946, allocations: 88.06 kB / 1.309 GB, free: 12.1 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.272e-05/0.3946, allocations: 79.22 kB / 1.309 GB, free: 12.02 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.559e-05/0.3947, allocations: 105.8 kB / 1.309 GB, free: 11.91 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 1.453e-06/0.3947, allocations: 8 kB / 1.309 GB, free: 11.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 0.0001052/0.3948, allocations: 33.66 kB / 1.309 GB, free: 11.86 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.482e-05/0.3949, allocations: 126.7 kB / 1.309 GB, free: 11.72 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.3951, allocations: 152.2 kB / 1.31 GB, free: 11.57 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.3951, allocations: 25.7 kB / 1.31 GB, free: 11.54 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.046e-05/0.3952, allocations: 88.14 kB / 1.31 GB, free: 11.45 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.095e-06/0.3952, allocations: 4 kB / 1.31 GB, free: 11.44 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.815e-05/0.3952, allocations: 41.69 kB / 1.31 GB, free: 11.39 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.3954, allocations: 322.8 kB / 1.31 GB, free: 11.07 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.3955, allocations: 67.88 kB / 1.31 GB, free: 11 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.3956, allocations: 59.95 kB / 1.31 GB, free: 10.95 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.3958, allocations: 90.52 kB / 1.31 GB, free: 10.85 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3958, allocations: 0 / 1.31 GB, free: 10.85 MB / 1.014 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004461/0.3962, allocations: 231.2 kB / 1.31 GB, free: 10.61 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.283e-05/0.3963, allocations: 49.69 kB / 1.311 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.3963, allocations: 3.984 kB / 1.311 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.3963, allocations: 0 / 1.311 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.3963, allocations: 64 / 1.311 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.3963, allocations: 4 kB / 1.311 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003396/0.3966, allocations: 23.94 kB / 1.311 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.366e-05/0.3967, allocations: 19.98 kB / 1.311 GB, free: 10.5 MB / 1.014 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.3968, allocations: 205 kB / 1.311 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.792e-05/0.3969, allocations: 112.9 kB / 1.311 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.739e-05/0.397, allocations: 108.6 kB / 1.311 GB, free: 10.06 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.066e-05/0.3971, allocations: 192.2 kB / 1.311 GB, free: 9.863 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.872e-05/0.3972, allocations: 176.3 kB / 1.311 GB, free: 9.684 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.543e-05/0.3973, allocations: 188.2 kB / 1.311 GB, free: 9.492 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002826/0.3975, allocations: 405.2 kB / 1.312 GB, free: 9.039 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.666e-05/0.3976, allocations: 108.9 kB / 1.312 GB, free: 8.926 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.336e-05/0.3977, allocations: 108.9 kB / 1.312 GB, free: 8.812 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.753e-05/0.3978, allocations: 180.2 kB / 1.312 GB, free: 8.629 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001142/0.3979, allocations: 180.2 kB / 1.312 GB, free: 8.445 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.989e-05/0.398, allocations: 188.3 kB / 1.313 GB, free: 8.254 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.033e-05/0.3981, allocations: 176.3 kB / 1.313 GB, free: 8.074 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002828/0.3983, allocations: 315.7 kB / 1.313 GB, free: 7.742 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.3985, allocations: 190 kB / 1.313 GB, free: 7.531 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.3986, allocations: 176.3 kB / 1.313 GB, free: 7.352 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.3987, allocations: 101 kB / 1.314 GB, free: 7.246 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.3988, allocations: 192.1 kB / 1.314 GB, free: 7.051 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.276e-05/0.3989, allocations: 109 kB / 1.314 GB, free: 6.938 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001164/0.399, allocations: 107.2 kB / 1.314 GB, free: 6.832 MB / 1.014 GB Notification: Performance of sort global known variables: time 8.1e-08/0.399, allocations: 0 / 1.314 GB, free: 6.832 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004734/0.3995, allocations: 71.78 kB / 1.314 GB, free: 6.762 MB / 1.014 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.00425/0.4037, allocations: 1.031 MB / 1.315 GB, free: 5.777 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003688/0.4041, allocations: 155.3 kB / 1.315 GB, free: 5.613 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4041, allocations: 0 / 1.315 GB, free: 5.613 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 3.316e-06/0.4041, allocations: 0 / 1.315 GB, free: 5.613 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004596/0.4045, allocations: 463.6 kB / 1.316 GB, free: 5.156 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/0.4068, allocations: 1.856 MB / 1.317 GB, free: 3.215 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.4072, allocations: 0.6807 MB / 1.318 GB, free: 2.508 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001026/0.4073, allocations: 52 kB / 1.318 GB, free: 2.457 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.303e-05/0.4073, allocations: 7.438 kB / 1.318 GB, free: 2.449 MB / 1.014 GB Notification: Performance of SimCode: time 8.62e-07/0.4073, allocations: 0 / 1.318 GB, free: 2.449 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03235/0.4397, allocations: 3.741 MB / 1.322 GB, free: 14.77 MB / 1.029 GB Error: Error building simulator. Build log: cmd: cd 'Buildings_latest_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_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange/Buildings_latest_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 12.0.0-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_2/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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 \"Buildings_latest_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange/Buildings_latest_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: 7.347381446044892] Failed to read output from testmodel.py, exit status != 0: 0.8844740060158074 0.910870667 0.514040575 Calling exit ...